mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-14 00:30:31 +00:00
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:
parent
e897aaf718
commit
69ca0a5f94
69 changed files with 127 additions and 119 deletions
|
@ -85,7 +85,7 @@ public class RtProviderLiveTest extends AbstractProviderLiveTest
|
|||
new Location(LocationType.STATION, 8507785, null, "Bern, Hauptbahnhof"), 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);
|
||||
}
|
||||
|
||||
|
@ -96,7 +96,7 @@ public class RtProviderLiveTest extends AbstractProviderLiveTest
|
|||
.queryConnections(new Location(LocationType.ANY, 0, null, "Schocherswil, Alte Post!"), null, new Location(LocationType.ANY, 0, null,
|
||||
"Laconnex, Mollach"), 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);
|
||||
}
|
||||
|
||||
|
@ -107,7 +107,7 @@ public class RtProviderLiveTest extends AbstractProviderLiveTest
|
|||
new Location(LocationType.ADDRESS, 0, null, "Einsiedeln, Erlenmoosweg 24"), 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);
|
||||
}
|
||||
|
||||
|
@ -118,7 +118,7 @@ public class RtProviderLiveTest extends AbstractProviderLiveTest
|
|||
"26 Coopers Close, Poplar, Greater London E1 4, Vereinigtes Königreich"), null, new Location(LocationType.STATION, 8096022, 50941312,
|
||||
6967206, null, "COLOGNE"), 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);
|
||||
}
|
||||
|
||||
|
@ -129,7 +129,7 @@ public class RtProviderLiveTest extends AbstractProviderLiveTest
|
|||
new Location(LocationType.STATION, 8400058, null, "Amsterdam Centraal"), new Location(LocationType.STATION, 8000085, null,
|
||||
"Düsseldorf Hbf"), 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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue