From 85a4cbc229ebb8e65eccce45e76d495f5f51c319 Mon Sep 17 00:00:00 2001 From: "andreas.schildbach@gmail.com" Date: Tue, 10 Jan 2012 15:14:13 +0000 Subject: [PATCH] short connection test git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@866 0924bc21-9374-b0fa-ee44-9ff1593b38f0 --- test/de/schildbach/pte/live/VgnProviderLiveTest.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/de/schildbach/pte/live/VgnProviderLiveTest.java b/test/de/schildbach/pte/live/VgnProviderLiveTest.java index 60451358..86567638 100644 --- a/test/de/schildbach/pte/live/VgnProviderLiveTest.java +++ b/test/de/schildbach/pte/live/VgnProviderLiveTest.java @@ -90,8 +90,9 @@ public class VgnProviderLiveTest @Test public void shortConnection() throws Exception { - final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 0, null, "Hauptwache"), null, - new Location(LocationType.STATION, 0, null, "Südbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL); + final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 451, "Nürnberg", "Ostring"), null, + new Location(LocationType.STATION, 510, "Nürnberg", "Hauptbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, + Accessibility.NEUTRAL); System.out.println(result); final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context); System.out.println(moreResult);