fix tests

This commit is contained in:
Milos Kozak 2019-03-02 15:34:34 +01:00
parent 987b3d9dd0
commit 1f78e8c56d

View file

@ -71,7 +71,7 @@ public class MainAppTest {
if (Config.NSCLIENT) if (Config.NSCLIENT)
expected = 1; // VirtualPump only expected = 1; // VirtualPump only
else else
expected = 7; expected = 8;
Assert.assertEquals(expected, mainApp.getSpecificPluginsList(PluginType.PUMP).size()); Assert.assertEquals(expected, mainApp.getSpecificPluginsList(PluginType.PUMP).size());
} }
@ -82,7 +82,7 @@ public class MainAppTest {
if (Config.NSCLIENT) if (Config.NSCLIENT)
expected = 1; // VirtualPump only expected = 1; // VirtualPump only
else else
expected = 7; expected = 8;
Assert.assertEquals(expected, mainApp.getSpecificPluginsVisibleInList(PluginType.PUMP).size()); Assert.assertEquals(expected, mainApp.getSpecificPluginsVisibleInList(PluginType.PUMP).size());
} }
@ -93,7 +93,7 @@ public class MainAppTest {
if (Config.NSCLIENT) if (Config.NSCLIENT)
expected = 1; // VirtualPump only expected = 1; // VirtualPump only
else else
expected = 7; expected = 8;
Assert.assertEquals(expected, mainApp.getSpecificPluginsListByInterface(PumpInterface.class).size()); Assert.assertEquals(expected, mainApp.getSpecificPluginsListByInterface(PumpInterface.class).size());
} }
@ -104,7 +104,7 @@ public class MainAppTest {
if (Config.NSCLIENT) if (Config.NSCLIENT)
expected = 1; // VirtualPump only expected = 1; // VirtualPump only
else else
expected = 7; expected = 8;
Assert.assertEquals(expected, mainApp.getSpecificPluginsVisibleInListByInterface(PumpInterface.class, PluginType.PUMP).size()); Assert.assertEquals(expected, mainApp.getSpecificPluginsVisibleInListByInterface(PumpInterface.class, PluginType.PUMP).size());
} }