Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 116 for testvalues (0.14 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. src/context/x_test.go

    func (k key2) String() string { return fmt.Sprintf("%[1]T(%[1]d)", k) }
    
    var k1 = key1(1)
    var k2 = key2(1) // same int as k1, different type
    var k3 = key2(3) // same type as k2, different int
    
    func TestValues(t *testing.T) {
    	check := func(c Context, nm, v1, v2, v3 string) {
    		if v, ok := c.Value(k1).(string); ok == (len(v1) == 0) || v != v1 {
    			t.Errorf(`%s.Value(k1).(string) = %q, %t want %q, %t`, nm, v, ok, v1, len(v1) != 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          } catch (UnsupportedOperationException | NullPointerException e) {
            // Expected.
          }
        }
        assertInvariants(map);
      }
    
      public void testValues() {
        Map<K, V> map;
        Collection<V> valueCollection;
        try {
          map = makePopulatedMap();
        } catch (UnsupportedOperationException e) {
          return;
        }
        assertInvariants(map);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 45.9K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          } catch (UnsupportedOperationException | NullPointerException e) {
            // Expected.
          }
        }
        assertInvariants(map);
      }
    
      public void testValues() {
        Map<K, V> map;
        Collection<V> valueCollection;
        try {
          map = makePopulatedMap();
        } catch (UnsupportedOperationException e) {
          return;
        }
        assertInvariants(map);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 45.9K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  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. 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)
  10. 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)
Back to top