1 package org.roller.business; 2 3 import junit.framework.Test; 4 import junit.framework.TestCase; 5 import junit.framework.TestSuite; 6 7 8 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 testName) 30 { 31 super(testName); 32 } 33 34 public static void main(String [] args) 35 { 36 String [] testCaseName = { TestAll.class.getName() }; 37 junit.textui.TestRunner.main(testCaseName); 38 } 39 } | Popular Tags |