KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > junitx > example > AllTests


1 package junitx.example;
2
3 import junit.framework.Test;
4 import junit.framework.TestSuite;
5
6 /**
7  * @version $Revision: 1.6 $, $Date: 2003/05/08 02:51:15 $
8  * @author <a HREF="mailto:vbossica@users.sourceforge.net">Vladimir Ritz Bossicard</a>
9  */

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