Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 70 for VALUE1 (0.09 sec)

  1. 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)
  2. pkg/controller/controller_utils_test.go

    				Existing: []*v1.Node{
    					{
    						ObjectMeta: metav1.ObjectMeta{
    							Name: "node1",
    						},
    						Spec: v1.NodeSpec{
    							Taints: []v1.Taint{
    								{Key: "key1", Value: "value1", Effect: "NoSchedule"},
    								{Key: "key2", Value: "value2", Effect: "NoExecute"},
    							},
    						},
    					},
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  3. tests/scanner_valuer_test.go

    		Bytes:    []byte("byte"),
    		Num:      18,
    		Strings:  StringsSlice{"a", "b", "c"},
    		Structs: StructsSlice{
    			{"name1", "value1"},
    			{"name2", "value2"},
    		},
    		Role:             Role{Name: "admin"},
    		ExampleStruct:    ExampleStruct{"name", "value1"},
    		ExampleStructPtr: &ExampleStruct{"name", "value2"},
    	}
    
    	if err := DB.Create(&data).Error; err != nil {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 07 07:02:07 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  4. 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)
  5. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/testing/testcase.go

    				ObjectSelector:          &metav1.LabelSelector{},
    				AdmissionReviewVersions: []string{"v1beta1"},
    			}},
    			ExpectAllow:       true,
    			ExpectAnnotations: map[string]string{"allow.example.com/key1": "value1"},
    		},
    		{
    			Name: "match & disallow",
    			Webhooks: []registrationv1.ValidatingWebhook{{
    				Name:                    "disallow",
    				ClientConfig:            ccfgSVC("disallow"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 03 06:51:04 UTC 2023
    - 47.6K bytes
    - Viewed (0)
  6. 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)
  7. pkg/volume/downwardapi/downwardapi_test.go

    		t.Skip("Skipping test that fails on Windows")
    	}
    
    	labels1 := map[string]string{
    		"key1": "value1",
    		"key2": "value2",
    	}
    	labels2 := map[string]string{
    		"key1": "value1",
    		"key2": "value2",
    		"key3": "value3",
    	}
    	annotations := map[string]string{
    		"a1":        "value1",
    		"a2":        "value2",
    		"multiline": "c\nb\na",
    	}
    	testCases := []struct {
    		name           string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 04:48:49 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  8. tests/preload_suits_test.go

    		t.Error(err)
    	}
    
    	want := make([]Level3, 2)
    	want[0] = Level3{
    		Level2: Level2{
    			Level1s: []Level1{
    				{Value: "value1"},
    				{Value: "value2"},
    			},
    		},
    		Level2_1: Level2_1{
    			Level1s: []Level1{
    				{
    					Value:   "value1-1",
    					Level0s: []Level0{{Value: "Level0-1"}},
    				},
    				{
    					Value:   "value2-2",
    					Level0s: []Level0{{Value: "Level0-2"}},
    				},
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Mar 18 05:38:46 UTC 2022
    - 30.3K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top