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