package scenarios; import junit.framework.Assert; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * Primary test runner for this package. * * @author Bob Jacobsen Copyright 2009 * @version $Revision: 1201 $ */ public class PackageTest extends TestCase { public void testStart() { } // BlueGoldCheck not JUnit so can run standalone public void testBlueGold() throws Exception { BlueGoldCheck.runTest(); } // ConfigDemoApplet not JUnit so can run standalone public void testConfigDemoApplet() throws Exception { ConfigDemoApplet.runTest(); } // from here down is testing infrastructure public PackageTest(String s) { super(s); } // Main entry point static public void main(String[] args) { String[] testCaseName = {PackageTest.class.getName()}; junit.swingui.TestRunner.main(testCaseName); } // test suite from all defined tests public static Test suite() { TestSuite suite = new TestSuite(PackageTest.class); suite.addTest(NineOnALink.suite()); suite.addTest(TwoBuses.suite()); suite.addTest(TwoBusesFiltered.suite()); suite.addTest(ThreeBuses.suite()); suite.addTest(scenarios.can.CanScenarios.suite()); // Applets done above return suite; } }