public CombinedManagerIntegrationTests()
 {
     // Expectation that local SDK has been configured correctly, whether via VS Tools or user config files
     s3Client  = new AmazonS3Client(RegionEndpoint.EUWest1);
     kmsClient = new AmazonKeyManagementServiceClient(RegionEndpoint.EUWest1);
     s3Cleanup = new CleanupS3(s3Client);
 }
Exemplo n.º 2
0
 public MigrationV1Fixture()
 {
     // Expectation that local SDK has been configured correctly, whether via VS Tools or user config files
     S3Client            = new AmazonS3Client(RegionEndpoint.EUWest1);
     KmsClient           = new AmazonKeyManagementServiceClient(RegionEndpoint.EUWest1);
     s3Cleanup           = new CleanupS3(S3Client);
     ensureDataPopulated = new AsyncLazy <bool>(RunMigrationProcess);
 }
        public S3ManagerIntegrationTests(ConfigurationFixture fixture)
        {
            this.fixture = fixture;

            // Expectation that local SDK has been configured correctly, whether via VS Tools or user config files
            s3Client = new AmazonS3Client(RegionEndpoint.EUWest1);
            s3Cleanup = new CleanupS3(s3Client);
        }
Exemplo n.º 4
0
 public S3IntegrationTests()
 {
     // Expectation that local SDK has been configured correctly, whether via VS Tools or user config files
     s3Client = new AmazonS3Client(RegionEndpoint.EUWest1);
     // Override the default for ease of debugging. Explicitly turn on for compression tests.
     config = new S3XmlRepositoryConfig(BucketName)
     {
         ClientSideCompression = false
     };
     xmlRepo   = new S3XmlRepository(s3Client, new DirectOptions <S3XmlRepositoryConfig>(config));
     s3Cleanup = new CleanupS3(s3Client);
 }