From 0517f99a4ebf680a302b43ae32d9d21c590d8c3f Mon Sep 17 00:00:00 2001 From: Andreas Schildbach Date: Tue, 29 Jul 2014 02:05:49 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20test=20cases=20for=20Kiel,=20L=C3=BCbeck?= =?UTF-8?q?=20&=20Schleswig-Holstein.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../de/schildbach/pte/live/ShProviderLiveTest.java | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/enabler/test/de/schildbach/pte/live/ShProviderLiveTest.java b/enabler/test/de/schildbach/pte/live/ShProviderLiveTest.java index 4d16dec3..927e9a4b 100644 --- a/enabler/test/de/schildbach/pte/live/ShProviderLiveTest.java +++ b/enabler/test/de/schildbach/pte/live/ShProviderLiveTest.java @@ -47,15 +47,7 @@ public class ShProviderLiveTest extends AbstractProviderLiveTest @Test public void nearbyStations() throws Exception { - final NearbyStationsResult result = provider.queryNearbyStations(new Location(LocationType.STATION, "715210"), 0, 0); - - print(result); - } - - @Test - public void nearbyStationsByCoordinate() throws Exception - { - final NearbyStationsResult result = provider.queryNearbyStations(new Location(LocationType.ADDRESS, 54318356, 10130053), 0, 0); + final NearbyStationsResult result = provider.queryNearbyStations(new Location(LocationType.STATION, "8002547"), 0, 0); print(result); } @@ -63,7 +55,7 @@ public class ShProviderLiveTest extends AbstractProviderLiveTest @Test public void queryDepartures() throws Exception { - final QueryDeparturesResult result = provider.queryDepartures("715210", 0, false); + final QueryDeparturesResult result = provider.queryDepartures("8002547", 0, false); print(result); } @@ -104,7 +96,7 @@ public class ShProviderLiveTest extends AbstractProviderLiveTest public void shortTrip() throws Exception { final QueryTripsResult result = queryTrips(new Location(LocationType.STATION, "8002547", null, "Flughafen Hamburg"), null, new Location( - LocationType.STATION, "715210", null, "Flughafen, Lübeck"), new Date(), true, Product.ALL, WalkSpeed.NORMAL, Accessibility.NEUTRAL); + LocationType.STATION, "8003781", null, "Lübeck Airport"), new Date(), true, Product.ALL, WalkSpeed.NORMAL, Accessibility.NEUTRAL); System.out.println(result); final QueryTripsResult laterResult = queryMoreTrips(result.context, true); System.out.println(laterResult);