KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > jodd > db > AllTests


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

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