- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 1,185 for expectGet (0.19 sec)
-
pilot/pkg/model/policyattachment_test.go
nsName := types.NamespacedName{Name: "policy1", Namespace: "default"} matcher := tt.selection.ShouldAttachPolicy(mockKind, nsName, tt.policy) if matcher != tt.expected { t.Errorf("Expected %v, but got %v", tt.expected, matcher) } }) } } type mockPolicyTargetGetter struct { targetRef *v1beta1.PolicyTargetReference targetRefs []*v1beta1.PolicyTargetReference
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 22:20:44 UTC 2024 - 8.3K bytes - Viewed (0) -
cmd/kubeadm/app/util/version_test.go
for _, tc := range cases { t.Run(fmt.Sprintf("input:%s/expected:%s", tc.input, tc.expected), func(t *testing.T) { tag := KubernetesVersionToImageTag(tc.input) t.Logf("kubernetesVersionToImageTag: Input: %q. Result: %q. Expected: %q", tc.input, tag, tc.expected) if tag != tc.expected { t.Errorf("failed KubernetesVersionToImageTag: Input: %q. Result: %q. Expected: %q", tc.input, tag, tc.expected) } }) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 26 03:30:51 UTC 2024 - 15K bytes - Viewed (0) -
pkg/proxy/healthcheck/healthcheck_test.go
}) if len(hcs.services) != 3 { t.Errorf("expected 3 service, got %d", len(hcs.services)) } if hcs.services[nsn1].endpoints != 0 { t.Errorf("expected 0 endpoints, got %d", hcs.services[nsn1].endpoints) } if hcs.services[nsn2].endpoints != 0 { t.Errorf("expected 0 endpoints, got %d", hcs.services[nsn2].endpoints) } if hcs.services[nsn3].endpoints != 0 { t.Errorf("expected 0 endpoints, got %d", hcs.services[nsn3].endpoints)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 26 13:27:41 UTC 2024 - 21.4K bytes - Viewed (0) -
pkg/config/analysis/analyzers/analyzers_test.go
analyzer analysis.Analyzer expected []message skipAll bool } // Some notes on setting up tests for Analyzers: // * The resources in the input files don't necessarily need to be completely defined, just defined enough for the analyzer being tested. // * Please keep this list sorted alphabetically by the pkg.name of the analyzer for convenience
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 07:22:31 UTC 2024 - 42.6K bytes - Viewed (0) -
pkg/registry/flowcontrol/ensurer/prioritylevelconfiguration_test.go
if err != nil { t.Errorf("Expected no error, but got: %v", err) } if test.newObjectExpected == nil { if updatableGot != nil { t.Errorf("Expected a nil object, but got: %#v", updatableGot) } if updateGot { t.Errorf("Expected update=%t but got: %t", false, updateGot) } return } if !updateGot { t.Errorf("Expected update=%t but got: %t", true, updateGot) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 15 14:34:53 UTC 2024 - 19.8K bytes - Viewed (0) -
pkg/kubelet/cm/devicemanager/pod_devices_test.go
// We therefore use `ElementsMatch` instead of `Equal` on the member slices. as.ElementsMatch(tc.expected.Annotations, opts.Annotations) as.ElementsMatch(tc.expected.CDIDevices, opts.CDIDevices) as.ElementsMatch(tc.expected.Devices, opts.Devices) as.ElementsMatch(tc.expected.Envs, opts.Envs) as.ElementsMatch(tc.expected.Mounts, opts.Mounts) }) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 10.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/wrapper_test.go
expected: "aggregated", }, { accept: aggregatedV2Beta1ProtoAccept, expected: "aggregated", }, { accept: aggregatedJSONAccept, expected: "aggregated", }, { accept: aggregatedProtoAccept, expected: "aggregated", }, { accept: jsonAccept, expected: "unaggregated", }, { accept: protobufAccept, expected: "unaggregated", }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 3.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java
int i = 0; while (expectedIterator.hasNext()) { Object expected = expectedIterator.next(); assertTrue( "index " + i + " expected <" + expected + "., actual is exhausted", actualIterator.hasNext()); Object actual = actualIterator.next(); assertEquals("index " + i, expected, actual); i++; } if (actualIterator.hasNext()) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 10 20:31:37 UTC 2024 - 14.7K 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) -
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)