Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 131 for VALUE1 (0.17 sec)

  1. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/BaseTypeCodecTest.kt

            properties.setProperty("prop1", "value1")
            properties.setProperty("prop2", "value2")
            configurationCacheRoundtripOf(properties).run {
                assertThat(properties, equalTo(this))
            }
        }
    
        @Test
        fun `can handle Hashtable`() {
            val hashtable = Hashtable<String, Any>(100)
            hashtable.put("key1", "value1")
            hashtable.put("key2", true)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskParametersIntegrationTest.groovy

            "java.util.Collection<String>"        | "['value1', 'value2']"                                | "['value1'] as SortedSet"                                    | null
            "java.util.Set<String>"               | "['value1', 'value2'] as Set"                         | "['value1'] as Set"                                          | null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/attributes/DefaultAttributesSchemaTest.groovy

            def value1 = flavor('value')
            def value2 = flavor('otherValue')
    
            expect:
            schema.matcher().selectionSchema.matchValue(attr, value1, value2)
            !schema.matcher().selectionSchema.matchValue(attr, value2, value1)
    
            schema.matcher().isMatching(attr, value2, value1)
            !schema.matcher().isMatching(attr, value1, value2)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. pilot/pkg/config/kube/gateway/conversion_test.go

    									MatchType: &istio.StringMatch_Exact{
    										Exact: "value1",
    									},
    								},
    							},
    						},
    					},
    				},
    				{
    					Match: []*istio.HTTPMatchRequest{
    						{
    							Headers: map[string]*istio.StringMatch{
    								"header1": {
    									MatchType: &istio.StringMatch_Exact{
    										Exact: "value1",
    									},
    								},
    								"header2": {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 20:24:52 UTC 2024
    - 34.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/value/transformer_test.go

    	identityTransformer := PrefixTransformer{Prefix: []byte{}, Transformer: &testTransformer{from: []byte("value1")}}
    	identityTransformerErr := PrefixTransformer{Prefix: []byte{}, Transformer: &testTransformer{err: transformerErr}}
    	otherTransformer := PrefixTransformer{Prefix: []byte("other:"), Transformer: &testTransformer{from: []byte("value1")}}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 22:44:02 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  8. platforms/jvm/platform-jvm/src/test/groovy/org/gradle/api/java/archives/internal/DefaultManifestTest.groovy

            gradleManifest.getSections() == [section1: attributes + attributes2, section2: attributes3]
        }
    
        def clear() {
            gradleManifest.attributes(key1: 'value1')
            gradleManifest.attributes('section', key1: 'value1')
            gradleManifest.from(new DefaultManifest(Mock(FileResolver)))
    
            when:
            gradleManifest.clear()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  9. 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)
  10. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TaskBooleanOptionIntegrationTest.groovy

            given:
            file('buildSrc/src/main/java/SampleTask.java') << taskWithBooleanOptions()
            buildFile << sampleTask()
    
            when:
            run('sample', "--$option", "--no-$option")
    
            then:
            outputContains("Value of $option: $value1")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 11.4K bytes
    - Viewed (0)
Back to top