Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ExecExtendedObjectLayerAPITest (0.16 sec)

  1. cmd/object-handlers_test.go

    func TestAPIGetObjectHandler(t *testing.T) {
    	globalPolicySys = NewPolicySys()
    	defer func() { globalPolicySys = nil }()
    
    	defer DetectTestLeak(t)()
    	ExecExtendedObjectLayerAPITest(t, testAPIGetObjectHandler, []string{"GetObject"})
    }
    
    func testAPIGetObjectHandler(obj ObjectLayer, instanceType, bucketName string, apiRouter http.Handler,
    	credentials auth.Credentials, t *testing.T,
    ) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  2. cmd/object-api-utils_test.go

    		}
    	})
    }
    
    // Wrapper
    func TestPathTraversalExploit(t *testing.T) {
    	if runtime.GOOS != globalWindowsOSName {
    		t.Skip()
    	}
    	defer DetectTestLeak(t)()
    	ExecExtendedObjectLayerAPITest(t, testPathTraversalExploit, []string{"PutObject"})
    }
    
    // testPathTraversal exploit test, exploits path traversal on windows
    // with following object names "\\../.minio.sys/config/iam/${username}/identity.json"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  3. cmd/test-utils_test.go

    }
    
    // ExecExtendedObjectLayerTest will execute the tests with combinations of encrypted & compressed.
    // This can be used to test functionality when reading and writing data.
    func ExecExtendedObjectLayerAPITest(t *testing.T, objAPITest objAPITestType, endpoints []string) {
    	execExtended(t, func(t *testing.T, init func(), makeBucketOptions MakeBucketOptions) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
Back to top