Revert async SQLite provider calls back to sync
This commit is contained in:
parent
6532f15b35
commit
efb8505868
4 changed files with 31 additions and 39 deletions
|
|
@ -76,7 +76,7 @@ namespace MatterControl.Tests
|
|||
string collectionName = "Collection1";
|
||||
Assert.IsTrue(!NamedCollectionExists(collectionName)); // assert that the record does not exist in the DB
|
||||
Assert.IsTrue(dataReloaded == false);
|
||||
testProvider.AddCollectionToLibraryAsync(collectionName).Wait();
|
||||
testProvider.AddCollectionToLibrary(collectionName);
|
||||
Assert.IsTrue(testProvider.CollectionCount == 1);
|
||||
Assert.IsTrue(dataReloaded == true);
|
||||
Assert.IsTrue(NamedCollectionExists(collectionName)); // assert that the record does exist in the DB
|
||||
|
|
@ -108,7 +108,7 @@ namespace MatterControl.Tests
|
|||
// remove collection gets rid of it
|
||||
dataReloaded = false;
|
||||
Assert.IsTrue(dataReloaded == false);
|
||||
testProvider.RemoveCollectionAsync(0).Wait();
|
||||
testProvider.RemoveCollection(0);
|
||||
Assert.IsTrue(dataReloaded == true);
|
||||
Assert.IsTrue(testProvider.CollectionCount == 0);
|
||||
Assert.IsTrue(!NamedCollectionExists(collectionName)); // assert that the record does not exist in the DB
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue