mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-07 06:08:52 +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
|
@ -92,7 +92,7 @@ public class BvgProviderLiveTest 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);
|
||||
}
|
||||
|
||||
|
@ -103,7 +103,7 @@ public class BvgProviderLiveTest 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);
|
||||
}
|
||||
|
||||
|
@ -114,7 +114,7 @@ public class BvgProviderLiveTest 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);
|
||||
}
|
||||
|
||||
|
@ -125,7 +125,7 @@ public class BvgProviderLiveTest extends AbstractProviderLiveTest
|
|||
"Christburger Straße 1, 10405 Berlin, Deutschland"), null, new Location(LocationType.ADDRESS, 0, 52486400, 13350744, null,
|
||||
"Eisenacher Straße 70, 10823 Berlin, Deutschland"), 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);
|
||||
}
|
||||
|
||||
|
@ -136,7 +136,7 @@ public class BvgProviderLiveTest 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);
|
||||
}
|
||||
|
||||
|
@ -147,7 +147,7 @@ public class BvgProviderLiveTest 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);
|
||||
}
|
||||
|
||||
|
@ -159,7 +159,7 @@ public class BvgProviderLiveTest 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