private static async Task TearDownTestAsync() { using (DatabaseWrapper) { await DatabaseWrapper.DropTableAsync(TableName); DatabaseWrapper.Close(); DatabaseWrapper.Destroy(DBPath); } }
public void DestroyTest() { DatabaseWrapper.Close(); DatabaseWrapper.Destroy(TestDbLocation); Assert.IsFalse(File.Exists(TestDbLocation)); }
public void CleanUpDb() { DatabaseWrapper.Dispose(); DatabaseWrapper.Destroy(TestDbLocation); }