- Sort Score
- Result 10 results
- Languages All
Results 21 - 28 of 28 for testValue3 (0.52 sec)
-
platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseProjectIntegrationTest.groovy
assert '1.1' != it.targetCompatibility.toString() it.targetCompatibility = JavaVersion.toVersion('1.1') } withProperties { hooks << 'withProperties' it.dummy = 'testValue' } } } } eclipseJdt.doLast() { assert hooks == ['beforeMerged', 'whenMerged', 'withProperties'] } """ when: run "eclipse"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Aug 01 11:07:39 UTC 2023 - 18K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/printers/json_test.go
"k8s.io/apimachinery/pkg/util/json" "k8s.io/client-go/kubernetes/scheme" ) var testData = TestStruct{ TypeMeta: metav1.TypeMeta{APIVersion: "foo/bar", Kind: "TestStruct"}, Key: "testValue", Map: map[string]int{"TestSubkey": 1}, StringList: []string{"a", "b", "c"}, IntList: []int{1, 2, 3}, } type TestStruct struct { metav1.TypeMeta `json:",inline"`
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:12 UTC 2023 - 4K bytes - Viewed (0) -
src/internal/syscall/windows/registry/registry_test.go
return } if err != registry.ErrNotExist { t.Errorf("GetValue(%q) should return 'not exist' error, but got: %s", test.Name, err) return } } func testValues(t *testing.T, k registry.Key) { for _, test := range ValueTests { switch test.Type { case registry.SZ, registry.EXPAND_SZ: if test.WillFail { _, _, err := k.GetStringValue(test.Name)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 06 19:19:00 UTC 2024 - 18.5K bytes - Viewed (0) -
src/slices/iter_test.go
t.Errorf("at iteration %d got %d, %d want %d, %d", cnt, i, v, ei, ev) } ei-- ev-- cnt++ } if cnt != size { t.Errorf("read %d values expected %d", cnt, size) } } } func TestValues(t *testing.T) { for size := 0; size < 10; size++ { var s []int for i := range size { s = append(s, i) } ev := 0 cnt := 0 for v := range Values(s) { if v != ev {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 17:28:50 UTC 2024 - 5.7K bytes - Viewed (0) -
src/sync/atomic/value_test.go
// license that can be found in the LICENSE file. package atomic_test import ( "math/rand" "runtime" "strconv" "sync" "sync/atomic" . "sync/atomic" "testing" ) func TestValue(t *testing.T) { var v Value if v.Load() != nil { t.Fatal("initial Value is not nil") } v.Store(42) x := v.Load() if xx, ok := x.(int); !ok || xx != 42 { t.Fatalf("wrong value: got %+v, want 42", x)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 6.1K bytes - Viewed (0) -
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) -
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) -
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)