mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-19 00:39:58 +00:00
fixed test
This commit is contained in:
parent
e5af90ccac
commit
af9bbdaec2
1 changed files with 6 additions and 3 deletions
|
@ -120,11 +120,14 @@ public class BahnProviderLiveTest extends AbstractProviderLiveTest
|
||||||
@Test
|
@Test
|
||||||
public void connectionWithFootway() throws Exception
|
public void connectionWithFootway() throws Exception
|
||||||
{
|
{
|
||||||
final QueryConnectionsResult result = queryConnections(new Location(LocationType.ADDRESS, 0, null, "Berlin - Mitte, Unter den Linden 24"),
|
final QueryConnectionsResult result = queryConnections(new Location(LocationType.ADDRESS, 0, 52517139, 13388749, null,
|
||||||
null, new Location(LocationType.ADDRESS, 0, null, "Starnberg, Possenhofener Straße 13"), new Date(), true, ALL_PRODUCTS,
|
"Berlin - Mitte, Unter den Linden 24"), null, new Location(LocationType.ADDRESS, 0, 47994243, 11338543, null,
|
||||||
WalkSpeed.NORMAL, Accessibility.NEUTRAL);
|
"Starnberg, Possenhofener Straße 13"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
|
||||||
System.out.println(result);
|
System.out.println(result);
|
||||||
|
|
||||||
|
if (!result.context.canQueryLater())
|
||||||
|
return;
|
||||||
|
|
||||||
final QueryConnectionsResult laterResult = queryMoreConnections(result.context, true);
|
final QueryConnectionsResult laterResult = queryMoreConnections(result.context, true);
|
||||||
System.out.println(laterResult);
|
System.out.println(laterResult);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue