1 package junitx.example; 2 3 import junit.framework.Test; 4 import junit.framework.TestSuite; 5 6 10 public class AllTests { 11 12 public static Test suite() { 13 TestSuite suite = new TestSuite(); 14 15 suite.addTestSuite(ErrorTestCase.class); 16 suite.addTestSuite(IgnoredTestCase.class); 17 suite.addTestSuite(FailureTestCase.class); 18 suite.addTestSuite(SuccessTestCase.class); 19 suite.addTestSuite(WarningTestCase.class); 20 suite.addTestSuite(SetupFailTestCase.class); 21 suite.addTestSuite(SetupErrorTestCase.class); 22 suite.addTest(SuccessTestSetup.suite()); 23 suite.addTest(FailSetupTestSetup.suite()); 24 suite.addTest(ErrorSetupTestSetup.suite()); 25 suite.addTestSuite(SuccessAssert14TestCase.class); 26 suite.addTestSuite(FailureAssert14TestCase.class); 27 28 return suite; 29 } 30 31 } 32 | Popular Tags |