- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 1,185 for expectGet (0.32 sec)
-
android/guava-tests/test/com/google/common/math/BigIntegerMathTest.java
BigIntegerMath.divide(p, ZERO, mode); fail("Expected ArithmeticException"); } catch (ArithmeticException expected) { } } } } public void testFactorial() { BigInteger expected = BigInteger.ONE; for (int i = 1; i <= 200; i++) { expected = expected.multiply(BigInteger.valueOf(i)); assertEquals(expected, BigIntegerMath.factorial(i)); } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 17 17:58:33 UTC 2024 - 27.8K bytes - Viewed (0) -
pilot/pkg/xds/pushqueue_test.go
}() select { case <-done: t.Fatalf("Expected timeout") case <-time.After(time.Millisecond * 500): } } func ExpectDequeue(t *testing.T, p *PushQueue, expected *Connection) { t.Helper() result := make(chan *Connection, 1) go func() { con, _, _ := p.Dequeue() result <- con }() select { case got := <-result: if got != expected { t.Fatalf("Expected proxy %v, got %v", expected, got) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 00:26:45 UTC 2024 - 8.8K bytes - Viewed (0) -
pkg/controller/deployment/progress_test.go
ctx, cancel := context.WithCancel(ctx) defer cancel() got := dc.requeueStuckDeployment(ctx, test.d, test.status) if got != test.expected { t.Errorf("%s: got duration: %v, expected duration: %v", test.name, got, test.expected) } }) } } func TestSyncRolloutStatus(t *testing.T) { pds := int32(60) testTime := metav1.Date(2017, 2, 15, 18, 49, 00, 00, time.UTC)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 13.3K bytes - Viewed (0) -
pkg/api/persistentvolume/util_test.go
template *api.PersistentVolume expected []string }{ { name: "null", template: nil, expected: nil, }, { name: "no warning", template: &api.PersistentVolume{ ObjectMeta: metav1.ObjectMeta{ Name: "foo", }, Status: api.PersistentVolumeStatus{ Phase: api.VolumeBound, }, }, expected: nil, }, { name: "warning",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 8.9K bytes - Viewed (0) -
istioctl/pkg/injector/injector-list_test.go
"istio-injection": "enabled", }), } client := kube.NewFakeClient(nss...) expected := sets.New[string]("default", "no-ambient") actual, err := getNamespaces(context.TODO(), client, "istio-system") assert.NoError(t, err) for _, ns := range actual { assert.Equal(t, true, expected.Contains(ns.Name)) } } func Test_injectionDisabled(t *testing.T) { cases := []struct {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 04:33:57 UTC 2024 - 5.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v2/tf_dialect_to_executor_test.cc
std::string module_dump; llvm::raw_string_ostream raw_stream(module_dump); mlir_module_->print(raw_stream); EXPECT_EQ(compilation_status.Delta(kExportSuccess), 1); EXPECT_EQ(compilation_status.Delta(kExportFailed), 0); EXPECT_EQ( CountSubstring(module_dump, "tf_executor.island wraps \"tf.Concat\""), 2); } } // namespace } // namespace v2 } // namespace tf2xla
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 13 23:22:50 UTC 2024 - 4.4K bytes - Viewed (0) -
cmd/object_api_suite_test.go
t.Errorf("%s: Expected the object name to be `%s`, but instead found `%s`", instanceType, "newPrefix", result.Objects[0].Name) } if result.Objects[1].Name != "newPrefix2" { t.Errorf("%s: Expected the object name to be `%s`, but instead found `%s`", instanceType, "newPrefix", result.Objects[1].Name) } if result.Objects[2].Name != "obj0" {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:50:49 UTC 2024 - 33.4K bytes - Viewed (0) -
platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/tasks/testing/TestFailure.java
* @param failure the assertion failure * @param expected the expected value for the failure; can be {@code null} * @param actual the actual value for the failure; can be {@code null} * @return the new instance */ public static TestFailure fromTestAssertionFailure(Throwable failure, String expected, String actual) { return fromTestAssertionFailure(failure, expected, actual, null); } /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 13 20:33:30 UTC 2024 - 3.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableListTest.java
try { builder.add((String) null); fail("expected NullPointerException"); } catch (NullPointerException expected) { } try { builder.add((String[]) null); fail("expected NullPointerException"); } catch (NullPointerException expected) { } try { builder.add("a", null, "b"); fail("expected NullPointerException");
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 17 15:27:58 UTC 2024 - 23.2K 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)