Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for test_value (0.17 sec)

  1. staging/src/k8s.io/apimachinery/pkg/test/apis_meta_v1_unstructed_unstructure_test.go

    				"creationTimestamp":          "2009-11-10T23:00:00Z",
    				"deletionTimestamp":          "2010-11-10T23:00:00Z",
    				"labels": map[string]interface{}{
    					"test_label": "test_value",
    				},
    				"annotations": map[string]interface{}{
    					"test_annotation": "test_value",
    				},
    				"ownerReferences": []interface{}{
    					map[string]interface{}{
    						"kind":       "Pod",
    						"name":       "poda",
    						"apiVersion": "v1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 05 20:12:50 UTC 2022
    - 17.3K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. src/mime/multipart/formdata_test.go

    	r := NewReader(b, boundary)
    	f, err := r.ReadForm(25)
    	if err != nil {
    		t.Fatal("ReadForm:", err)
    	}
    	defer f.RemoveAll()
    	if g, e := f.Value["texta"][0], textaValue; g != e {
    		t.Errorf("texta value = %q, want %q", g, e)
    	}
    	if g, e := f.Value["textb"][0], textbValue; g != e {
    		t.Errorf("texta value = %q, want %q", g, e)
    	}
    	fd := testFile(t, f.File["filea"][0], "filea.txt", fileaContents)
    	if _, ok := fd.(*os.File); ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 05 18:31:56 UTC 2024
    - 14K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go

    	testValues := []string{"100m", "1Gi"}
    	zero := MustParse("0")
    	for _, testValue := range testValues {
    		value := MustParse(testValue)
    		v1 := value.DeepCopy()
    		// ensure non-zero - zero = non-zero (suffix preserved)
    		v1.Sub(zero)
    		// ensure we preserved the input value
    		if v1.String() != testValue {
    			t.Errorf("Expected %v, actual %v", testValue, v1.String())
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  9. 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)
  10. test/typeparam/issue54225.go

    package main
    
    func main() {
    	One[TextValue]()
    }
    
    func One[V Value]() { Two[Node[V]]() }
    
    func Two[V interface{ contentLen() int }]() {
    	var v V
    	v.contentLen()
    }
    
    type Value interface {
    	Len() int
    }
    
    type Node[V Value] struct{}
    
    func (Node[V]) contentLen() int {
    	var value V
    	return value.Len()
    }
    
    type TextValue struct{}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 19 19:37:22 UTC 2022
    - 532 bytes
    - Viewed (0)
Back to top