- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 4,385 for expected_ (0.27 sec)
-
pkg/kubelet/cm/topologymanager/scope_pod_test.go
actual := podScope.policy.(*mockPolicy).ph if !reflect.DeepEqual(tc.expected, actual) { t.Errorf("Test Case: %s", tc.name) t.Errorf("Expected result to be %v, got %v", tc.expected, actual) } } } func TestPodAccumulateProvidersHints(t *testing.T) { tcases := []struct { name string hp []HintProvider expected []map[string][]TopologyHint }{ { name: "TopologyHint not set",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 12 11:25:55 UTC 2020 - 6.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/caching_authorizer_test.go
} if reason != invocation.expected.reason { t.Errorf("(call %d of %d) expected reason %q, got %q", i+1, len(tc.calls), invocation.expected.reason, reason) } if err.Error() != invocation.expected.error.Error() { t.Errorf("(call %d of %d) expected error %q, got %q", i+1, len(tc.calls), invocation.expected.error.Error(), err.Error()) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 12 18:58:24 UTC 2024 - 6.3K bytes - Viewed (0) -
cmd/kubeadm/app/util/staticpod/utils_test.go
expected: "", }, { desc: "filled in :: AdvertiseAddress endpoint returns empty", endpoint: &kubeadmapi.APIEndpoint{ AdvertiseAddress: "::", }, expected: "", }, } for _, test := range tests { t.Run(test.desc, func(t *testing.T) { actual := GetAPIServerProbeAddress(test.endpoint) if actual != test.expected {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 12 15:44:44 UTC 2023 - 22.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/LongMathTest.java
fail("Expected IllegalArgumentException"); } catch (IllegalArgumentException expected) { } } } public void testFloorPowerOfTwoNegative() { for (long x : NEGATIVE_LONG_CANDIDATES) { try { LongMath.floorPowerOfTwo(x); fail("Expected IllegalArgumentException"); } catch (IllegalArgumentException expected) { } } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Mar 04 20:15:57 UTC 2024 - 32.5K bytes - Viewed (0) -
pkg/kubelet/server/auth_test.go
subpath string path string expected bool }{ "empty": {subpath: "", path: "", expected: true}, "match 1": {subpath: "foo", path: "foo", expected: true}, "match 2": {subpath: "/foo", path: "/foo", expected: true}, "match 3": {subpath: "/foo/", path: "/foo/", expected: true}, "match 4": {subpath: "/foo/bar", path: "/foo/bar", expected: true},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 19 18:09:38 UTC 2024 - 5K bytes - Viewed (0) -
cmd/kubeadm/app/util/kubeconfig/kubeconfig_test.go
config *clientcmdapi.Config expected bool }{ { name: "nil context", config: nil, expected: false, }, { name: "no CurrentContext value", config: &clientcmdapi.Config{}, expected: false, }, { name: "no CurrentContext object", config: &clientcmdapi.Config{CurrentContext: "kubernetes"}, expected: false, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Aug 18 06:49:59 UTC 2023 - 13.3K bytes - Viewed (0) -
pkg/apis/flowcontrol/v1beta1/conversion_test.go
if err := Convert_v1beta1_LimitedPriorityLevelConfiguration_To_flowcontrol_LimitedPriorityLevelConfiguration(test.in, out, nil); err != nil { t.Errorf("Expected no error, but got: %v", err) } if !cmp.Equal(test.expected, out) { t.Errorf("Expected a match, diff: %s", cmp.Diff(test.expected, out)) } }) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 26 19:34:10 UTC 2022 - 3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java
} /** * Asserts that a Unicode escaper escapes the given code point into the expected string. * * @param escaper the non-null escaper to test * @param expected the expected output string * @param cp the Unicode code point to escape */ public static void assertEscaping(UnicodeEscaper escaper, String expected, int cp) { String escaped = computeReplacement(escaper, cp);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 18 20:55:09 UTC 2022 - 3.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java
} /** * Asserts that a Unicode escaper escapes the given code point into the expected string. * * @param escaper the non-null escaper to test * @param expected the expected output string * @param cp the Unicode code point to escape */ public static void assertEscaping(UnicodeEscaper escaper, String expected, int cp) { String escaped = computeReplacement(escaper, cp);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 18 20:55:09 UTC 2022 - 3.8K bytes - Viewed (0) -
src/math/big/int_test.go
y, _ := new(Int).SetString(test.y, 10) expectedQ, _ := new(Int).SetString(test.q, 10) expectedR, _ := new(Int).SetString(test.r, 10) r := new(Int) q, r := new(Int).QuoRem(x, y, r) if q.Cmp(expectedQ) != 0 || r.Cmp(expectedR) != 0 { t.Errorf("#%d got (%s, %s) want (%s, %s)", i, q, r, expectedQ, expectedR) } } } func TestQuoStepD6(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 58.5K bytes - Viewed (0)