| < Day Day Up > |
| The tests for the RentalOperations are in this package. B.14.1. CheckinCheckoutTests.java public class CheckinCheckoutTests extends TestCase { public CheckinCheckoutTests( ) public CheckinCheckoutTests( String name ) public void testNormalOperation( ) throws Exception public void testLateReturn( ) throws Exception public void testBadPhysicalID( ) throws Exception public void testBadCustomerID( ) throws Exception public void testNonExistentPhysicalID( ) throws Exception public void testNonExistentCustomerID( ) throws Exception public void testAlreadyRented( ) throws Exception public void testReturnNotRented( ) throws Exception public static Test suite( ) public static void main( String[] args ) protected void setUp( ) throws Exception protected void tearDown( ) throws Exception } B.14.2. TestOnlyOperations.java public class TestOnlyOperations { static TestOnlyOperations getInstance( ) void collectionsClear( ) void setStartTimeForRentalBackSomeDays( PhysicalID aPhysicalID, int days ) } |
| < Day Day Up > |