KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > roller > business > TestAll


1 package org.roller.business;
2
3 import junit.framework.Test;
4 import junit.framework.TestCase;
5 import junit.framework.TestSuite;
6
7
8 /**
9  * Run the essential business layer tests (convenience test for IDEs)
10  *
11  * @author llavandowska
12  */

13 public class TestAll extends TestCase
14 {
15     public static Test suite()
16     {
17         TestSuite suite = new TestSuite();
18         suite.addTest(BookmarkManagerTest.suite());
19         suite.addTest(ConfigManagerTest.suite());
20         suite.addTest(FileManagerTest.suite());
21         suite.addTest(IndexManagerTest.suite());
22         suite.addTest(PermissionsTest.suite());
23         suite.addTest(PlanetManagerTest.suite());
24         suite.addTest(RefererManagerTest.suite());
25         suite.addTest(UserManagerTest.suite());
26         suite.addTest(WeblogManagerTest.suite());
27         return suite;
28     }
29     public TestAll(String JavaDoc testName)
30     {
31         super(testName);
32     }
33
34     public static void main(String JavaDoc[] args)
35     {
36         String JavaDoc[] testCaseName = { TestAll.class.getName() };
37         junit.textui.TestRunner.main(testCaseName);
38     }
39 }
Popular Tags