KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jbpm > bpel > xml > ReaderTests


1 package org.jbpm.bpel.xml;
2
3 import junit.framework.Test;
4 import junit.framework.TestSuite;
5
6 import org.jbpm.bpel.bar.ScopeMatcherTest;
7 import org.jbpm.bpel.par.BpelArchiveParserTest;
8 import org.jbpm.bpel.par.ParDescriptorArchiveParserTest;
9 import org.jbpm.bpel.par.ProcessArchiveTest;
10
11 /**
12  * @author Juan Cantú
13  * @version $Revision: 1.6 $ $Date: 2005/06/23 02:17:26 $
14  */

15 public class ReaderTests {
16   
17   public static Test suite() {
18     TestSuite suite = new TestSuite("Reader tests for org.jbpm.bpel.xml");
19     try {
20       //process
21
suite.addTestSuite(BpelReaderTest.class);
22       suite.addTestSuite(ImportReaderTest.class);
23       suite.addTestSuite(PartnerLinkReaderTest.class);
24       suite.addTestSuite(CorrelationsReaderTest.class);
25       
26       //activities
27
suite.addTestSuite(ActivityReaderTest.class);
28       suite.addTestSuite(InvokeReaderTest.class);
29       suite.addTestSuite(ReceiveReaderTest.class);
30       suite.addTestSuite(WaitReaderTest.class);
31       suite.addTestSuite(SequenceReaderTest.class);
32       suite.addTestSuite(FlowReaderTest.class);
33       suite.addTestSuite(SwitchReaderTest.class);
34       suite.addTestSuite(WhileReaderTest.class);
35       suite.addTestSuite(PickReaderTest.class);
36       suite.addTestSuite(ScopeReaderTest.class);
37       suite.addTestSuite(ReplyReaderTest.class);
38       suite.addTestSuite(CompensateReaderTest.class);
39       suite.addTestSuite(ThrowReaderTest.class);
40       suite.addTestSuite(AssignReaderTest.class);
41       
42       //transformation tests
43
suite.addTestSuite(BpelConverterTest.class);
44       suite.addTestSuite(WsdlConverterTest.class);
45       
46       // configuration tests
47
suite.addTestSuite(BarDescriptorReaderTest.class);
48       suite.addTestSuite(ScopeMatcherTest.class);
49       
50       // par tests
51
suite.addTestSuite(ParDescriptorReaderTest.class);
52       suite.addTestSuite(BpelArchiveParserTest.class);
53       suite.addTestSuite(ParDescriptorArchiveParserTest.class);
54       suite.addTestSuite(ProcessArchiveTest.class);
55     }
56     catch (Throwable JavaDoc t) {
57       t.printStackTrace();
58     }
59     return suite;
60   }
61 }
62
Popular Tags