public void TryIfAssetDecryptableTestDirectoryNotFound() { string filePath = @"C:\OxigenIIData\Assets1\advert1100.jpg"; string password = "******"; bool actual = EncryptionDecryptionHelper.TryIfFileDecryptable(filePath, password); Assert.Fail("Expected exception not thrown"); }
public void TryIfAssetDecryptableTestWrongPassword() { string filePath = @"C:\OxigenIIData\Assets\advert1100.jpg"; string password = "******"; bool expected = false; bool actual = EncryptionDecryptionHelper.TryIfFileDecryptable(filePath, password); Assert.AreEqual(expected, actual); }
public void TryIfAssetDecryptableTestFileNotFound() { string filePath = @"C:\OxigenIIData\Assets\fgwruiowhegi.jpg"; string password = "******"; bool expected = false; bool actual = EncryptionDecryptionHelper.TryIfFileDecryptable(filePath, password); Assert.AreEqual(expected, actual); }
public void TryIfAssetDecryptableTest() { string filePath = string.Empty; string password = string.Empty; bool expected = false; bool actual; actual = EncryptionDecryptionHelper.TryIfFileDecryptable(filePath, password); Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); }