コード例 #1
0
ファイル: AzureBlobTest.cs プロジェクト: ReubenBond/Yams
        public static void StartAndCleanStorage(TestContext cont)
        {
            _account = CloudStorageAccount.DevelopmentStorageAccount;
            _blobClient = _account.CreateCloudBlobClient();

            _storageEmulatorProxy = new StorageEmulatorProxy();
            _storageEmulatorProxy.StartEmulator();
        }
コード例 #2
0
        public StorageEmulatorTestFixture()
        {
            var account = CloudStorageAccount.DevelopmentStorageAccount;
            BlobClient = account.CreateCloudBlobClient();

            _storageEmulatorProxy = new StorageEmulatorProxy();
            _storageEmulatorProxy.StartEmulator();
        }
コード例 #3
0
        public static void StartAndCleanStorage(TestContext cont)
        {
            _account = CloudStorageAccount.DevelopmentStorageAccount;
            _blobClient = _account.CreateCloudBlobClient();

            _storageEmulatorProxy = new StorageEmulatorProxy();
            _storageEmulatorProxy.StartEmulator();

            _storageContainerName = Constants.ApplicationsRootFolderName;

            _blobLeaseFactory = new BlobLeaseFactory(60);
        }