reservations
Class ReservationRequestTest

java.lang.Object
  |
  +--reservations.ReservationRequestTest

public class ReservationRequestTest
extends java.lang.Object

Provides a test of the ReservationRequestGenerator.


Method Summary
static void main(java.lang.String[] args)
          Tests the creation of ReservationRequests (and Itineraries) and displays the contents of some sample ReservationRequest objects.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(java.lang.String[] args)
Tests the creation of ReservationRequests (and Itineraries) and displays the contents of some sample ReservationRequest objects.
 usage: reservations.ReservationRequestTest [names [destinations]]
 
If no command line arguments are provided, uses the default set of passenger names and itinerary destinations. If a single argument is provided, uses that as a file containing names of passengers that are matched up with the built-in destination set. A second argument will be used as an alternate destination set.