Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for shouldPass (0.16 sec)

  1. cmd/object-api-listobjects_test.go

    					testCase.prefix, testCase.marker, testCase.delimiter, testCase.maxKeys)
    			}
    			if err != nil && testCase.shouldPass {
    				t.Errorf("Test %d: %s:  Expected to pass, but failed with: <ERROR> %s", i+1, instanceType, err.Error())
    			}
    			if err == nil && !testCase.shouldPass {
    				t.Errorf("Test %d: %s: Expected to fail with <ERROR> \"%s\", but passed instead", i+1, instanceType, testCase.err.Error())
    			}
    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)
  2. cmd/object-handlers_test.go

    		expectedContent    []byte // expected response body.
    		expectedRespStatus int    // expected response status body.
    		// Access keys
    		accessKey        string
    		secretKey        string
    		shouldPass       bool
    		removeAuthHeader bool
    		fault            streamFault
    		// Custom content encoding.
    		contentEncoding string
    	}{
    		// Test case - 1.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
Back to top