Exemplo n.º 1
0
 // test suite from all defined tests
 public static Test suite() {
   apps.tests.AllTest.initLogging();
   TestSuite suite = new TestSuite("jmri.jmrix.maple.SerialTest");
   suite.addTest(jmri.jmrix.maple.SerialTurnoutTest.suite());
   suite.addTest(jmri.jmrix.maple.SerialTurnoutManagerTest.suite());
   suite.addTest(jmri.jmrix.maple.SerialSensorManagerTest.suite());
   suite.addTest(jmri.jmrix.maple.SerialNodeTest.suite());
   suite.addTest(jmri.jmrix.maple.SerialMessageTest.suite());
   suite.addTest(jmri.jmrix.maple.SerialTrafficControllerTest.suite());
   suite.addTest(jmri.jmrix.maple.SerialAddressTest.suite());
   suite.addTest(jmri.jmrix.maple.OutputBitsTest.suite());
   suite.addTest(jmri.jmrix.maple.InputBitsTest.suite());
   suite.addTest(
       new junit.framework.JUnit4TestAdapter(jmri.jmrix.maple.serialdriver.PackageTest.class));
   suite.addTest(
       new junit.framework.JUnit4TestAdapter(jmri.jmrix.maple.configurexml.PackageTest.class));
   return suite;
 }
Exemplo n.º 2
0
 // test suite from all defined tests
 public static Test suite() {
   apps.tests.AllTest.initLogging();
   TestSuite suite = new TestSuite(ConfigToolActionTest.class);
   return suite;
 }
 // test suite from all defined tests
 public static Test suite() {
   apps.tests.AllTest.initLogging();
   TestSuite suite = new TestSuite(ResettingOffsetHighCvProgrammerFacadeTest.class);
   return suite;
 }
Exemplo n.º 4
0
 // Main entry point
 public static void main(String[] args) {
   apps.tests.AllTest.initLogging();
   String[] testCaseName = {"-noloading", PackageTest.class.getName()};
   junit.swingui.TestRunner.main(testCaseName);
 }
Exemplo n.º 5
0
 // test suite from all defined tests
 public static Test suite() {
   apps.tests.AllTest.initLogging();
   TestSuite suite = new TestSuite(GridConnectMessageTest.class);
   return suite;
 }
Exemplo n.º 6
0
 // Main entry point
 public static void main(String[] args) {
   apps.tests.AllTest.initLogging();
   String[] testCaseName = {"-noloading", GridConnectMessageTest.class.getName()};
   junit.textui.TestRunner.main(testCaseName);
 }