mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-16 09:29:49 +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
|
@ -77,7 +77,7 @@ public class VbbProviderLiveTest extends AbstractProviderLiveTest
|
|||
null, new Location(LocationType.STATION, 9013103, "Berlin", "Prinzenstraße"), 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);
|
||||
}
|
||||
|
||||
|
@ -88,7 +88,7 @@ public class VbbProviderLiveTest extends AbstractProviderLiveTest
|
|||
new Location(LocationType.STATION, 9044202, "Berlin", "Bundesplatz"), new Location(LocationType.STATION, 9013103, "Berlin",
|
||||
"Prinzenstraße"), 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);
|
||||
}
|
||||
|
||||
|
@ -99,7 +99,7 @@ public class VbbProviderLiveTest extends AbstractProviderLiveTest
|
|||
new Location(LocationType.ADDRESS, 0, 52513639, 13568648, null, null), 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);
|
||||
}
|
||||
|
||||
|
@ -110,7 +110,7 @@ public class VbbProviderLiveTest extends AbstractProviderLiveTest
|
|||
new Location(LocationType.ADDRESS, 0, 52479868, 13324247, null, null), new Location(LocationType.ADDRESS, 0, 52513639, 13568648,
|
||||
null, null), 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);
|
||||
}
|
||||
|
||||
|
@ -121,7 +121,7 @@ public class VbbProviderLiveTest extends AbstractProviderLiveTest
|
|||
"10715 Bln Charlb.-Wilm., Weimarische Str. 7"), null, new Location(LocationType.ADDRESS, 0, null, "10178 Bln Mitte, Sophienstr. 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);
|
||||
}
|
||||
|
||||
|
@ -133,7 +133,7 @@ public class VbbProviderLiveTest extends AbstractProviderLiveTest
|
|||
new Location(LocationType.ADDRESS, 0, null, "10178 Bln Mitte, Sophienstr. 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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue