B.14. com.samscdrental.tests Package

 <  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  >  


Prefactoring
Prefactoring: Extreme Abstraction, Extreme Separation, Extreme Readability
ISBN: 0596008740
EAN: 2147483647
Year: 2005
Pages: 175
Authors: Ken Pugh

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net