public class FlightTest
extends java.lang.Object
Constructor and Description |
---|
FlightTest() |
public void testGetOpenBookings()
Flight.getBookings()
.public void testCloseBookingBooking()
Flight.closeBooking(com.ecse321.flightbooking.bookings.Booking)
.public void testGenericFlight()
GenericFlight.GenericFlight()
.public void testGenericFlightDateDateAirportAirportLong() throws java.text.ParseException
GenericFlight.GenericFlight(java.util.Date, java.util.Date, com.ecse321.flightbooking.flights.Airport, com.ecse321.flightbooking.flights.Airport, long)
.java.text.ParseException
public void testGetSetDepartureTime() throws java.text.ParseException
GenericFlight.getDepartureTime()
.java.text.ParseException
public void testGetSetArrivalTime() throws java.text.ParseException
GenericFlight.getArrivalTime()
.java.text.ParseException
public void testGetSetValidityPeriod() throws java.text.ParseException
GenericFlight.getValidityPeriod()
.java.text.ParseException
public void testGetSetDepartureAirport() throws java.text.ParseException
GenericFlight.getDepartureAirport()
.java.text.ParseException
public void testGetSetArrivalAirport() throws java.text.ParseException
GenericFlight.getArrivalAirport()
.java.text.ParseException
public void testGetSetFlightNumber()
GenericFlight.getFlightNumber()
.public void testGetStopovers()
GenericFlight.getStopovers()
.public void testAddStopover()
public void testAddStopoverOutOfRang()
public void testRemoveStopoverStopoverInfo()
public void testClearStopovers()
GenericFlight.clearStopovers()
.public void testGetLength()
GenericFlight.getLength()
.public void testGetLengthNull()