- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 7,815 for expect2 (0.16 sec)
-
pkg/kubelet/pleg/generic_test.go
} return a[i].Data.(string) < a[j].Data.(string) } func verifyEvents(t *testing.T, expected, actual []*PodLifecycleEvent) { sort.Sort(sortableEvents(expected)) sort.Sort(sortableEvents(actual)) if !reflect.DeepEqual(expected, actual) { t.Errorf("Actual events differ from the expected; diff:\n %v", cmp.Diff(expected, actual)) } } func TestRelisting(t *testing.T) { testPleg := newTestGenericPLEG()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 24.8K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/printers/template_test.go
} if expected, ok := test.expectErr(err); !ok { t.Errorf("[%s]expect:\n %v\n but got:\n %v\n", test.name, expected, err) } return } if test.expectErr != nil { t.Errorf("[%s]expect:\n error\n but got:\n no error\n", test.name) return } if test.expectOut != buffer.String() { t.Errorf("[%s]expect:\n %v\n but got:\n %v\n", test.name, test.expectOut, buffer.String()) } }) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 22 23:10:00 UTC 2019 - 7.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/MapPropertyIntegrationTest.groovy
} '''.stripIndent() expect: succeeds('verify') } def "has no value when providing a null map to a map property"() { given: buildFile << ''' verify { prop.putAll(project.provider { null }) expected = null } '''.stripIndent() expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 04 15:28:53 UTC 2024 - 24.5K bytes - Viewed (0) -
pkg/kubelet/status/testing/mock_pod_status_provider.go
func NewMockPodManager(ctrl *gomock.Controller) *MockPodManager { mock := &MockPodManager{ctrl: ctrl} mock.recorder = &MockPodManagerMockRecorder{mock} return mock } // EXPECT returns an object that allows the caller to indicate expected use. func (m *MockPodManager) EXPECT() *MockPodManagerMockRecorder { return m.recorder } // GetMirrorPodByPod mocks base method. func (m *MockPodManager) GetMirrorPodByPod(arg0 *v1.Pod) (*v1.Pod, bool) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 15.4K 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) -
tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc
if (!num_outs) return switchn.emitOpError() << "expects a `num_outs` integer attribute"; // Expect num_outs results + 1 control output. if (switchn.getNumResults() != num_outs.getInt() + 1) return switchn.emitOpError() << "expect `num_outs` (" << num_outs.getInt() << ") results but got " << (switchn.getNumResults() - 1);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 42.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/generic/registry/decorated_watcher_test.go
}() expectErrorEvent(t, dw) // expect error is plumbed and doesn't force close the watcher expectPodEvent(t, dw, watch.Added) expectErrorEvent(t, dw) // expect error is plumbed and doesn't force close the watcher expectPodEvent(t, dw, watch.Modified) expectErrorEvent(t, dw) // expect error is plumbed and doesn't force close the watcher expectPodEvent(t, dw, watch.Deleted)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 02 19:25:31 UTC 2021 - 3.4K bytes - Viewed (0) -
platforms/ide/ide-native/src/test/groovy/org/gradle/ide/xcode/internal/XcodePropertyAdapterTest.groovy
expectProperty("org.gradle.internal.xcode.bridge.ACTION", "myaction") expect: xcodePropertyAdapter.action == "" // default value xcodePropertyAdapter.action == "myaction" } def "getProductName"() { expectProperty("org.gradle.internal.xcode.bridge.PRODUCT_NAME", "myproduct") expect: xcodePropertyAdapter.productName == "" // default value
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 2.5K 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/apis/apiserver/load/load_test.go
"authorizers":[{"type":"Webhook"}]}` expect := &api.AuthorizationConfiguration{ Authorizers: []api.AuthorizerConfiguration{{Type: "Webhook"}}, } config, err := LoadFromFile(writeTempFile(t, input)) if err != nil { t.Fatalf("unexpected err: %v", err) } if !reflect.DeepEqual(config, expect) { t.Fatalf("unexpected config:\n%s", cmp.Diff(expect, config)) } } // missing file {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 02 07:00:31 UTC 2024 - 8.3K bytes - Viewed (0)