Esempio 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;
 }
 // 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;
 }
Esempio 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);
 }
Esempio 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;
 }
Esempio 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);
 }