Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for ExecObjectLayerAPITest (0.3 sec)

  1. cmd/bucket-policy-handlers_test.go

    				condition.NewFunctions(),
    			),
    		},
    	}
    }
    
    // Wrapper for calling Create Bucket and ensure we get one and only one success.
    func TestCreateBucket(t *testing.T) {
    	ExecObjectLayerAPITest(t, testCreateBucket, []string{"MakeBucket"})
    }
    
    // testCreateBucket - Test for calling Create Bucket and ensure we get one and only one success.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 32.7K bytes
    - Viewed (0)
  2. cmd/bucket-lifecycle-handlers_test.go

    	"net/http"
    	"net/http/httptest"
    	"testing"
    
    	"github.com/minio/minio/internal/auth"
    )
    
    // Test S3 Bucket lifecycle APIs with wrong credentials
    func TestBucketLifecycleWrongCredentials(t *testing.T) {
    	ExecObjectLayerAPITest(t, testBucketLifecycleHandlersWrongCredentials, []string{"GetBucketLifecycle", "PutBucketLifecycle", "DeleteBucketLifecycle"})
    }
    
    // Test for authentication
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jun 13 20:52:33 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  3. cmd/bucket-handlers_test.go

    	"testing"
    
    	"github.com/minio/minio/internal/auth"
    )
    
    // Wrapper for calling RemoveBucket HTTP handler tests for both Erasure multiple disks and single node setup.
    func TestRemoveBucketHandler(t *testing.T) {
    	ExecObjectLayerAPITest(t, testRemoveBucketHandler, []string{"RemoveBucket"})
    }
    
    func testRemoveBucketHandler(obj ObjectLayer, instanceType, bucketName string, apiRouter http.Handler,
    	credentials auth.Credentials, t *testing.T,
    ) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 39.5K bytes
    - Viewed (2)
  4. cmd/test-utils_test.go

    		}
    	}
    }
    
    // ExecObjectLayerAPITest - executes object layer API tests.
    // Creates single node and Erasure ObjectLayer instance, registers the specified API end points and runs test for both the layers.
    func ExecObjectLayerAPITest(t *testing.T, objAPITest objAPITestType, endpoints []string) {
    	ctx, cancel := context.WithCancel(context.Background())
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:06:57 GMT 2024
    - 75.7K bytes
    - Viewed (0)
  5. cmd/object-handlers_test.go

    	BadSignature
    	BadMD5
    	MissingUploadID
    )
    
    // Wrapper for calling HeadObject API handler tests for both Erasure multiple disks and FS single drive setup.
    func TestAPIHeadObjectHandler(t *testing.T) {
    	ExecObjectLayerAPITest(t, testAPIHeadObjectHandler, []string{"HeadObject"})
    }
    
    func testAPIHeadObjectHandler(obj ObjectLayer, instanceType, bucketName string, apiRouter http.Handler,
    	credentials auth.Credentials, t *testing.T,
    ) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
Back to top