- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,718 for testPass (0.28 sec)
-
cmd/api-resources_test.go
}, } for i, testCase := range testCases { prefix, token, startAfter, delimiter, fetchOwner, maxKeys, encodingType, errCode := getListObjectsV2Args(testCase.values) if errCode != testCase.errCode { t.Errorf("Test %d: Expected error code:%d, got %d", i+1, testCase.errCode, errCode) } if prefix != testCase.prefix { t.Errorf("Test %d: Expected %s, got %s", i+1, testCase.prefix, prefix) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 7.1K bytes - Viewed (0) -
pkg/kubelet/cm/topologymanager/policy_options_test.go
expectedAvailable: true, }, } for _, testCase := range testCases { t.Run(testCase.option, func(t *testing.T) { featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, testCase.featureGate, testCase.featureGateEnable) err := CheckPolicyOptionAvailable(testCase.option) isEnabled := (err == nil) if isEnabled != testCase.expectedAvailable {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 5.9K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/integtests/fixtures/JUnitXmlTestExecutionResult.groovy
def xmlRoot = getTestClassXmlDoc(testClass) def testCaseNode = xmlRoot.'testcase'.find { it.@classname = 'OkTest' && it.@name == testCase } def testCaseStandardOut = testCaseNode.'system-out' return getNodeText(testCaseStandardOut) } Optional<String> getTestCaseStandardError(String testClass, String testCase) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5.9K bytes - Viewed (0) -
cmd/bucket-lifecycle-handlers_test.go
}, ) { for i, testCase := range testCases { // initialize httptest Recorder, this records any mutations to response writer inside the handler. rec := httptest.NewRecorder() // construct HTTP request req, err := newTestSignedRequestV4(testCase.method, getBucketLifecycleURL("", testCase.bucketName), int64(len(testCase.body)), bytes.NewReader(testCase.body), testCase.accessKey, testCase.secretKey, nil)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:50:49 UTC 2024 - 11.3K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/AbstractJUnit4SuitesIntegrationTest.groovy
result.testClass('org.gradle.ASuite').assertStderr(containsString('after suite class err')) result.testClass('org.gradle.OkTest').assertStderr(containsString('This is test stderr')) result.testClass('org.gradle.OkTest').assertStdout(containsString('sys out from another test method'))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 8.7K bytes - Viewed (0) -
cmd/common-main_test.go
}, }, }, } for _, testCase := range testCases { testCase := testCase t.Run("", func(t *testing.T) { tmpfile, err := os.CreateTemp("", "testfile") if err != nil { t.Error(err) } tmpfile.WriteString(testCase.content) tmpfile.Sync() tmpfile.Close() ekvs, err := minioEnvironFromFile(tmpfile.Name()) if err != nil && !testCase.expectedErr { t.Error(err) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 3.7K bytes - Viewed (0) -
cmd/prune-junit-xml/prunexml.go
for _, suite := range suites.Suites { for _, testcase := range suite.TestCases { if testcase.SkipMessage != nil { if len(testcase.SkipMessage.Message) > maxBytes { fmt.Printf("clipping skip message in test case : %s\n", testcase.Name) head := testcase.SkipMessage.Message[:maxBytes/2] tail := testcase.SkipMessage.Message[len(testcase.SkipMessage.Message)-maxBytes/2:] testcase.SkipMessage.Message = head + "[...clipped...]" + tail
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 06 12:26:00 UTC 2023 - 4.4K bytes - Viewed (0) -
cmd/endpoint-ellipses_test.go
} for _, testCase := range testCases { testCase := testCase t.Run("", func(t *testing.T) { gotGCD := getDivisibleSize(testCase.totalSizes) if testCase.result != gotGCD { t.Errorf("Expected %v, got %v", testCase.result, gotGCD) } }) } } // Test tests calculating set indexes with ENV override for drive count. func TestGetSetIndexesEnvOverride(t *testing.T) { testCases := []struct {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 15.2K bytes - Viewed (0) -
internal/config/compress/compress_test.go
{"text/*,application/json", []string{"text/*", "application/json"}, true}, } for _, testCase := range testCases { testCase := testCase t.Run(testCase.str, func(t *testing.T) { gotPatterns, err := parseCompressIncludes(testCase.str) if !testCase.success && err == nil { t.Error("expected failure but success instead") } if testCase.success && err != nil { t.Errorf("expected success but failed instead %s", err) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.8K bytes - Viewed (0) -
cmd/update_test.go
}, } for i, testCase := range testCases { if testCase.errStr != "" { got := releaseTimeToReleaseTag(testCase.t) if got != testCase.tag && testCase.errStr == "" { t.Errorf("Test %d: Expected %v but got %v", i+1, testCase.tag, got) } } tagTime, err := releaseTagToReleaseTime(testCase.tag) if err != nil && err.Error() != testCase.errStr {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat Mar 09 03:07:08 UTC 2024 - 10.7K bytes - Viewed (0)