Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 682 for testPass (0.36 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. cmd/xl-storage_test.go

    			expectedErr: errFileNameTooLong,
    		},
    	}
    
    	for i, testCase := range testCases {
    		if err := xlStorage.RenameFile(context.Background(), testCase.srcVol, testCase.srcPath, testCase.destVol, testCase.destPath); err != testCase.expectedErr {
    			t.Fatalf("TestXLStorage %d:  Expected the error to be : \"%v\", got: \"%v\".", i+1, testCase.expectedErr, err)
    		}
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 11 17:45:28 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  6. cmd/erasure-metadata_test.go

    	}
    
    	// Test them.
    	for _, testCase := range testCases {
    		index, offset, err := fi.ObjectToPartOffset(context.Background(), testCase.offset)
    		if err != testCase.expectedErr {
    			t.Fatalf("%+v: expected = %s, got: %s", testCase, testCase.expectedErr, err)
    		}
    		if index != testCase.expectedIndex {
    			t.Fatalf("%+v: index: expected = %d, got: %d", testCase, testCase.expectedIndex, index)
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 17 20:57:37 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/result/JUnitXmlResultWriterSpec.groovy

      <properties/>
      <testcase name="some test" classname="com.foo.FooTest" time="0.015"/>
      <testcase name="some test two" classname="com.foo.FooTest" time="0.015"/>
      <testcase name="some failing test" classname="com.foo.FooTest" time="0.01">
        <failure message="failure message" type="ExceptionType">[stack-trace]</failure>
      </testcase>
      <testcase name="some skipped test" classname="com.foo.FooTest" time="0.01">
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 18:51:05 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  8. cmd/bucket-handlers_test.go

    		},
    	}
    
    	for i, testCase := range testCases {
    		var req *http.Request
    		var actualContent []byte
    
    		// Generate a signed or anonymous request based on the testCase
    		if testCase.accessKey != "" {
    			req, err = newTestSignedRequestV4(http.MethodPost, getDeleteMultipleObjectsURL("", testCase.bucket),
    				int64(len(testCase.objects)), bytes.NewReader(testCase.objects), testCase.accessKey, testCase.secretKey, nil)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  9. pkg/quota/v1/evaluator/core/persistent_volume_claims_test.go

    				"gold.storage.k8s.io/requests.storage",
    			},
    			want: []corev1.ResourceName{},
    		},
    	}
    	for testName, testCase := range testCases {
    		actual := evaluator.MatchingResources(testCase.items)
    
    		if !reflect.DeepEqual(testCase.want, actual) {
    			t.Errorf("%s expected:\n%v\n, actual:\n%v", testName, testCase.want, actual)
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. internal/http/server_test.go

    	}
    
    	for i, testCase := range testCases {
    		server := NewServer(testCase.addrs).
    			UseHandler(testCase.handler).
    			UseShutdownTimeout(DefaultShutdownTimeout)
    		if testCase.certFn != nil {
    			server = server.UseTLSConfig(&tls.Config{
    				PreferServerCipherSuites: true,
    				GetCertificate:           testCase.certFn,
    			})
    		}
    		if server == nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top