Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 54 for VALUE1 (0.13 sec)

  1. platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/integtests/ApplicationIntegrationSpec.groovy

            file("build.gradle") << '''
    application.applicationDefaultJvmArgs = ['-Dvar1=value1', '-Dvar2=some value2']
    '''
            file('src/main/java/org/gradle/test/Main.java') << '''
    package org.gradle.test;
    
    class Main {
        public static void main(String[] args) {
            if (!"value1".equals(System.getProperty("var1"))) {
                throw new RuntimeException("Expected system property not specified");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 22:15:44 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/PropertyIntegrationTest.groovy

                }
            """
    
            when:
            run 'myTask', "-Pmy=value1"
            then:
            executedAndNotSkipped(":myTask")
            file("build/myTask.txt").text == "value1-prop"
    
            when:
            run 'myTask', "-Pmy=value1"
            then:
            skipped(":myTask")
            file("build/myTask.txt").text == "value1-prop"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  3. tests/preload_test.go

    			},
    			Join: Join{Value: "j2"},
    		},
    	}
    
    	values := []*Value{&value1, &value2}
    	if err := DB.Create(&values).Error; err != nil {
    		t.Errorf("failed to create value, got err: %v", err)
    	}
    
    	var find1 Value
    	err := DB.Joins("Nested").Joins("Nested.Join").Preload("Nested.Preloads").First(&find1, value1.ID).Error
    	if err != nil {
    		t.Errorf("failed to find value, got err: %v", err)
    	}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:00:47 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/DefaultIsolatableFactoryTest.groovy

            def value = instantiator.named(Thing, "value1")
    
            expect:
            def isolated = isolatableFactory.isolate(value)
            isolated instanceof IsolatedImmutableManagedValue
            isolated.isolate().is(value)
        }
    
        def "can coerce named managed type"() {
            def instantiator = TestUtil.objectInstantiator()
            def value = instantiator.named(Thing, "value1")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 17K bytes
    - Viewed (0)
  5. src/vendor/golang.org/x/crypto/cryptobyte/asn1.go

    	// encoded differently) and then every varint is a single byte long.
    	components := make([]int, len(bytes)+1)
    
    	// The first varint is 40*value1 + value2:
    	// According to this packing, value1 can take the values 0, 1 and 2 only.
    	// When value1 = 0 or value1 = 1, then value2 is <= 39. When value1 = 2,
    	// then there are no restrictions on value2.
    	var v int
    	if !bytes.readBase128Int(&v) {
    		return false
    	}
    	if v < 80 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/model/DefaultAttributeMatcherTest.groovy

            def candidate2 = attributes(usage: 'java-runtime-extra', status: 'integration')
            def candidate3 = attributes(usage: 'java-api-extra', status: 'integration', bundling: value1)
            def candidate4 = attributes(usage: 'java-runtime-extra', status: 'integration', bundling: value2)
            def requested = attributes(usage: 'java-api')
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 24.8K bytes
    - Viewed (0)
  7. cmd/bucket-lifecycle-handlers_test.go

    			accessKey:          creds.AccessKey,
    			secretKey:          creds.SecretKey,
    			body:               []byte(`<LifecycleConfiguration><Rule><ID>id</ID><Filter><Prefix>logs/</Prefix><Tag><Key>Key1</Key><Value>Value1</Value></Tag></Filter><Status>Enabled</Status><Expiration><Days>365</Days></Expiration></Rule></LifecycleConfiguration>`),
    			expectedRespStatus: http.StatusBadRequest,
    			lifecycleResponse:  []byte(``),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  8. pkg/volume/projected/projected_test.go

    					Name:      testPodName,
    					Namespace: testNamespace,
    					Annotations: map[string]string{
    						"a1": "value1",
    						"a2": "value2",
    					},
    					UID: testPodUID},
    			},
    			mode: 0644,
    			payload: map[string]util.FileProjection{
    				"annotation": {Data: []byte("value1"), Mode: 0644},
    			},
    			success: true,
    		},
    		{
    			name: "annotation-error",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 40.5K bytes
    - Viewed (0)
  9. platforms/core-configuration/input-tracking/src/test/groovy/org/gradle/internal/configuration/inputs/AccessTrackingPropertiesNonStringTest.groovy

            }
    
            then:
            0 * listener.onChange(_, _)
        }
    
        def "replaceAll() uses reference equality for non-primitives"() {
            def value1 = [1]
            def value2 = [1]
    
            def map = getMapUnderTestToWrite(value: value1)
            when:
            map.replaceAll { k, v ->
                return value2
            }
    
            then:
            1 * listener.onChange("value", value2)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Nov 11 00:37:04 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/NestedInputIntegrationTest.groovy

        def "duplicate names in nested iterable are allowed"() {
            buildFile << taskWithNestedInput()
            buildFile << namedBeanClass()
            buildFile << """
                myTask.nested = [new NamedBean('name', 'value1'), new NamedBean('name', 'value2')]
            """
    
            expect:
            succeeds "myTask"
        }
    
        def "nested Provider is unpacked"() {
            buildFile << taskWithNestedInput()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 42.6K bytes
    - Viewed (0)
Back to top