Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for testValue (0.21 sec)

  1. plugin/pkg/admission/podtolerationrestriction/admission_test.go

    			podTolerations:            []api.Toleration{{Key: "testKey", Operator: "Equal", Value: "testValue1", Effect: "NoSchedule"}},
    			mergedTolerations:         []api.Toleration{{Key: "testKey", Operator: "Equal", Value: "testValue", Effect: "NoSchedule"}, {Key: "testKey", Operator: "Equal", Value: "testValue1", Effect: "NoSchedule"}},
    			admit:                     true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 16K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/test/groovy/org/gradle/external/javadoc/internal/StringJavadocOptionFileOptionTest.groovy

            0 * writerContextMock._
        }
    
        def testWriteNoneNullValue() throws IOException {
            final String testValue = "testValue"
            stringOption.setValue(testValue)
    
            when:
            stringOption.write(writerContextMock)
    
            then:
            1 * writerContextMock.writeValueOption(optionName, testValue)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/cel/value_test.go

    	}
    }
    
    func TestListValueContainsNestedList(t *testing.T) {
    	lvA := NewListValue()
    	lvA.Append(testValue(t, 1, int64(1)))
    	lvA.Append(testValue(t, 2, int64(2)))
    
    	lvB := NewListValue()
    	lvB.Append(testValue(t, 3, int64(3)))
    
    	elemA, elemB := testValue(t, 4, lvA), testValue(t, 5, lvB)
    	lv := NewListValue()
    	lv.Append(elemA)
    	lv.Append(elemB)
    
    	contained := lv.Contains(elemA.ExprValue())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 10 22:05:55 UTC 2022
    - 10.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/model/types_test.go

    	name := apiservercel.NewField(1, "name")
    	name.Ref = testValue(t, 2, "test-instance")
    	nestedVal := apiservercel.NewMapValue()
    	flags := apiservercel.NewField(5, "flags")
    	flagsVal := apiservercel.NewMapValue()
    	myFlag := apiservercel.NewField(6, "my_flag")
    	myFlag.Ref = testValue(t, 7, true)
    	flagsVal.AddField(myFlag)
    	flags.Ref = testValue(t, 8, flagsVal)
    	dates := apiservercel.NewField(9, "dates")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 08 15:52:31 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  5. platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/integtests/ApplicationIntegrationSpec.groovy

        public static void main(String[] args) {
            if (!"${testValue}".equals(System.getProperty("testValue"))) {
                throw new RuntimeException("Unexpected value: testValue=" + System.getProperty("testValue"));
            }
            if (!"${testValue2}".equals(System.getProperty("testValue2"))) {
                throw new RuntimeException("Unexpected value: testValue2=" + System.getProperty("testValue2"));
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 22:15:44 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  6. platforms/jvm/language-java/src/test/groovy/org/gradle/external/javadoc/internal/FileJavadocOptionFileOptionTest.groovy

        }
    
        def testWriteNonNullValue() throws IOException {
            final File testValue = new File("dummyTestFileValue")
            fileOption.setValue(testValue)
    
            when:
            fileOption.write(writerContextMock)
    
            then:
            1 * writerContextMock.writeValueOption(optionName, testValue.absolutePath)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. src/os/env_test.go

    			}
    		}
    	}(Environ())
    
    	if err := Setenv(testKey, testValue); err != nil {
    		t.Fatalf("Setenv(%q, %q) failed: %v", testKey, testValue, err)
    	}
    	if _, ok := LookupEnv(testKey); !ok {
    		t.Errorf("Setenv(%q, %q) didn't set $%s", testKey, testValue, testKey)
    	}
    	Clearenv()
    	if val, ok := LookupEnv(testKey); ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 04 15:31:54 UTC 2023
    - 5K bytes
    - Viewed (0)
  8. platforms/jvm/scala/src/test/groovy/org/gradle/api/tasks/scala/BaseScalaOptionTest.groovy

            } else {
                assert value(fixture.antProperty) == fixture.defaultValue
            }
            when:
            testObject."${fixture.fieldName}" = fixture.testValue
            then:
            value(fixture.antProperty) == fixture.testValue
            where:
            fixture << stringProperties()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 3K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/internal/operations/notify/BuildOperationNotificationFixture.groovy

                for (String key : present) {
                    if (!testValue(expectedPayload[key], actualPayload[key])) {
                        return false
                    }
                }
                true
            } as Predicate
        }
    
        private static boolean testValue(expectedValue, actualValue) {
            if (expectedValue instanceof Closure) {
                expectedValue.call(actualValue)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 20 11:47:00 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  10. pkg/registry/core/componentstatus/rest_test.go

    	r := NewTestREST(testResponse{result: probe.Success, data: "ok"})
    	opts := metainternalversion.ListOptions{
    		LabelSelector: labels.SelectorFromSet(map[string]string{
    			"testLabel": "testValue",
    		}),
    	}
    	got, err := r.List(genericapirequest.NewContext(), &opts)
    	if err != nil {
    		t.Fatalf("Unexpected error: %v", err)
    	}
    	expect := &api.ComponentStatusList{
    		Items: []api.ComponentStatus{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 13 08:10:29 UTC 2023
    - 5.3K bytes
    - Viewed (0)
Back to top