- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 7,321 for expect64 (0.18 sec)
-
staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/webhook/webhook_v1beta1_test.go
t.Errorf("Webhook returned HTTP %d, expected error=%v, but got error %v", testcase.code, testcase.expectError, err) } if serv.called != testcase.expectCalls { t.Errorf("Expected %d calls, got %d", testcase.expectCalls, serv.called) } if ok != testcase.expectOk { t.Errorf("Expected ok=%v, got %v", testcase.expectOk, ok) } }) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 18 00:47:42 UTC 2022 - 19.2K bytes - Viewed (0) -
pkg/test/framework/suite_test.go
ref := []OtherInterface{existing} err := act(&ref, tracked) g.Expect(err).To(BeNil()) g.Expect(ref).To(HaveLen(2)) g.Expect(existing).To(Equal(ref[0])) g.Expect(tracked).To(Equal(ref[1])) }) t.Run("non pointer ref", func(t *testing.T) { g := NewWithT(t) err := act(resource.FakeResource{}, &resource.FakeResource{}) g.Expect(err).NotTo(BeNil()) }) } func TestDeriveSuiteName(t *testing.T) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 11.5K bytes - Viewed (0) -
pkg/kubelet/container/testing/mock_runtime_cache.go
mock := &MockRuntimeCache{ctrl: ctrl} mock.recorder = &MockRuntimeCacheMockRecorder{mock} return mock } // EXPECT returns an object that allows the caller to indicate expected use. func (m *MockRuntimeCache) EXPECT() *MockRuntimeCacheMockRecorder { return m.recorder } // ForceUpdateIfOlder mocks base method.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 4K bytes - Viewed (0) -
operator/cmd/mesh/test-util_test.go
return fmt.Sprintf("Expected the following parseObjectSetFromManifest not to have path=value %s=%v\n\n%v", pv.path, pv.value, util.ToYAML(node)) } // HavePathValueMatchRegex matches map[string]interface{} tree against a PathValue. func HavePathValueMatchRegex(expected any) types.GomegaMatcher { return &HavePathValueMatchRegexMatcher{ expected: expected, } } // HavePathValueMatchRegexMatcher is a matcher type for HavePathValueMatchRegex.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 15.3K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/dependencyManagement/managingTransitiveDependencies-declaringCapabilities/tests/declaring-capabilities.sample.conf
flags: "--quiet" expected-output-file: dependencyReport.out expect-failure: false },{ executable: gradle args: "dependencyInsight --configuration compileClasspath --dependency log4j -Preplace" flags: "--quiet" expected-output-file: dependencyReportReplaced.out expect-failure: false
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 436 bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/filters/warning_test.go
} tests := []struct { name string args []args expect []string }{ { name: "empty", args: []args{}, expect: nil, }, { name: "empty values", args: []args{{agent: "", text: ""}}, expect: nil, }, { name: "empty agent", args: []args{{agent: "", text: "mytext"}}, expect: []string{`299 - "mytext"`}, }, { name: "simple",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 01 16:14:06 UTC 2020 - 4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/generic/registry/decorated_watcher_test.go
cancel() // expect the decorated channel to be closed select { case e, ok := <-dw.ResultChan(): if ok { t.Errorf("expected result chan closed, got %#v", e) } case <-time.After(wait.ForeverTestTimeout): t.Errorf("timeout after %v", wait.ForeverTestTimeout) } // expect the underlying watcher to have been stopped as a result of the context cancellation if !w.IsStopped() {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 02 19:25:31 UTC 2021 - 3.4K bytes - Viewed (0) -
pkg/kubelet/config/file_linux_test.go
t.Fatalf("expected %#v, Got %#v", expected, update) } case <-time.After(wait.ForeverTestTimeout): t.Fatalf("expected update, timeout instead") } } func TestReadPodsFromFileExistAlready(t *testing.T) { hostname := types.NodeName("random-test-hostname") var testCases = getTestCases(hostname) for _, testCase := range testCases { func() { dirName, err := mkTempDir("file-test") if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 14 09:38:23 UTC 2022 - 12.3K bytes - Viewed (0) -
pkg/config/schema/resource/schema_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 5.2K bytes - Viewed (0) -
cmd/signature-v4-utils_test.go
// extracted `expect` header. extractedExpect := extractedSignedHeaders.Get("expect") extractedTransferEncoding := extractedSignedHeaders.Get("transfer-encoding") if expectedHost != extractedHost { t.Errorf("host header mismatch: expected `%s`, got `%s`", expectedHost, extractedHost) } // assert the result with the expected value. if expectedContentSha256 != extractedContentSha256 {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Apr 05 21:26:41 UTC 2024 - 14.3K bytes - Viewed (0)