KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > jodd > datetime > AllTests


1 // Copyright (c) 2003-2007, Jodd Team (jodd.sf.net). All Rights Reserved.
2

3 package jodd.datetime;
4
5 import junit.framework.Test;
6 import junit.framework.TestSuite;
7
8 public class AllTests extends TestSuite {
9
10     public AllTests() {
11         super("jodd.datetime test suite");
12         addTestSuite(TimeUtilTest.class);
13         addTestSuite(JDateTimeTest.class);
14         addTestSuite(JDateTimeMoreTest.class);
15         addTestSuite(ValidsTest.class);
16     }
17
18     public static Test suite() {
19         return new AllTests();
20     }
21
22     public static void main(String JavaDoc[] args) {
23         junit.textui.TestRunner.run(suite());
24     }
25
26 }
Popular Tags