1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.apache.commons.scxml;
17
18 import junit.framework.Test;
19 import junit.framework.TestCase;
20 import junit.framework.TestSuite;
21 import junit.textui.TestRunner;
22
23 /***
24 * Test suite for the SCXML package.
25 *
26 */
27 public class SCXMLTestSuite extends TestCase {
28
29 /***
30 * Construct a new instance.
31 */
32 public SCXMLTestSuite(String name) {
33 super(name);
34 }
35
36 /***
37 * Command-line interface.
38 */
39 public static void main(String[] args) {
40 TestRunner.run(suite());
41 }
42
43 /***
44 * Get the suite of tests
45 */
46 public static Test suite() {
47 TestSuite suite = new TestSuite();
48 suite.setName("Commons-SCXML Tests");
49 suite.addTest(BuiltinTest.suite());
50 suite.addTest(EventDataTest.suite());
51 suite.addTest(SCInstanceTest.suite());
52 suite.addTest(SCXMLExecutorTest.suite());
53 suite.addTest(SCXMLHelperTest.suite());
54 suite.addTest(StatusTest.suite());
55 suite.addTest(TriggerEventTest.suite());
56 suite.addTest(WildcardTest.suite());
57 suite.addTest(WizardsTest.suite());
58 return suite;
59 }
60 }