Restore disabled automation tests
This commit is contained in:
parent
c02dc4bbd1
commit
b0401478af
2 changed files with 4 additions and 5 deletions
|
|
@ -53,7 +53,7 @@ namespace MatterHackers.MatterControl.Tests
|
|||
}
|
||||
|
||||
#if !__ANDROID__
|
||||
[Test, Category("FixNeeded" /* Disabled until MCWS production is updated */)]
|
||||
[Test]
|
||||
public void LibraryProviderSqlite_NavigationWorking()
|
||||
{
|
||||
StaticData.Instance = new FileSystemStaticData(TestContext.CurrentContext.ResolveProjectPath(4, "StaticData"));
|
||||
|
|
@ -63,8 +63,8 @@ namespace MatterHackers.MatterControl.Tests
|
|||
testProvider.DataReloaded += (sender, e) => { dataReloaded = true; };
|
||||
Thread.Sleep(3000); // wait for the library to finish initializing
|
||||
UiThread.InvokePendingActions();
|
||||
Assert.IsTrue(testProvider.CollectionCount == 0, "Start with a new database for these tests.");
|
||||
Assert.IsTrue(testProvider.ItemCount == 3, "Start with a new database for these tests.");
|
||||
Assert.AreEqual(0, testProvider.CollectionCount, "Start with a new database for these tests.");
|
||||
Assert.AreEqual(3, testProvider.ItemCount, "Start with a new database for these tests.");
|
||||
|
||||
// create a collection and make sure it is on disk
|
||||
dataReloaded = false; // it has been loaded for the default set of parts
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ namespace MatterControl.Tests.MatterControl
|
|||
{
|
||||
class PrinterChooserUnitTests
|
||||
{
|
||||
[Test, Category("FixNeeded" /* Disabled until MCWS production is updated */)]
|
||||
[Test]
|
||||
public void PrinterChooserHonorsWhitelist()
|
||||
{
|
||||
StaticData.Instance = new FileSystemStaticData(TestContext.CurrentContext.ResolveProjectPath(4, "StaticData"));
|
||||
|
|
@ -63,6 +63,5 @@ namespace MatterControl.Tests.MatterControl
|
|||
Assert.IsTrue(!string.IsNullOrEmpty(expectedItem) && expectedItem == "Esagonò");
|
||||
*/
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue