KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jbpm > bpel > exe > ActivityExeTests


1 package org.jbpm.bpel.exe;
2
3 import junit.framework.Test;
4 import junit.framework.TestSuite;
5
6 import org.jbpm.bpel.exe.flow.DPE1ExampleTest;
7 import org.jbpm.bpel.exe.flow.DPE2ExampleTest;
8 import org.jbpm.bpel.exe.flow.FlowGraphExampleTest;
9 import org.jbpm.bpel.exe.flow.LinkScopingExampleTest;
10
11 /**
12  * @author Juan Cantú
13  * @version $Revision: 1.1 $ $Date: 2005/04/08 18:37:01 $
14  */

15 public class ActivityExeTests {
16   
17   public static Test suite() {
18     TestSuite suite = new TestSuite(
19         "activity exe tests for org.jbpm.bpel.def");
20     try {
21       //basic elements
22
suite.addTestSuite(ActivityExeTest.class);
23       suite.addTestSuite(StructuredActivityTest.class);
24       suite.addTestSuite(LinkInstanceTest.class);
25       
26       //bpel composite activities
27
suite.addTestSuite(ScopeExeTest.class);
28       suite.addTestSuite(SequenceExeTest.class);
29       suite.addTestSuite(WhileExeTest.class);
30       suite.addTestSuite(PickExeTest.class);
31       suite.addTestSuite(FlowExeTest.class);
32       suite.addTestSuite(SwitchExeTest.class);
33       suite.addTestSuite(InitialActivitiesTest.class);
34
35       //graph related (BPEL spec 1.1 12.5.1 and 12.5.2)
36
suite.addTestSuite(DPE1ExampleTest.class);
37       suite.addTestSuite(DPE2ExampleTest.class);
38       suite.addTestSuite(FlowGraphExampleTest.class);
39       suite.addTestSuite(LinkScopingExampleTest.class);
40       
41       //basic activities
42
//TODO
43
}
44     catch (Throwable JavaDoc t) {
45       t.printStackTrace();
46     }
47     return suite;
48   }
49 }
50
Popular Tags