mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-07 15:18:49 +00:00
better connection testcases
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@752 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
d8d7d20c22
commit
4242eded41
1 changed files with 4 additions and 4 deletions
|
@ -89,8 +89,8 @@ public class SncbProviderLiveTest
|
|||
@Test
|
||||
public void shortConnection() throws Exception
|
||||
{
|
||||
final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 100024), null, new Location(
|
||||
LocationType.STATION, 100066), new Date(), true, null, WalkSpeed.FAST);
|
||||
final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 8821006, "Antwerpen", "Centraal"), null,
|
||||
new Location(LocationType.STATION, 8813003, "Brussel", "Centraal"), new Date(), true, null, WalkSpeed.FAST);
|
||||
System.out.println(result.status + " " + result.connections);
|
||||
|
||||
if (result.context != null)
|
||||
|
@ -103,8 +103,8 @@ public class SncbProviderLiveTest
|
|||
@Test
|
||||
public void longConnection() throws Exception
|
||||
{
|
||||
final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 100024), null, new Location(
|
||||
LocationType.STATION, 103624), new Date(), true, null, WalkSpeed.FAST);
|
||||
final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 207280, "Brussel", "Wannecouter"), null,
|
||||
new Location(LocationType.STATION, 207272, "Brussel", "Stadion"), new Date(), true, null, WalkSpeed.FAST);
|
||||
System.out.println(result.status + " " + result.connections);
|
||||
|
||||
if (result.context != null)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue