Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestS3SupportedAuthType (0.2 sec)

  1. cmd/auth-handler_test.go

    		authT := getRequestAuthType(testc.req)
    		if authT != testc.authT {
    			t.Errorf("Test %d: Expected %d, got %d", i+1, testc.authT, authT)
    		}
    	}
    }
    
    // Test all s3 supported auth types.
    func TestS3SupportedAuthType(t *testing.T) {
    	type testCase struct {
    		authT authType
    		pass  bool
    	}
    	// List of all valid and invalid test cases.
    	testCases := []testCase{
    		// Test 1 - supported s3 type anonymous.
    		{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 15.4K bytes
    - Viewed (0)
Back to top