Skip to content
Permalink
Browse files

ignore the entire test class, instead of individual tests in the class.

  • Loading branch information...
pabender committed Jun 13, 2019
1 parent 7fd051d commit 8e58120d720ef9c266610ec8e9224f901bef5260
@@ -22,29 +22,27 @@
* @author Paul Bender Copyright (C) 2017, 2019
* @author Bob Jacobsen Copyright (C) 2017
*/
@Ignore("Replaced with Cucumber test")
public class DecoderProTest extends apps.LaunchJmriAppBase {

protected void launch(String[] args) {
DecoderPro.main(args);
}

@Test
@Ignore("Replaced with a Cucumber test")
public void testLaunchEasyDcc() throws IOException {
runOne("EasyDcc_Simulator", "DecoderPro", "DecoderPro version");
// param 1 is profile folder name, param 2 and 3 must match Console output
}

@Test
@Ignore("Replaced with a Cucumber test")
public void testLaunchGrapevine() throws IOException {
runOne("Grapevine_Simulator", "DecoderPro", "DecoderPro version");
JUnitAppender.suppressWarnMessage("Timeout can't be handled due to missing node (index 1)");
JUnitAppender.suppressWarnMessage("Timeout can't be handled due to missing node (index 0)");
}

@Test
@Ignore("Replaced with a Cucumber test")
public void testLaunchLocoNet() throws IOException {
runOne("LocoNet_Simulator", "DecoderPro", "DecoderPro version");
JUnitAppender.suppressWarnMessage("passing to xmit: unexpected exception: [LnPowerManager LnTrackStatusUpdateThread] jmri.jmrix.loconet.LnPacketizer.sendLocoNetMessage()");
@@ -53,19 +51,16 @@ public void testLaunchLocoNet() throws IOException {
}

@Test
@Ignore("Replaced with a Cucumber test")
public void testLaunchSprog() throws IOException {
runOne("Sprog_Simulator", "DecoderPro", "DecoderPro version");
}

@Test
@Ignore("Replaced with a Cucumber test")
public void testLaunchTmcc() throws IOException {
runOne("TMCC_Simulator", "DecoderPro", "DecoderPro version");
}

@Test
@Ignore("Replaced with a Cucumber test")
public void testLaunchInitLoop() throws IOException {
runOne("Prevent_Init_Loop", "DecoderPro", "DecoderPro version");
JUnitAppender.suppressWarnMessage("passing to xmit: unexpected exception: [LnPowerManager LnTrackStatusUpdateThread] jmri.jmrix.loconet.LnPacketizer.sendLocoNetMessage()");
@@ -22,29 +22,27 @@
* @author Paul Bender Copyright (C) 2017, 2019
* @author Bob Jacobsen Copyright (C) 2017
*/
@Ignore("Replaced with a Cucumber test")
public class DispatcherProTest extends apps.LaunchJmriAppBase {

protected void launch(String[] args) {
DispatcherPro.main(args);
}

@Test
@Ignore("Replaced with a Cucumber test")
public void testLaunchEasyDcc() throws IOException {
runOne("EasyDcc_Simulator", "DispatcherPro", "DispatcherPro version");
// param 1 is profile folder name, param 2 and 3 must match Console output
}

@Test
@Ignore("Replaced with a Cucumber test")
public void testLaunchGrapevine() throws IOException {
runOne("Grapevine_Simulator", "DispatcherPro", "DispatcherPro version");
JUnitAppender.suppressWarnMessage("Timeout can't be handled due to missing node (index 1)");
JUnitAppender.suppressWarnMessage("Timeout can't be handled due to missing node (index 0)");
}

@Test
@Ignore("Replaced with a Cucumber test")
public void testLaunchLocoNet() throws IOException {
runOne("LocoNet_Simulator", "DispatcherPro", "DispatcherPro version");
JUnitAppender.suppressWarnMessage("passing to xmit: unexpected exception: [LnPowerManager LnTrackStatusUpdateThread] jmri.jmrix.loconet.LnPacketizer.sendLocoNetMessage()");
@@ -53,19 +51,16 @@ public void testLaunchLocoNet() throws IOException {
}

@Test
@Ignore("Replaced with a Cucumber test")
public void testLaunchSprog() throws IOException {
runOne("Sprog_Simulator", "DispatcherPro", "DispatcherPro version");
}

@Test
@Ignore("Replaced with a Cucumber test")
public void testLaunchTmcc() throws IOException {
runOne("TMCC_Simulator", "DispatcherPro", "DispatcherPro version");
}

@Test
@Ignore("Replaced with a Cucumber test")
public void testLaunchInitLoop() throws IOException {
runOne("Prevent_Init_Loop", "DispatcherPro", "DispatcherPro version");
JUnitAppender.suppressWarnMessage("passing to xmit: unexpected exception: [LnPowerManager LnTrackStatusUpdateThread] jmri.jmrix.loconet.LnPacketizer.sendLocoNetMessage()");
@@ -23,6 +23,7 @@
* @author Paul Bender Copyright (C) 2017, 2019
* @author Bob Jacobsen Copyright (C) 2017
*/
@Ignore("Replaced with a Cucumber test")
public class PanelProTest extends apps.LaunchJmriAppBase {

protected void launch(String[] args) {
@@ -34,22 +35,19 @@ protected void extraChecks() {
}

@Test
@Ignore("Replaced with a Cucumber test")
public void testLaunchEasyDcc() throws IOException {
runOne("EasyDcc_Simulator", "PanelPro", "PanelPro version");
// param 1 is profile folder name, param 2 and 3 must match Console output
}

@Test
@Ignore("Replaced with a Cucumber test")
public void testLaunchGrapevine() throws IOException {
runOne("Grapevine_Simulator", "PanelPro", "PanelPro version");
JUnitAppender.suppressWarnMessage("Timeout can't be handled due to missing node (index 1)");
JUnitAppender.suppressWarnMessage("Timeout can't be handled due to missing node (index 0)");
}

@Test
@Ignore("Replaced with a Cucumber test")
public void testLaunchLocoNet() throws IOException {
runOne("LocoNet_Simulator", "PanelPro", "PanelPro version");
JUnitAppender.suppressWarnMessage("passing to xmit: unexpected exception: [LnPowerManager LnTrackStatusUpdateThread] jmri.jmrix.loconet.LnPacketizer.sendLocoNetMessage()");
@@ -58,19 +56,16 @@ public void testLaunchLocoNet() throws IOException {
}

@Test
@Ignore("Replaced with a Cucumber test")
public void testLaunchSprog() throws IOException {
runOne("Sprog_Simulator", "PanelPro", "PanelPro version");
}

@Test
@Ignore("Replaced with a Cucumber test")
public void testLaunchTmcc() throws IOException {
runOne("TMCC_Simulator", "PanelPro", "PanelPro version");
}

@Test
@Ignore("Replaced with a Cucumber test")
public void testLaunchInitLoop() throws IOException {
runOne("Prevent_Init_Loop", "PanelPro", "PanelPro version");
JUnitAppender.suppressWarnMessage("passing to xmit: unexpected exception: [LnPowerManager LnTrackStatusUpdateThread] jmri.jmrix.loconet.LnPacketizer.sendLocoNetMessage()");
@@ -22,21 +22,20 @@
* @author Paul Bender Copyright (C) 2017
* @author Bob Jacobsen Copyright (C) 2017
*/
@Ignore("Replaced with a Cucumber test")
public class SoundProTest extends apps.LaunchJmriAppBase {

protected void launch(String[] args) {
SoundPro.main(args);
}

@Test
@Ignore("Replaced with Cucumber test")
public void testLaunchEasyDcc() throws IOException {
runOne("EasyDcc_Simulator", "SoundPro", "SoundPro version");
// param 1 is profile folder name, param 2 and 3 must match Console output
}

@Test
@Ignore("Replaced with Cucumber test")
public void testLaunchGrapevine() throws IOException {
runOne("Grapevine_Simulator", "SoundPro", "SoundPro version");
JUnitAppender.suppressWarnMessage("Timeout can't be handled due to missing node (index 1)");
@@ -57,13 +56,11 @@ public void testLaunchSprog() throws IOException {
}

@Test
@Ignore("Replaced with Cucumber test")
public void testLaunchTmcc() throws IOException {
runOne("TMCC_Simulator", "SoundPro", "SoundPro version");
}

@Test
@Ignore("Replaced with Cucumber test")
public void testLaunchInitLoop() throws IOException {
runOne("Prevent_Init_Loop", "SoundPro", "SoundPro version");
JUnitAppender.suppressWarnMessage("passing to xmit: unexpected exception: [LnPowerManager LnTrackStatusUpdateThread] jmri.jmrix.loconet.LnPacketizer.sendLocoNetMessage()");

0 comments on commit 8e58120

Please sign in to comment.
You can’t perform that action at this time.