mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-16 01:19:49 +00:00
AbstractHafasClientInterfaceProvider: support fare references of type FS (fare set)
This commit is contained in:
parent
f2617c20a6
commit
11b3908135
2 changed files with 40 additions and 15 deletions
|
@ -149,6 +149,18 @@ public class VbbProviderLiveTest extends AbstractProviderLiveTest {
|
|||
print(earlierResult);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void tripBeelitzPotsdam() throws Exception {
|
||||
final Location from = new Location(LocationType.STATION, "900220005", "Beelitz", "Bahnhof");
|
||||
final Location to = new Location(LocationType.STATION, "900220010", "Potsdam", "Golm");
|
||||
final QueryTripsResult result = queryTrips(from, null, to, new Date(), true, null);
|
||||
print(result);
|
||||
final QueryTripsResult laterResult = queryMoreTrips(result.context, true);
|
||||
print(laterResult);
|
||||
final QueryTripsResult earlierResult = queryMoreTrips(laterResult.context, false);
|
||||
print(earlierResult);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void shortFootwayTrip() throws Exception {
|
||||
final Location from = new Location(LocationType.ADDRESS, null, Point.from1E6(52435193, 13473409),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue