Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for assertPong (0.21 sec)

  1. cmd/server_test.go

    	c.Assert(err, nil)
    	// asserting for the expected error response.
    	verifyError(c, response, "NoSuchBucket", "The specified bucket does not exist", http.StatusNotFound)
    }
    
    func (s *TestSuiteCommon) TestPutBucket(c *check) {
    	// generate a random bucket name.
    	bucketName := getRandomBucketName()
    	// Block 1: Testing for racy access
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  2. cmd/object-api-listobjects_test.go

    			},
    		},
    		// ListObjectsResult-5.
    		// Used for Asserting prefixes.
    		// Used for test case with prefix "new", (testCase 27-29).
    		5: {
    			IsTruncated: false,
    			Objects: []ObjectInfo{
    				{Name: "newPrefix0"},
    				{Name: "newPrefix1"},
    				{Name: "newzen/zen/recurse/again/again/again/pics"},
    			},
    		},
    		// ListObjectsResult-6.
    		// Used for Asserting prefixes.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  3. cmd/object-api-multipart_test.go

    			}
    		}
    		// Passes as expected, but asserting the results.
    		if actualErr == nil && testCase.shouldPass {
    			expectedResult := testCase.expectedResult
    			// Asserting the MaxUploads.
    			if actualResult.MaxUploads != expectedResult.MaxUploads {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  4. cmd/signature-v4-utils_test.go

    			t.Errorf("Test %d: Expected the result to `%v`, but instead got `%v`", i+1, testCase.expectedResult, actualResult)
    		}
    	}
    }
    
    // TestIsValidRegion - Tests validate the comparison logic for asserting whether the region from http request is valid.
    func TestIsValidRegion(t *testing.T) {
    	testCases := []struct {
    		inputReqRegion  string
    		inputConfRegion string
    
    		expectedResult bool
    	}{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  5. cmd/bucket-policy-handlers_test.go

    			secretKey:          credentials.SecretKey,
    			expectedRespStatus: http.StatusBadRequest,
    		},
    	}
    
    	// Iterating over the test cases, calling the function under test and asserting the response.
    	for i, testCase := range testCases {
    		// obtain the put bucket policy request body.
    		// initialize HTTP NewRecorder, this records any mutations to response writer inside the handler.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 32.7K bytes
    - Viewed (0)
  6. cmd/object-api-putobject_test.go

    			continue
    		}
    		// Test passes as expected, but the output values are verified for correctness here.
    		if actualErr == nil {
    			// Asserting whether the md5 output is correct.
    			if expectedMD5, ok := testCase.inputMeta["etag"]; ok && expectedMD5 != objInfo.ETag {
    				t.Errorf("Test %d: %s: Calculated Md5 different from the actual one %s.", i, instanceType, objInfo.ETag)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  7. go.sum

    github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo=
    github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE=
    github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc=
    github.com/smartystreets/goconvey v0.0.0-20190330032615-68dc04aab96a/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA=
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 84.2K bytes
    - Viewed (0)
  8. cmd/object-handlers_test.go

    	// object has to be created before running tests for HeadObject.
    	// this is required even to assert the HeadObject data,
    	// since dataInserted === dataFetched back is a primary criteria for any object storage this assertion is critical.
    	bytesData := []struct {
    		byteData []byte
    	}{
    		{generateBytesData(6 * humanize.MiByte)},
    	}
    	// set of inputs for uploading the objects before tests for downloading is done.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  9. CREDITS

    first time You have received notice of non-compliance with this License
    from such Contributor, and You become compliant prior to 30 days after
    Your receipt of the notice.
    
    5.2. If You initiate litigation against any entity by asserting a patent
    infringement claim (excluding declaratory judgment actions,
    counter-claims, and cross-claims) alleging that a Contributor Version
    directly or indirectly infringes any patent, then the rights granted to
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:31:35 GMT 2024
    - 1.6M bytes
    - Viewed (0)
Back to top