|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
taxisrus.tests.ModelUnitTest
Template for creating new JUnit testcases. Replace all instances of UnitTestTemplate with the desired test name. All methods beginning with the the lowercase word "test" will be invoked (via Java's reflection).
| Constructor Summary | |
ModelUnitTest(String s)
|
|
| Method Summary | |
static junit.framework.Test |
suite()
|
void |
test_cabIsScheduled()
Tests cabIsScheduled method works correctly. |
void |
test_cabRefusedRide()
Tests Model's cabRefusedRide method works correctly. |
void |
test_rideRequest()
Tests rideRequest method used by scheduler. |
void |
testAddCustomer()
Tests adding a customer. |
void |
testCancelCustomerAndCancelCab()
Tests canceling a customer. |
void |
testChangeCustomer()
Tests changing a customer. |
void |
testMoveCabFromBusyToZoneANDZoneToBusy()
|
void |
testRemoveCabFromZone()
|
void |
testUpdateModelCabInfo0()
test UpdateModelCabInfo() method dropoff case, case 0, is done |
void |
testUpdateModelCabInfo2()
test UpdateModelCabInfo() method pickup case, case 2, not done, Margaret will be back at around 6pm to finish |
| Constructor Detail |
public ModelUnitTest(String s)
| Method Detail |
public static junit.framework.Test suite()
public void testAddCustomer()
public void testCancelCustomerAndCancelCab()
public void testChangeCustomer()
public void testMoveCabFromBusyToZoneANDZoneToBusy()
public void testRemoveCabFromZone()
public void testUpdateModelCabInfo0()
public void testUpdateModelCabInfo2()
public void test_cabIsScheduled()
public void test_cabRefusedRide()
public void test_rideRequest()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||