예제 #1
0
        public void StorageProvider_BlobDelete_NoArgs_CatchesNullRefException()
        {
            StorageProviderDebug storageProvider = new StorageProviderDebug();

            //ensure our test file doesnt already exist in the cloud
            storageProvider.DeleteBlob();

            //Assert.IsTrue(storageProvider.DeleteFailed);
        }
예제 #2
0
        public void StorageProvider_BlobDelete_FilePathArg_CatchesFileNotFoundException()
        {
            StorageProviderDebug storageProvider = new StorageProviderDebug();

            //ensure our test file doesnt already exist in the cloud
            storageProvider.DeleteBlob("aFileThatDoesntExist");

            Assert.IsTrue(storageProvider.DeleteFailed);
        }