From 6bd827266991f230b8982e9cc74dcbf745008473 Mon Sep 17 00:00:00 2001 From: bspeice Date: Mon, 28 Oct 2013 15:00:10 -0400 Subject: [PATCH] Switch from ParkingChoices to ParkingChoice --- src/com/uncc/gameday/parking/test/ParkingClientTest.java | 8 ++++---- .../gameday/registration/test/RegistrationClientTest.java | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/com/uncc/gameday/parking/test/ParkingClientTest.java b/src/com/uncc/gameday/parking/test/ParkingClientTest.java index cb4291a..e028bc5 100644 --- a/src/com/uncc/gameday/parking/test/ParkingClientTest.java +++ b/src/com/uncc/gameday/parking/test/ParkingClientTest.java @@ -5,7 +5,7 @@ import java.net.URL; import java.util.List; import com.uncc.gameday.R; -import com.uncc.gameday.parking.ParkingChoices; +import com.uncc.gameday.parking.ParkingChoice; import com.uncc.gameday.parking.ParkingLot; import com.uncc.gameday.parking.ParkingRating; import com.uncc.gameday.parking.RatingChoices; @@ -41,13 +41,13 @@ public class ParkingClientTest extends AndroidTestCase{ public void testFetchLot() { ParkingClient pc = new ParkingClient(this.mContext); - ParkingLot lot = pc.listLot(ParkingChoices.BLUE); - assertTrue(lot.getLocation().getValue() == ParkingChoices.BLUE.getValue()); + ParkingLot lot = pc.listLot(ParkingChoice.BLUE); + assertTrue(lot.getLocation().getValue() == ParkingChoice.BLUE.getValue()); } public void testRateLot() throws InterruptedException { ParkingClient pc = new ParkingClient(this.mContext); - ParkingChoices choice = ParkingChoices.BLUE; + ParkingChoice choice = ParkingChoice.BLUE; // To test and make sure this works: // Rate a lot empty 10 times to flush out any other ratings, diff --git a/src/com/uncc/gameday/registration/test/RegistrationClientTest.java b/src/com/uncc/gameday/registration/test/RegistrationClientTest.java index 3561a22..68d6983 100644 --- a/src/com/uncc/gameday/registration/test/RegistrationClientTest.java +++ b/src/com/uncc/gameday/registration/test/RegistrationClientTest.java @@ -7,7 +7,7 @@ import java.util.List; import android.test.AndroidTestCase; import com.uncc.gameday.R; -import com.uncc.gameday.parking.ParkingChoices; +import com.uncc.gameday.parking.ParkingChoice; import com.uncc.gameday.parking.ParkingLot; import com.uncc.gameday.parking.ParkingRating; import com.uncc.gameday.parking.RatingChoices;