- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 682 for testPass (0.41 sec)
-
pkg/kubelet/container/helpers_test.go
}, }, }, }, }, expectedResult: true, }, } for _, testCase := range testCases { t.Run(testCase.name, func(t *testing.T) { pod := &v1.Pod{} pod.Spec = *testCase.podSpec result := HasWindowsHostProcessContainer(pod) assert.Equal(t, result, testCase.expectedResult) }) } } func TestHashContainerWithoutResources(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 01:55:46 UTC 2024 - 24.5K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/JUnitXmlResultWriter.java
} private void writeTestCase(SimpleXmlWriter writer, TestCase testCase) throws IOException { writer.startElement("testcase") .attribute("name", testCase.name) .attribute("classname", testCase.className) .attribute("time", String.valueOf(testCase.duration / 1000.0)); for (TestCaseExecution execution : testCase.executions) { execution.write(writer); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 25 18:49:57 UTC 2024 - 18.1K bytes - Viewed (0) -
pkg/registry/flowcontrol/ensurer/prioritylevelconfiguration_test.go
specChanged: true, }, } for _, testCase := range testCases { t.Run(testCase.name, func(t *testing.T) { w := !plcSpecEqualish(testCase.expected, testCase.actual) if testCase.specChanged != w { t.Errorf("Expected priorityLevelSpecChanged to return %t, but got: %t - diff: %s", testCase.specChanged, w, cmp.Diff(testCase.expected, testCase.actual)) } }) } }
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/controller/endpointslice/endpointslice_controller_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 08:33:32 UTC 2024 - 65.5K bytes - Viewed (0) -
cmd/xl-storage-format_test.go
{5 * humanize.MiByte, 2 * humanize.MiByte, 4, 0}, } for i, testCase := range testCases { s, err := calculatePartSizeFromIdx(GlobalContext, testCase.totalSize, testCase.partSize, testCase.partIndex) if err != nil { t.Errorf("Test %d: Expected to pass but failed. %s", i+1, err) } if err == nil && s != testCase.expectedSize {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 17.6K bytes - Viewed (0) -
pkg/registry/core/pod/storage/storage_test.go
} binding := validNewBinding() binding.UID = testCase.podUIDGetter(podCreated.(*api.Pod)) binding.ResourceVersion = testCase.podResourceVersionGetter(podCreated.(*api.Pod)) if _, err := bindingStorage.Create(ctx, binding.Name, binding, rest.ValidateAllObjectFunc, &metav1.CreateOptions{}); !testCase.errOK(err) { t.Errorf("%s: unexpected error: %v", k, err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 07:18:44 UTC 2024 - 38.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/matching/matching_test.go
}, } for _, testcase := range testcases { t.Run(testcase.name, func(t *testing.T) { matches, matchResource, matchKind, err := a.Matches(testcase.attrs, interfaces, &fakeCriteria{matchResources: *testcase.criteria}) if err != nil { if len(testcase.expectErr) == 0 { t.Fatal(err) } if !strings.Contains(err.Error(), testcase.expectErr) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 38.2K bytes - Viewed (0) -
src/index/suffixarray/suffixarray_test.go
"io/fs" "math/rand" "os" "path/filepath" "regexp" "slices" "sort" "strings" "testing" ) type testCase struct { name string // name of test case source string // source to index patterns []string // patterns to lookup } var testCases = []testCase{ { "empty string", "", []string{ "", "foo", "(foo)", ".*", "a*", }, }, {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 14.1K bytes - Viewed (0) -
pkg/controller/cronjob/utils_test.go
input: []*batchv1.Job{aSetLater, bSet}, expected: []*batchv1.Job{bSet, aSetLater}, }, } for _, testCase := range testCases { sort.Sort(byJobStartTime(testCase.input)) if !reflect.DeepEqual(testCase.input, testCase.expected) { t.Errorf("case: '%s', jobs not sorted as expected", testCase.name) } } } func TestMostRecentScheduleTime(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 03:34:25 UTC 2024 - 22.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
} } List<Class<?>> result = Lists.newArrayList(); NEXT_CANDIDATE: for (Class<?> candidate : Iterables.filter(candidateClasses, classFilter)) { for (Class<?> testClass : testClasses.get(candidate)) { if (hasTest(testClass, explicitTestNames)) { // covered by explicit test continue NEXT_CANDIDATE; } } result.add(candidate); } return result;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 17.4K bytes - Viewed (0)