public StatusController() { var storage = ControllerUtil.CreateStorageAccount(); _testResultStorage = new TestResultStorage(storage); _testCacheStats = new TestCacheStats(_testResultStorage, storage.CreateCloudTableClient()); _testRunTable = storage.CreateCloudTableClient().GetTableReference(AzureConstants.TableNames.TestRunData); }
public TestDataController() { _storageAccount = ControllerUtil.CreateStorageAccount(); _storage = new TestResultStorage(_storageAccount); _stats = new TestCacheStats(_storage, _storageAccount.CreateCloudTableClient()); _statsUtil = ControllerUtil.GetOrCreateCounterStatsUtil(_storageAccount); }