public static void Initialize(TestContext context) { account = CloudStorageAccount.Parse("UseDevelopmentStorage=true"); var azureTable = new AzureTable <TestRow>(account, TableName); azureTable.EnsureExistsAsync().Wait(); }
public static void Initialize(TestContext context) { var account = CloudConfiguration.GetStorageAccount("DataConnectionString"); var azureTable = new AzureTable <TestRow>(account, TableName); azureTable.EnsureExistsAsync().Wait(); }
public void TestInitialize() { target = new SurveyManagementService(null, (tableName) => { var azureTable = new AzureTable <Models.SurveyInformationRow>(account, tableName); azureTable.EnsureExistsAsync().Wait(); return(azureTable); }, (containerName) => { azureBlobContainer = new AzureBlobContainer <Models.Survey>( account, containerName); azureBlobContainer.EnsureExistsAsync().Wait(); return(azureBlobContainer); }); }