mirror of
https://github.com/bspeice/UNCCGameDay-Test
synced 2024-11-21 23:48:12 -05:00
Test the single lot list code
This commit is contained in:
parent
4111794df4
commit
7318fdec9f
@ -5,6 +5,7 @@ import java.net.URL;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import com.uncc.gameday.R;
|
import com.uncc.gameday.R;
|
||||||
|
import com.uncc.gameday.registration.ParkingChoices;
|
||||||
import com.uncc.gameday.registration.ParkingLot;
|
import com.uncc.gameday.registration.ParkingLot;
|
||||||
import com.uncc.gameday.registration.RegistrationClient;
|
import com.uncc.gameday.registration.RegistrationClient;
|
||||||
|
|
||||||
@ -39,4 +40,10 @@ public class RegistrationClientTest extends AndroidTestCase {
|
|||||||
assertTrue((lots.size() > 0));
|
assertTrue((lots.size() > 0));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void testListLot() {
|
||||||
|
RegistrationClient rc = new RegistrationClient(this.mContext);
|
||||||
|
ParkingLot lot = rc.listLot(ParkingChoices.BLUE);
|
||||||
|
assertTrue(lot.getLocation().getValue() == ParkingChoices.BLUE.getValue());
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user