Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for test_value (0.32 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  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. test/fixedbugs/issue9604b.go

    	for _, t := range types {
    		for _, n := range t.testvalues() {
    			fmt.Printf("var %s_%s %s = %d\n", t.name, valname(n), t.name, n)
    		}
    	}
    
    	fmt.Println("func main() {")
    
    	for _, t := range types {
    		// test binary ops
    		for _, op := range binops {
    			for _, x := range t.testvalues() {
    				for _, y := range t.testvalues() {
    					if (op.name == "/" || op.name == "%") && y.Sign() == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/runtime/helper.go

    		return fmt.Errorf("couldn't find %v field in %T", fieldName, v.Interface())
    	}
    	destValue, err := conversion.EnforcePtr(dest)
    	if err != nil {
    		return err
    	}
    	if field.Type().AssignableTo(destValue.Type()) {
    		destValue.Set(field)
    		return nil
    	}
    	if field.Type().ConvertibleTo(destValue.Type()) {
    		destValue.Set(field.Convert(destValue.Type()))
    		return nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 13 22:54:34 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  9. 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)
  10. statement.go

    			destValue := reflect.ValueOf(stmt.Dest)
    			for destValue.Kind() == reflect.Ptr {
    				destValue = destValue.Elem()
    			}
    
    			if stmt.ReflectValue != destValue {
    				if !destValue.CanAddr() {
    					destValueCanAddr := reflect.New(destValue.Type())
    					destValueCanAddr.Elem().Set(destValue)
    					stmt.Dest = destValueCanAddr.Interface()
    					destValue = destValueCanAddr.Elem()
    				}
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 19.8K bytes
    - Viewed (0)
Back to top