- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 221 for expectGet (0.13 sec)
-
tensorflow/compiler/jit/deadness_analysis_test.cc
// produce the same deadness. But we're not that smart today. EXPECT_EQ(predicate_map[ControlOutputFor(iv0)], "{#true,&,*iv0/cond:0}<fr0>"); EXPECT_EQ(predicate_map[ControlOutputFor(iv1)], "{#true,&,*iv1/cond:0}<fr0>"); EXPECT_EQ(predicate_map[ControlOutputFor(iv2)], "{#true,&,*iv2/cond:0}<fr0>"); EXPECT_EQ(predicate_map[ControlOutputFor(add0)],
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 06:59:07 UTC 2024 - 51.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsTest.java
} catch (UnsupportedOperationException expected) { } try { unmod.replaceAll((k, v) -> v); fail("UnsupportedOperationException expected"); } catch (UnsupportedOperationException expected) { } try { unmod.putIfAbsent(3, "three"); fail("UnsupportedOperationException expected"); } catch (UnsupportedOperationException expected) { }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 17 15:27:58 UTC 2024 - 67.1K bytes - Viewed (0) -
pkg/controller/volume/attachdetach/cache/actual_state_of_world_test.go
t.Fatalf("RemoveVolumeFromReportAsAttached failed. Expected: <no error> Actual: <%v>", markDesireToDetachErr) } if addErr != nil { t.Fatalf("AddVolumeNode failed. Expected: <no error> Actual: <%v>", addErr) } // Assert attachedVolumes := asw.GetAttachedVolumes() if len(attachedVolumes) != 1 { t.Fatalf("len(attachedVolumes) Expected: <1> Actual: <%v>", len(attachedVolumes)) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 11 07:35:17 UTC 2024 - 66.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SetsTest.java
Set<Set<Integer>> expected = newHashSet(); expected.add(ImmutableSet.<Integer>of()); expected.add(ImmutableSet.of(1)); expected.add(ImmutableSet.of(2)); expected.add(ImmutableSet.of(3)); expected.add(ImmutableSet.of(1, 2)); expected.add(ImmutableSet.of(1, 3)); expected.add(ImmutableSet.of(2, 3)); expected.add(ImmutableSet.of(1, 2, 3));
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 17 15:27:58 UTC 2024 - 49.2K bytes - Viewed (0) -
pkg/apis/core/v1/defaults_test.go
} assertImagePullPolicy := func(got, expected *v1.Container) error { if got.ImagePullPolicy != expected.ImagePullPolicy { return fmt.Errorf("different image pull policy: got <%v>, expected <%v>", got.ImagePullPolicy, expected.ImagePullPolicy) } return nil } assertContainerPort := func(got, expected *v1.Container) error { if len(got.Ports) != len(expected.Ports) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 84.4K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go
t.Errorf("expected %v, got %v", e, a) } } } // TestQuantityParseZero ensures that when a 0 quantity is passed, its string value is 0 func TestQuantityParseZero(t *testing.T) { zero := MustParse("0") if expected, actual := "0", zero.String(); expected != actual { t.Errorf("Expected %v, actual %v", expected, actual) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:10 UTC 2024 - 49.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
} catch (NoSuchElementException expected) { } } public void testGetOnlyElement_noDefault_moreThanOneLessThanFiveElements() { Iterator<String> iterator = asList("one", "two").iterator(); try { Iterators.getOnlyElement(iterator); fail(); } catch (IllegalArgumentException expected) { assertThat(expected).hasMessageThat().isEqualTo("expected one element but was: <one, two>"); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 03 13:01:51 UTC 2024 - 55.7K bytes - Viewed (0) -
cmd/object-api-multipart_test.go
} // Failed as expected, but does it fail for the expected reason. if actualErr != nil && !testCase.shouldPass { if testCase.expectedError.Error() != actualErr.Error() { t.Errorf("Test %d: %s: Expected to fail with error \"%s\", but instead failed with error \"%s\" instead.", i+1, instanceType, testCase.expectedError.Error(), actualErr.Error()) } } // Test passes as expected, but the output values are verified for correctness here.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 77.1K bytes - Viewed (0) -
pilot/pkg/networking/core/listener_test.go
if expected := 1; len(listeners) != expected { t.Fatalf("expected %d listeners, found %d", expected, len(listeners)) } l := findListenerByPort(listeners, 15080) if l == nil { t.Fatalf("expected listener on port %d, but not found", 15080) } if len(l.FilterChains) != 1 { t.Fatalf("expected %d filter chains, found %d", 1, len(l.FilterChains)) } else {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 93.6K bytes - Viewed (0) -
pilot/pkg/model/virtualservice_test.go
leaf: &networking.HTTPMatchRequest{ Gateways: []string{"ingress-gateway", "mesh"}, }, expected: true, }, } for _, tc := range cases { t.Run(tc.name, func(t *testing.T) { got := hasConflict(tc.root, tc.leaf) if got != tc.expected { t.Errorf("got %v, expected %v", got, tc.expected) } }) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 60.6K bytes - Viewed (0)