KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jbpm > AllDbTests


1 package org.jbpm;
2
3 import junit.framework.Test;
4 import junit.framework.TestCase;
5 import junit.framework.TestSuite;
6
7 import org.jbpm.bytes.BytesDbTests;
8 import org.jbpm.context.exe.ContextExeDbTests;
9 import org.jbpm.db.CustomSchemaDbTests;
10 import org.jbpm.db.DbTests;
11 import org.jbpm.graph.action.GraphActionDbTests;
12 import org.jbpm.graph.def.GraphDefDbTests;
13 import org.jbpm.graph.exe.GraphExeDbTests;
14 import org.jbpm.graph.log.GraphLogDbTests;
15 import org.jbpm.graph.node.GraphNodeDbTests;
16 import org.jbpm.jpdl.exe.JpdlExeDbTests;
17 import org.jbpm.logging.log.LoggingLogDbTests;
18 import org.jbpm.scheduler.exe.SchedulerExeDbTests;
19 import org.jbpm.taskmgmt.def.TaskMgmtDefDbTests;
20 import org.jbpm.taskmgmt.exe.TaskMgmtExeDbTests;
21 import org.jbpm.taskmgmt.log.TaskMgmtLogDbTests;
22
23 public class AllDbTests extends TestCase {
24
25   public static Test suite() throws Exception JavaDoc {
26     TestSuite suite = new TestSuite("db tests");
27
28     try {
29       // standard schema tests
30
suite.addTest(BytesDbTests.suite());
31       suite.addTest(DbTests.suite());
32       suite.addTest(ContextExeDbTests.suite());
33       suite.addTest(GraphActionDbTests.suite());
34       suite.addTest(GraphDefDbTests.suite());
35       suite.addTest(GraphExeDbTests.suite());
36       suite.addTest(GraphLogDbTests.suite());
37       suite.addTest(GraphNodeDbTests.suite());
38       suite.addTest(JpdlExeDbTests.suite());
39       suite.addTest(LoggingLogDbTests.suite());
40       suite.addTest(SchedulerExeDbTests.suite());
41       suite.addTest(TaskMgmtDefDbTests.suite());
42       suite.addTest(TaskMgmtExeDbTests.suite());
43       suite.addTest(TaskMgmtLogDbTests.suite());
44
45       // custom schema tests
46
suite.addTest(CustomSchemaDbTests.suite());
47
48     } catch (Throwable JavaDoc t) {
49       t.printStackTrace();
50     }
51     
52     return suite;
53   }
54 }
55
Popular Tags