mirror of
https://github.com/bspeice/UNCCGameDay-Test
synced 2024-11-24 08:58:13 -05:00
Code to test fetching an individual lot.
This commit is contained in:
parent
7318fdec9f
commit
fe8838b189
@ -40,7 +40,7 @@ public class RegistrationClientTest extends AndroidTestCase {
|
|||||||
assertTrue((lots.size() > 0));
|
assertTrue((lots.size() > 0));
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testListLot() {
|
public void testFetchLot() {
|
||||||
RegistrationClient rc = new RegistrationClient(this.mContext);
|
RegistrationClient rc = new RegistrationClient(this.mContext);
|
||||||
ParkingLot lot = rc.listLot(ParkingChoices.BLUE);
|
ParkingLot lot = rc.listLot(ParkingChoices.BLUE);
|
||||||
assertTrue(lot.getLocation().getValue() == ParkingChoices.BLUE.getValue());
|
assertTrue(lot.getLocation().getValue() == ParkingChoices.BLUE.getValue());
|
||||||
|
Loading…
Reference in New Issue
Block a user