1 package junit.tests.framework; 2 3 import junit.framework.*; 4 5 9 public class AllTests { 10 11 public static void main(String [] args) { 12 junit.textui.TestRunner.run(suite()); 13 } 14 15 public static Test suite() { 16 TestSuite suite= new TestSuite("Framework Tests"); 17 suite.addTestSuite(TestCaseTest.class); 18 suite.addTest(SuiteTest.suite()); suite.addTestSuite(TestListenerTest.class); 20 suite.addTestSuite(AssertTest.class); 21 suite.addTestSuite(TestImplementorTest.class); 22 suite.addTestSuite(NoArgTestCaseTest.class); 23 suite.addTestSuite(ComparisonFailureTest.class); 24 suite.addTestSuite(DoublePrecisionAssertTest.class); 25 return suite; 26 } 27 28 } | Popular Tags |