예제 #1
0
        public AzureBlobRepositorySpecSetup()
        {
            var config   = new ConfigurationBuilder().AddJsonFile(@"appsettings.json").Build();
            var settings = new NetCoreAppSettings(config);

            Blobository = AzureBlobStorageRepository.FromSettings(settings);
            AzureStorageAccountBase.InitializeAllTests();
        }
        public AzureQueueRepositorySpecSetup()
        {
            var config   = new ConfigurationBuilder().AddJsonFile(@"appsettings.json").Build();
            var settings = new NetCoreAppSettings(config);

            Queueository = AzureQueueStorageRepository.FromSettings(NullRecorder.Instance, settings);
            AzureStorageAccountBase.InitializeAllTests();
        }
        public static void InitializeAllTests(TestContext context)
        {
            InitializeAllTests();
            var config   = new ConfigurationBuilder().AddJsonFile(@"appsettings.json").Build();
            var settings = new NetCoreAppSettings(config);

            repository = AzureTableStorageRepository.FromSettings(settings);
            AzureStorageAccountBase.InitializeAllTests(context);
        }
예제 #4
0
 public void Dispose()
 {
     AzureStorageAccountBase.CleanupAllTests();
 }
 public static void CleanupAllTests()
 {
     AzureStorageAccountBase.CleanupAllTests();
 }