KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > ojb > odmg > AllTests


1 package org.apache.ojb.odmg;
2
3 import junit.framework.Test;
4 import junit.framework.TestSuite;
5 import org.apache.ojb.broker.HsqldbShutdown;
6
7 /**
8  * the facade to all TestCases in this package.
9  * @author Thomas Mahler
10  */

11 public class AllTests extends junit.framework.TestSuite
12 {
13     /**
14      * runs the suite in a junit.textui.TestRunner.
15      */

16     public static void main(String JavaDoc[] args)
17     {
18         String JavaDoc[] arr = {AllTests.class.getName()};
19         junit.textui.TestRunner.main(arr);
20     }
21
22     /** build a TestSuite from all the TestCases in this package*/
23     public static Test suite()
24     {
25         TestSuite suite = new TestSuite();
26         suite.addTestSuite(OdmgExamples.class);
27         suite.addTestSuite(NamedRootsTest.class);
28         suite.addTestSuite(DListTest.class);
29         suite.addTestSuite(DMapTest.class);
30         suite.addTestSuite(DSetTest.class);
31         suite.addTestSuite(LockingTest.class);
32         suite.addTestSuite(LockingMultithreadedTest.class);
33         suite.addTestSuite(ProxyTest.class);
34         suite.addTestSuite(RITest.class);
35         suite.addTestSuite(ScrollableQueryResultsTest.class);
36         suite.addTestSuite(ProjectionAttributeTest.class);
37         suite.addTestSuite(ContractVersionEffectivenessOQLTest.class);
38         suite.addTestSuite(OQLTest.class);
39         suite.addTestSuite(ODMGRollbackTest.class);
40         suite.addTestSuite(MultiDBUsageTest.class);
41         suite.addTestSuite(UserTestCases.class);
42         suite.addTestSuite(BidirectionalAssociationTest.class);
43         suite.addTestSuite(ManyToManyTest.class);
44         suite.addTestSuite(OneToOneTest.class);
45         suite.addTestSuite(OneToManyTest.class);
46         suite.addTestSuite(OQLOrOnForeignKeyTest.class);
47         suite.addTestSuite(FieldConversionTest_4.class);
48         suite.addTestSuite(BatchModeTest.class);
49         suite.addTestSuite(CollectionsTest.class);
50         suite.addTestSuite(PersonWithArrayTest.class);
51         suite.addTestSuite(M2NTest.class);
52         suite.addTestSuite(ObjectImageTest.class);
53         suite.addTestSuite(InheritanceMultipleTableTest.class);
54         suite.addTestSuite(CircularTest.class);
55
56         // BRJ: ensure shutdown of hsqldb
57
suite.addTestSuite(HsqldbShutdown.class);
58         return suite;
59     }
60 }
61
Popular Tags