booking system

  1. /*
  2.  * RootSuite.java
  3.  * JUnit based test
  4.  *
  5.  * Created on 8 novembre 2004, 11:45
  6.  */
  7.  
  8. import junit.framework.*;
  9. import test.*;
  10.  
  11. /**
  12.  *
  13.  * @author mathieu
  14.  */
  15. public class RootSuite extends TestCase {
  16.    
  17.     public RootSuite (java.lang.String testName) {
  18.         super (testName);
  19.     }
  20.    
  21.     /**
  22.      * suite method automatically generated by JUnit module
  23.      */
  24.     public static Test suite () {
  25.         TestSuite suite = new TestSuite ("RootSuite");
  26.         suite.addTest (FlightSystemTest.suite ());
  27.         suite.addTest (checkArgumentsTest.suite ());
  28.         return suite;
  29.     }
  30.    
  31.     static public void main (String[] argv) {
  32.     FlightSystemTest.testCreate ();
  33.     FlightSystemTest.testReserve ();
  34.     FlightSystemTest.testCancel ();
  35.     }
  36.    
  37.     // TODO add test methods here, they have to start with 'test' name.
  38.     // for example:
  39.     // public void testHello() {}
  40.    
  41.    
  42. }
  43.  

contact - link to this site