1   /*
2    * @(#) EventRefTestSuite.java Aug 26, 2003
3    * 
4    * Copyright (c) 2003 Delft University of Technology Jaffalaan 5, 2628 BX Delft,
5    * the Netherlands All rights reserved.
6    * 
7    * This software is proprietary information of Delft University of Technology
8    * The code is published under the General Public License
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  		// nl.tudelft.simulation.event.ref
53  		suite.addTest(new EventRefTest());
54  
55  		//nl.tudelft.simulation.event.util
56  		suite.addTest(new EventIteratorTest());
57  
58  		// nl.tudelft.simulation.event
59  		suite.addTest(new EventTest());
60  		suite.addTest(new EventProducerTest());
61  		return suite;
62  	}
63  }