mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-17 08:39:50 +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 BayernProviderLiveTest extends AbstractProviderLiveTest
|
|||
new Location(LocationType.STATION, 80000799, "München", "Pasing"), 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);
|
||||
}
|
||||
|
||||
|
@ -105,7 +105,7 @@ public class BayernProviderLiveTest extends AbstractProviderLiveTest
|
|||
final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.ADDRESS, 0, 48165238, 11577473), null,
|
||||
new Location(LocationType.ADDRESS, 0, 47987199, 11326532), 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);
|
||||
}
|
||||
|
||||
|
@ -115,7 +115,7 @@ public class BayernProviderLiveTest extends AbstractProviderLiveTest
|
|||
final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.ADDRESS, 0, 48238341, 11478230), null,
|
||||
new Location(LocationType.ANY, 0, null, "Ostbahnhof"), 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);
|
||||
}
|
||||
|
||||
|
@ -126,7 +126,7 @@ public class BayernProviderLiveTest extends AbstractProviderLiveTest
|
|||
null, new Location(LocationType.ADDRESS, 0, null, "Starnberg, Jahnstraße 50"), 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);
|
||||
}
|
||||
|
||||
|
@ -137,7 +137,7 @@ public class BayernProviderLiveTest extends AbstractProviderLiveTest
|
|||
new Location(LocationType.ADDRESS, 0, 48188018, 11574239, null, "München Frankfurter Ring 35"), 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