- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 372 for expectGet (0.62 sec)
-
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/dispatcher_test.go
config string webhook string mutated bool expected string }{ { config: "test-config", webhook: "test-webhook", mutated: true, expected: `{"configuration":"test-config","webhook":"test-webhook","mutated":true}`, }, { config: "test-config", webhook: "test-webhook", mutated: false, expected: `{"configuration":"test-config","webhook":"test-webhook","mutated":false}`,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 4.3K bytes - Viewed (0) -
cmd/kubeadm/test/kubeconfig/util.go
t.Errorf("kubeconfig.currentCluster.CertificateAuthorityData not correspond to the expected CA cert") } } // AssertKubeConfigCurrentAuthInfoWithClientCert is a utility function for kubeadm testing that asserts if the CurrentAuthInfo in // the given KubeConfig object contains a clientCert that refers to a specific client name, is signed by the expected CA, includes the expected organizations
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 4.9K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiKotlinDslIntegrationTest.groovy
static void checkKotlinDslScriptsModel(actual, expected) { assert expected instanceof KotlinDslScriptsModel assert actual instanceof KotlinDslScriptsModel checkModel(actual, expected, [ [{ it.scriptModels }, { a, e -> checkKotlinDslScriptModel(a, e) }] ]) } static void checkKotlinDslScriptModel(actual, expected) { assert expected instanceof KotlinDslScriptModel
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 3.2K bytes - Viewed (0) -
platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/DefaultTestFailureDetails.java
return false; } if (stacktrace != null ? !stacktrace.equals(that.stacktrace) : that.stacktrace != null) { return false; } if (expected != null ? !expected.equals(that.expected) : that.expected != null) { return false; } if (actual != null ? !actual.equals(that.actual) : that.actual != null) { return false; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 13 20:33:30 UTC 2024 - 4.6K bytes - Viewed (0) -
pkg/util/tail/tail_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 30 13:13:22 UTC 2024 - 2.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/filterlatency/filterlatency_test.go
wrapped.ServeHTTP(w, testRequest) if callCount != 1 { t.Errorf("expected the given handler to be invoked once, but was actually invoked %d times", callCount) } if filterRecord == nil { t.Fatal("expected a filter record in the request context, but got nil") } if filterName != filterRecord.name { t.Errorf("expected filter name=%s but got=%s", filterName, filterRecord.name) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 17:57:37 UTC 2024 - 7.1K bytes - Viewed (0) -
cmd/net_test.go
switch { case testCase.expectedErr == nil: if err != nil { t.Fatalf("error: expected = <nil>, got = %v", err) } case err == nil: t.Fatalf("error: expected = %v, got = <nil>", testCase.expectedErr) case testCase.expectedErr.Error() != err.Error(): t.Fatalf("error: expected = %v, got = %v", testCase.expectedErr, err) } if testCase.expectedIPList != nil { var found bool
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Apr 19 08:43:09 UTC 2024 - 9.3K bytes - Viewed (0) -
src/net/lookup_windows_test.go
} if len(names) == 0 { t.Errorf("no results") } expected, err := lookupPTR(addr.String()) if err != nil { t.Skipf("skipping failed lookup %s test: %s", addr.String(), err) } slices.Sort(expected) slices.Sort(names) if !reflect.DeepEqual(expected, names) { t.Errorf("different results %s:\texp:%v\tgot:%v", addr, toJson(expected), toJson(names)) } } func TestLookupPTR(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 8.7K 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/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)