C# Class AWSSDK_DotNet.IntegrationTests.Tests.S3.BucketRegionTestRunner

Encapsulate common things necessary for all bucket region tests. Tests require a bucket where the DNS has propagated and S3 has stopped issuing 301 for the bucket. This is done by ensuring the bucket is well over 4 hours old. Tests must check the TestBucketIsReady property before running.
Inheritance: IDisposable
Show file Open project: aws/aws-sdk-net Class Usage Examples

Public Methods

Method Description
BucketRegionTestRunner ( bool useSigV4, bool useSigV4SetExplicitly = false ) : Amazon
Dispose ( ) : void

Private Methods

Method Description
CreateAndCheckTestBucket ( ) : void
GetAWSConfigsS3InternalProperty ( ) : bool
GetUseSigV4SetExplicitlyProperty ( ) : PropertyInfo
SetAWSConfigsS3InternalProperty ( bool value ) : void

Method Details

BucketRegionTestRunner() public method

public BucketRegionTestRunner ( bool useSigV4, bool useSigV4SetExplicitly = false ) : Amazon
useSigV4 bool
useSigV4SetExplicitly bool
return Amazon

Dispose() public method

public Dispose ( ) : void
return void