1
2
3
4
5
6
7
8
9
10 package nl.tudelft.simulation.event;
11
12 import junit.framework.Test;
13 import junit.framework.TestSuite;
14 import nl.tudelft.simulation.event.ref.EventRefTest;
15 import nl.tudelft.simulation.event.util.EventIteratorTest;
16
17 /***
18 * The EventTestSuite defines the JUnit Test Suite which tests all Event
19 * classes.
20 * <p>
21 * (c) copyright 2003 <a href="http://www.simulation.tudelft.nl">Delft
22 * University of Technology </a>, the Netherlands. <br>
23 * See for project information <a
24 * href="http://www.simulation.tudelft.nl">www.simulation.tudelft.nl </a> <br>
25 * License of use: <a href="http://www.gnu.org/copyleft/gpl.html">General Public
26 * License (GPL) </a>, no warranty <br>
27 *
28 * @author <a href="http://www.tbm.tudelft.nl/webstaf/peterja/index.htm">Peter
29 * Jacobs </a>
30 * @version 1.2 Apr 26, 2004
31 * @since 1.4
32 */
33 public final class EventTestSuite
34 {
35 /***
36 * constructs a new EventRefTestSuite
37 */
38 private EventTestSuite()
39 {
40 super();
41 }
42
43 /***
44 * constructs the test suite
45 *
46 * @return Test the main DSOL Test Suite
47 */
48 public static Test suite()
49 {
50 TestSuite suite = new TestSuite("EVENT Test Suite");
51
52
53 suite.addTest(new EventRefTest());
54
55
56 suite.addTest(new EventIteratorTest());
57
58
59 suite.addTest(new EventTest());
60 suite.addTest(new EventProducerTest());
61 return suite;
62 }
63 }