Fix unit tests for added Combo plugin w/o engineering mode.
This commit is contained in:
parent
af563474d5
commit
a362eeb31b
|
@ -76,7 +76,7 @@ public class MainAppTest {
|
||||||
if (Config.NSCLIENT || Config.G5UPLOADER)
|
if (Config.NSCLIENT || Config.G5UPLOADER)
|
||||||
expected = 1; // VirtualPump only
|
expected = 1; // VirtualPump only
|
||||||
else
|
else
|
||||||
expected = 6;
|
expected = 7;
|
||||||
Assert.assertEquals(expected, mainApp.getSpecificPluginsList(PluginType.PUMP).size());
|
Assert.assertEquals(expected, mainApp.getSpecificPluginsList(PluginType.PUMP).size());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -87,7 +87,7 @@ public class MainAppTest {
|
||||||
if (Config.NSCLIENT || Config.G5UPLOADER)
|
if (Config.NSCLIENT || Config.G5UPLOADER)
|
||||||
expected = 1; // VirtualPump only
|
expected = 1; // VirtualPump only
|
||||||
else
|
else
|
||||||
expected = 6;
|
expected = 7;
|
||||||
Assert.assertEquals(expected, mainApp.getSpecificPluginsVisibleInList(PluginType.PUMP).size());
|
Assert.assertEquals(expected, mainApp.getSpecificPluginsVisibleInList(PluginType.PUMP).size());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -98,7 +98,7 @@ public class MainAppTest {
|
||||||
if (Config.NSCLIENT || Config.G5UPLOADER)
|
if (Config.NSCLIENT || Config.G5UPLOADER)
|
||||||
expected = 1; // VirtualPump only
|
expected = 1; // VirtualPump only
|
||||||
else
|
else
|
||||||
expected = 6;
|
expected = 7;
|
||||||
Assert.assertEquals(expected, mainApp.getSpecificPluginsListByInterface(PumpInterface.class).size());
|
Assert.assertEquals(expected, mainApp.getSpecificPluginsListByInterface(PumpInterface.class).size());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -109,7 +109,7 @@ public class MainAppTest {
|
||||||
if (Config.NSCLIENT || Config.G5UPLOADER)
|
if (Config.NSCLIENT || Config.G5UPLOADER)
|
||||||
expected = 1; // VirtualPump only
|
expected = 1; // VirtualPump only
|
||||||
else
|
else
|
||||||
expected = 6;
|
expected = 7;
|
||||||
Assert.assertEquals(expected, mainApp.getSpecificPluginsVisibleInListByInterface(PumpInterface.class, PluginType.PUMP).size());
|
Assert.assertEquals(expected, mainApp.getSpecificPluginsVisibleInListByInterface(PumpInterface.class, PluginType.PUMP).size());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue