KickJava   Java API By Example, From Geeks To Geeks.

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


1 package org.roller.presentation;
2
3 import junit.framework.Test;
4 import junit.framework.TestCase;
5 import junit.framework.TestSuite;
6
7 import org.roller.BlacklistTest;
8 import org.roller.DateTest;
9 import org.roller.presentation.bookmarks.BookmarksActionTest;
10 import org.roller.presentation.filters.RequestFilterTest;
11 import org.roller.presentation.velocity.plugins.smileys.SmileysTest;
12 import org.roller.presentation.velocity.plugins.textile.TextileTest;
13 import org.roller.presentation.weblog.WeblogEntryActionTest;
14 import org.roller.presentation.xmlrpc.RollerXmlRpcServerTest;
15 import org.roller.util.LRUCache2Test;
16 import org.roller.util.LinkbackExtractorTest;
17 import org.roller.util.RegexUtilTest;
18 import org.roller.util.UtilitiesTest;
19 import org.roller.util.rome.DiskFeedInfoCacheTest;
20
21 /**
22  * Run the essential presentation layer tests (convenience test for IDEs)
23  * @author Dave M Johnson
24  */

25 public class TestAll extends TestCase
26 {
27     public static Test suite()
28     {
29         TestSuite suite = new TestSuite();
30         suite.addTest(BlacklistTest.suite());
31         suite.addTest(DateTest.suite());
32         suite.addTest(BookmarksActionTest.suite());
33         suite.addTest(RequestFilterTest.suite());
34         suite.addTest(SearchServletTest.suite());
35         suite.addTest(SmileysTest.suite());
36         suite.addTest(TextileTest.suite());
37         suite.addTest(WeblogEntryActionTest.suite());
38         suite.addTest(RollerXmlRpcServerTest.suite());
39         suite.addTest(LinkbackExtractorTest.suite());
40         suite.addTest(LRUCache2Test.suite());
41         suite.addTest(RegexUtilTest.suite());
42         suite.addTest(DiskFeedInfoCacheTest.suite());
43         suite.addTest(UtilitiesTest.suite());
44         // TODO: suite.addTest(ApplicationResourcesTest.suite());
45
// TODO: suite.addTest(ArchiveParserTest.suite());
46
// TODO: suite.addTest(AtomCollectionTest.suite());
47
// TODO: suite.addTest(AtomServletTest.suite());
48
// TODO: suite.addTest(ExportRssTest.suite());
49
//suite.addTest(LanguageUtilTest.suite());
50
return suite;
51     }
52     public TestAll(String JavaDoc testName)
53     {
54         super(testName);
55     }
56     public static void main(String JavaDoc[] args)
57     {
58         //String[] testCaseName = { TestAll.class.getName() };
59
junit.textui.TestRunner.run(TestAll.suite());
60     }
61 }
Popular Tags