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