Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 70 for VALUE1 (0.16 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/internal/changedetection/state/TaskCustomTypesInputPropertyIntegrationTest.groovy

        inputs.property "someValue", new CustomType("value1")
        outputs.dir file("build/out")
        doLast ${Actions.name}.doNothing()
    }
    
    """
    
            given:
            run "someTask"
    
            when:
            run "someTask"
    
            then:
            skipped(":someTask")
    
            // Change to "equal" value
            when:
            buildFile.replace('new CustomType("value1")', 'new CustomType("value1 ignore me")')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 22 16:04:50 UTC 2022
    - 9.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/DefaultValueSnapshotterTest.groovy

            def instantiator = TestUtil.objectInstantiator()
            def value = instantiator.named(Thing, "value1")
            def value1 = instantiator.named(Thing, "value1")
            def value2 = instantiator.named(Thing, "value2")
            def value3 = instantiator.named(Named, "value1")
    
            expect:
            def snapshot = snapshotter.snapshot(value)
            snapshot instanceof ImmutableManagedValueSnapshot
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 29.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/MapPropertyIntegrationTest.groovy

                    expected = ['key1': 'value1', 'key2': 'value2']
                }
                """.stripIndent()
    
            expect:
            succeeds('verify')
    
            where:
            value                                                         | _
            "['key1': 'value1', 'key2': 'value2']"                        | _
            "new LinkedHashMap(['key1': 'value1', 'key2': 'value2'])"     | _
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 04 15:28:53 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  4. src/regexp/example_test.go

    		result = pattern.Expand(result, template, content, submatches)
    	}
    	fmt.Println(string(result))
    	// Output:
    	// option1=value1
    	// option2=value2
    	// option3=value3
    }
    
    func ExampleRegexp_ExpandString() {
    	content := `
    	# comment line
    	option1: value1
    	option2: value2
    
    	# another comment line
    	option3: value3
    `
    
    	// Regex pattern captures "key: value" pair from the content.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 00:22:53 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/cel/common/equality_test.go

    			RootObject: mustUnstructured(`
                    foo:
                    - key: key1
                      bar: value1
                    - key: key2
                      bar: value2
                `),
    			RootOldObject: mustUnstructured(`
                    foo:
                    - key: key1
                      bar: value1
                    - key: key2
                      bar: value2
                `),
    			KeyPath: []interface{}{"foo"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 13 21:36:46 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top