query previous connections for EFA based providers

git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@944 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
andreas.schildbach@gmail.com 2012-02-14 10:34:23 +00:00
parent e897aaf718
commit 69ca0a5f94
69 changed files with 127 additions and 119 deletions

View file

@ -85,7 +85,7 @@ public class BayernProviderLiveTest extends AbstractProviderLiveTest
new Location(LocationType.STATION, 80000799, "München", "Pasing"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL,
Accessibility.NEUTRAL);
System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult);
}
@ -105,7 +105,7 @@ public class BayernProviderLiveTest extends AbstractProviderLiveTest
final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.ADDRESS, 0, 48165238, 11577473), null,
new Location(LocationType.ADDRESS, 0, 47987199, 11326532), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult);
}
@ -115,7 +115,7 @@ public class BayernProviderLiveTest extends AbstractProviderLiveTest
final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.ADDRESS, 0, 48238341, 11478230), null,
new Location(LocationType.ANY, 0, null, "Ostbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult);
}
@ -126,7 +126,7 @@ public class BayernProviderLiveTest extends AbstractProviderLiveTest
null, new Location(LocationType.ADDRESS, 0, null, "Starnberg, Jahnstraße 50"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL,
Accessibility.NEUTRAL);
System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult);
}
@ -137,7 +137,7 @@ public class BayernProviderLiveTest extends AbstractProviderLiveTest
new Location(LocationType.ADDRESS, 0, 48188018, 11574239, null, "München Frankfurter Ring 35"), new Date(), true, ALL_PRODUCTS,
WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult);
}
}