mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-07 23:18:48 +00:00
short connection test
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@866 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
5b9d52c0ea
commit
85a4cbc229
1 changed files with 3 additions and 2 deletions
|
@ -90,8 +90,9 @@ public class VgnProviderLiveTest
|
||||||
@Test
|
@Test
|
||||||
public void shortConnection() throws Exception
|
public void shortConnection() throws Exception
|
||||||
{
|
{
|
||||||
final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 0, null, "Hauptwache"), null,
|
final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 451, "Nürnberg", "Ostring"), null,
|
||||||
new Location(LocationType.STATION, 0, null, "Südbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
|
new Location(LocationType.STATION, 510, "Nürnberg", "Hauptbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL,
|
||||||
|
Accessibility.NEUTRAL);
|
||||||
System.out.println(result);
|
System.out.println(result);
|
||||||
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context);
|
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context);
|
||||||
System.out.println(moreResult);
|
System.out.println(moreResult);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue