View Javadoc
1   package junit.tests.extensions;
2   
3   import junit.framework.Test;
4   import junit.framework.TestSuite;
5   
6   /**
7    * TestSuite that runs all the extension tests
8    */
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() { // Collect tests manually because we have to test class collection code
16          TestSuite suite = new TestSuite("Framework Tests");
17          suite.addTestSuite(ExtensionTest.class);
18          suite.addTestSuite(ActiveTestTest.class);
19          suite.addTestSuite(RepeatedTestTest.class);
20          return suite;
21      }
22  }