1   /*
2    * @(#) EventRefTestSuite.java Aug 26, 2003 Copyright (c) 2002-2005 Delft
3    * University of Technology Jaffalaan 5, 2628 BX Delft, the Netherlands. All
4    * rights reserved. This software is proprietary information of Delft University
5    * of Technology The code is published under the Lesser General Public License
6    */
7   package nl.tudelft.simulation.event;
8   
9   import junit.framework.Test;
10  import junit.framework.TestSuite;
11  import nl.tudelft.simulation.event.ref.EventRefTest;
12  import nl.tudelft.simulation.event.util.EventIteratorTest;
13  
14  /***
15   * The EventTestSuite defines the JUnit Test Suite which tests all Event
16   * classes.
17   * <p>
18   * (c) copyright 2002-2005 <a href="http://www.simulation.tudelft.nl">Delft
19   * University of Technology </a>, the Netherlands. <br>
20   * See for project information <a
21   * href="http://www.simulation.tudelft.nl">www.simulation.tudelft.nl </a> <br>
22   * License of use: <a href="http://www.gnu.org/copyleft/lesser.html">Lesser
23   * General Public License (LGPL) </a>, no warranty.
24   * 
25   * @author <a href="http://www.peter-jacobs.com/index.htm">Peter Jacobs </a>
26   * @version $Revision: 1.6 $ $Date: 2005/07/04 12:23:03 $
27   * @since 1.5
28   */
29  public final class EventTestSuite
30  {
31      /***
32       * constructs a new EventRefTestSuite
33       */
34      private EventTestSuite()
35      {
36          super();
37      }
38  
39      /***
40       * constructs the test suite
41       * 
42       * @return Test the main DSOL Test Suite
43       */
44      public static Test suite()
45      {
46          TestSuite suite = new TestSuite("EVENT Test Suite");
47  
48          // nl.tudelft.simulation.event.ref
49          suite.addTest(new EventRefTest());
50  
51          // nl.tudelft.simulation.event.util
52          suite.addTest(new EventIteratorTest());
53  
54          // nl.tudelft.simulation.event
55          suite.addTest(new EventTest());
56          suite.addTest(new EventProducerTest());
57          return suite;
58      }
59  }