mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-07 05:08:46 +00:00
stricter patterns
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@509 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
0927031081
commit
dafd2d1a45
2 changed files with 17 additions and 5 deletions
|
@ -81,4 +81,16 @@ public class BvgProviderLiveTest
|
|||
provider.getConnectionDetails(connection.link);
|
||||
System.out.println(moreResult);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void connectionBetweenCoordinates() throws Exception
|
||||
{
|
||||
final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.ADDRESS, 0, 52501507, 13357026), null,
|
||||
new Location(LocationType.ADDRESS, 0, 52513639, 13568648), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL);
|
||||
System.out.println(result);
|
||||
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context);
|
||||
for (final Connection connection : result.connections)
|
||||
provider.getConnectionDetails(connection.link);
|
||||
System.out.println(moreResult);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue