Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 64 for VALUE1 (0.09 sec)

  1. subprojects/core/src/test/groovy/org/gradle/execution/commandline/CommandLineTaskConfigurerSpec.groovy

            then:
            task.someFlag
        }
    
        def "configures enum option"() {
            when:
            configurer.configureTasks([task], ['--someEnum', "value1"])
            then:
            task.anEnum == TestEnum.value1
    
            when:
            configurer.configureTasks([task], ['--someEnum', "unsupportedEnumValue"])
            then:
            def e = thrown(TaskConfigurationException)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 09 09:06:36 UTC 2020
    - 6.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/testing/webhook_server.go

    		w.Header().Set("Content-Type", "application/json")
    		json.NewEncoder(w).Encode(&v1beta1.AdmissionReview{
    			Response: &v1beta1.AdmissionResponse{
    				Allowed: true,
    				AuditAnnotations: map[string]string{
    					"key1": "value1",
    				},
    			},
    		})
    	case "/removeLabel":
    		w.Header().Set("Content-Type", "application/json")
    		pt := v1beta1.PatchTypeJSONPatch
    		json.NewEncoder(w).Encode(&v1beta1.AdmissionReview{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 15 11:11:25 UTC 2021
    - 6.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/stream/StreamUtilTest.java

    import java.util.HashMap;
    import java.util.Map;
    
    import junit.framework.TestCase;
    
    public class StreamUtilTest extends TestCase {
    
        public void test_ofValues() {
            String[] values = { "value1", "value2" };
            StreamUtil.stream(values[0], values[1]).of(s -> {
                Object[] array = s.toArray();
                for (int i = 0; i < 2; i++) {
                    assertEquals(values[i], array[i]);
                }
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultAntBuilderTest.groovy

            ant = new DefaultAntBuilder(project, loggingAdapter)
        }
    
        def "ant properties are available as properties of builder"() {
            when:
            ant.property(name: 'prop1', value: 'value1')
    
            then:
            ant.prop1 == 'value1'
    
            when:
            ant.prop2 = 'value2'
    
            then:
            ant.antProject.properties.prop2 == 'value2'
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 11 16:17:40 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/extensibility/ConventionAwareHelperTest.java

                    return toList("a");
                }
            });
    
            Object value1 = conventionAware.getConventionValue(null, "list1", false);
            Object value2 = conventionAware.getConventionValue(null, "list1", false);
            assertEquals(value1, value2);
            assertNotSame(value1, value2);
        }
    
        @Test public void doesNotUseMappingWhenExplicitValueProvided() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  6. security/tools/jwt/README.md

      -sub SUB, --sub SUB   sub claim. If not provided, it is set to the same as
                            iss claim.
      -claims CLAIMS, --claims CLAIMS
                            Other claims in format name1:value1,name2:value2 etc.
                            Only string values are supported.
    ```
    
    ## Example
    
    Here is an example of using sa-jwt.py to generate a JWT token.
    
    ```bash
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Sep 14 20:15:07 UTC 2019
    - 1.9K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelSourceFolderClasspathAttributesCrossVersionSpec.groovy

                   classpath {
                       file {
                           whenMerged { classpath ->
                               classpath.entries.find { it.kind == 'src' && it.path == 'src/main/java' }.entryAttributes.key1 = 'value1'
                               classpath.entries.find { it.kind == 'src' && it.path == 'src/main/java' }.entryAttributes.key2 = 'value2'
                           }
                       }
                   }
               }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. operator/pkg/name/name_test.go

    		mm   ManifestMap
    		want map[string]string
    	}{
    		{
    			name: "consolidate output from manifest map",
    			mm: ManifestMap{
    				"key1": []string{"value1", "value2"},
    				"key2": []string{},
    			},
    			want: map[string]string{
    				"key1": "value1\n---\nvalue2\n---\n",
    				"key2": "",
    			},
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 05 14:08:11 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  9. internal/bucket/lifecycle/filter_test.go

    								<Key>key1</Key>
    								<Value>value1</Value>
    							</Tag>
    							<Tag>
    								<Key>key2</Key>
    								<Value>value2</Value>
    							</Tag>
    							</And>
    						</Filter>`,
    			expectedErr: nil,
    		},
    		{ // Filter with And and multiple Tag tags
    			inputXML: ` <Filter>
    							<And>
    							<Prefix></Prefix>
    							<Tag>
    								<Key>key1</Key>
    								<Value>value1</Value>
    							</Tag>
    							<Tag>
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 27 00:01:20 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. testing/internal-testing/src/test/groovy/org/gradle/test/precondition/PredicateFileTest.groovy

            ["value1"] as Set,
            // Value shared between single and multi cases
            ["value2"] as Set,
            ["value2", "value3"] as Set,
        ] as Set
    
        def "accept single values"() {
            when:
            checkValidCombinations([value])
    
            then:
            noExceptionThrown()
    
            where:
            value << ["value1", "value2"]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top