public void DeleteKeyLocationNonExistentTest() { var target = new KeyFile(); Assert.IsFalse(File.Exists("foo.key")); target.DeleteKeyLocation("foo.key"); Assert.IsFalse(File.Exists("foo.key")); }
public void DeleteKeyLocationTest() { File.Delete("foo.key"); var target = new KeyFile(); target.PutKey(new byte[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }, "foo.key"); Assert.IsTrue(File.Exists("foo.key")); target.DeleteKeyLocation("foo.key"); Assert.IsFalse(File.Exists("foo.key")); }
public void DeleteKeyLocationBlankTest() { var target = new KeyFile(); target.DeleteKeyLocation(" \t"); }
public void DeleteKeyLocationEmptyTest() { var target = new KeyFile(); target.DeleteKeyLocation(""); }
public void DeleteKeyLocationNullTest() { var target = new KeyFile(); target.DeleteKeyLocation(null); }