rename next/prev to later/earlier

This commit is contained in:
Andreas Schildbach 2012-03-18 16:01:57 +01:00
parent d06a579533
commit 2459927617
70 changed files with 219 additions and 219 deletions

View file

@ -1666,10 +1666,10 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider
} }
} }
public QueryConnectionsResult queryMoreConnections(final String commandUri, final boolean next) throws IOException public QueryConnectionsResult queryMoreConnections(final String commandUri, final boolean later) throws IOException
{ {
final StringBuilder uri = new StringBuilder(commandUri); final StringBuilder uri = new StringBuilder(commandUri);
uri.append("&command=").append(next ? "tripNext" : "tripPrev"); uri.append("&command=").append(later ? "tripNext" : "tripPrev");
InputStream is = null; InputStream is = null;
try try

View file

@ -780,9 +780,9 @@ public abstract class AbstractHafasProvider extends AbstractNetworkProvider
return queryConnections(request.toString(), from, via, to); return queryConnections(request.toString(), from, via, to);
} }
public QueryConnectionsResult queryMoreConnections(final String context, final boolean next) throws IOException public QueryConnectionsResult queryMoreConnections(final String context, final boolean later) throws IOException
{ {
final StringBuilder request = new StringBuilder("<ConScrReq scrDir=\"").append(next ? 'F' : 'B').append("\" nrCons=\"") final StringBuilder request = new StringBuilder("<ConScrReq scrDir=\"").append(later ? 'F' : 'B').append("\" nrCons=\"")
.append(NUM_CONNECTIONS).append("\">"); .append(NUM_CONNECTIONS).append("\">");
request.append("<ConResCtxt>").append(context).append("</ConResCtxt>"); request.append("<ConResCtxt>").append(context).append("</ConResCtxt>");
request.append("</ConScrReq>"); request.append("</ConScrReq>");

View file

@ -294,7 +294,7 @@ public final class BahnProvider extends AbstractHafasProvider
} }
@Override @Override
public QueryConnectionsResult queryMoreConnections(final String uri, final boolean next) throws IOException public QueryConnectionsResult queryMoreConnections(final String uri, final boolean later) throws IOException
{ {
final CharSequence page = ParserUtils.scrape(uri); final CharSequence page = ParserUtils.scrape(uri);
// TODO handle next/prev // TODO handle next/prev

View file

@ -604,7 +604,7 @@ public final class BvgProvider extends AbstractHafasProvider
} }
@Override @Override
public QueryConnectionsResult queryMoreConnections(final String uri, final boolean next) throws IOException public QueryConnectionsResult queryMoreConnections(final String uri, final boolean later) throws IOException
{ {
final CharSequence page = ParserUtils.scrape(uri); final CharSequence page = ParserUtils.scrape(uri);
// TODO handle next/prev // TODO handle next/prev

View file

@ -128,7 +128,7 @@ public interface NetworkProvider
* @return result object that contains possible connections * @return result object that contains possible connections
* @throws IOException * @throws IOException
*/ */
QueryConnectionsResult queryMoreConnections(String context, boolean next) throws IOException; QueryConnectionsResult queryMoreConnections(String context, boolean later) throws IOException;
/** /**
* Get details about a connection * Get details about a connection

View file

@ -85,7 +85,7 @@ public class AtcProviderLiveTest extends AbstractProviderLiveTest
final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 0, null, "Hauptwache"), null, final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 0, null, "Hauptwache"), null,
new Location(LocationType.STATION, 0, null, "Südbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL); new Location(LocationType.STATION, 0, null, "Südbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -85,7 +85,7 @@ public class AvvProviderLiveTest extends AbstractProviderLiveTest
new Location(LocationType.STATION, 100, null, "Hauptbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, new Location(LocationType.STATION, 100, null, "Hauptbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL,
Accessibility.NEUTRAL); Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -86,10 +86,10 @@ public class BahnProviderLiveTest extends AbstractProviderLiveTest
new Location(LocationType.STATION, 8010205, null, "Leipzig Hbf"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, new Location(LocationType.STATION, 8010205, null, "Leipzig Hbf"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL,
Accessibility.NEUTRAL); Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
for (final Connection connection : result.connections) for (final Connection connection : result.connections)
provider.getConnectionDetails(connection.link); provider.getConnectionDetails(connection.link);
System.out.println(moreResult); System.out.println(laterResult);
} }
@Test @Test
@ -99,10 +99,10 @@ public class BahnProviderLiveTest extends AbstractProviderLiveTest
new Location(LocationType.ANY, 0, null, "Tutzinger-Hof-Platz, Starnberg"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, new Location(LocationType.ANY, 0, null, "Tutzinger-Hof-Platz, Starnberg"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL,
Accessibility.NEUTRAL); Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
for (final Connection connection : result.connections) for (final Connection connection : result.connections)
provider.getConnectionDetails(connection.link); provider.getConnectionDetails(connection.link);
System.out.println(moreResult); System.out.println(laterResult);
} }
@Test @Test
@ -113,9 +113,9 @@ public class BahnProviderLiveTest extends AbstractProviderLiveTest
new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL); new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
for (final Connection connection : result.connections) for (final Connection connection : result.connections)
provider.getConnectionDetails(connection.link); provider.getConnectionDetails(connection.link);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -85,8 +85,8 @@ public class BayernProviderLiveTest extends AbstractProviderLiveTest
new Location(LocationType.STATION, 80000799, "München", "Pasing"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, new Location(LocationType.STATION, 80000799, "München", "Pasing"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL,
Accessibility.NEUTRAL); Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
@Test @Test
@ -105,8 +105,8 @@ public class BayernProviderLiveTest extends AbstractProviderLiveTest
final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.ADDRESS, 0, 48165238, 11577473), null, 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); new Location(LocationType.ADDRESS, 0, 47987199, 11326532), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
@Test @Test
@ -115,8 +115,8 @@ public class BayernProviderLiveTest extends AbstractProviderLiveTest
final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.ADDRESS, 0, 48238341, 11478230), null, 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); new Location(LocationType.ANY, 0, null, "Ostbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
@Test @Test
@ -126,8 +126,8 @@ public class BayernProviderLiveTest extends AbstractProviderLiveTest
null, new Location(LocationType.ADDRESS, 0, null, "Starnberg, Jahnstraße 50"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, null, new Location(LocationType.ADDRESS, 0, null, "Starnberg, Jahnstraße 50"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL,
Accessibility.NEUTRAL); Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
@Test @Test
@ -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, new Location(LocationType.ADDRESS, 0, 48188018, 11574239, null, "München Frankfurter Ring 35"), new Date(), true, ALL_PRODUCTS,
WalkSpeed.NORMAL, Accessibility.NEUTRAL); WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -85,7 +85,7 @@ public class BsagProviderLiveTest extends AbstractProviderLiveTest
null, new Location(LocationType.STATION, 28000512, null, "Herdentor"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, null, new Location(LocationType.STATION, 28000512, null, "Herdentor"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL,
Accessibility.NEUTRAL); Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -76,7 +76,7 @@ public class BsvagProviderLiveTest extends AbstractProviderLiveTest
new Location(LocationType.STATION, 26000322, null, "Packhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, new Location(LocationType.STATION, 26000322, null, "Packhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL,
Accessibility.NEUTRAL); Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -84,7 +84,7 @@ public class BvbProviderLiveTest extends AbstractProviderLiveTest
final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 10000, null, "Bahnhof"), null, final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 10000, null, "Bahnhof"), null,
new Location(LocationType.STATION, 86, null, "Markthalle"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL); new Location(LocationType.STATION, 86, null, "Markthalle"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -92,8 +92,8 @@ public class BvgProviderLiveTest extends AbstractProviderLiveTest
null, new Location(LocationType.STATION, 9013103, "Berlin", "Prinzenstraße"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, null, new Location(LocationType.STATION, 9013103, "Berlin", "Prinzenstraße"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL,
Accessibility.NEUTRAL); Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
@Test @Test
@ -103,8 +103,8 @@ public class BvgProviderLiveTest extends AbstractProviderLiveTest
new Location(LocationType.STATION, 9044202, "Berlin", "Bundesplatz"), new Location(LocationType.STATION, 9013103, "Berlin", new Location(LocationType.STATION, 9044202, "Berlin", "Bundesplatz"), new Location(LocationType.STATION, 9013103, "Berlin",
"Prinzenstraße"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL); "Prinzenstraße"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
@Test @Test
@ -114,8 +114,8 @@ public class BvgProviderLiveTest extends AbstractProviderLiveTest
new Location(LocationType.ADDRESS, 0, 52513639, 13568648, null, null), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, new Location(LocationType.ADDRESS, 0, 52513639, 13568648, null, null), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL,
Accessibility.NEUTRAL); Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
@Test @Test
@ -125,8 +125,8 @@ public class BvgProviderLiveTest extends AbstractProviderLiveTest
"Christburger Straße 1, 10405 Berlin, Deutschland"), null, new Location(LocationType.ADDRESS, 0, 52486400, 13350744, null, "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); "Eisenacher Straße 70, 10823 Berlin, Deutschland"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
@Test @Test
@ -136,8 +136,8 @@ public class BvgProviderLiveTest extends AbstractProviderLiveTest
new Location(LocationType.ADDRESS, 0, 52479868, 13324247, null, null), new Location(LocationType.ADDRESS, 0, 52513639, 13568648, 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); null, null), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
@Test @Test
@ -147,8 +147,8 @@ public class BvgProviderLiveTest extends AbstractProviderLiveTest
"10715 Bln Charlb.-Wilm., Weimarische Str. 7"), null, new Location(LocationType.ADDRESS, 0, null, "10178 Bln Mitte, Sophienstr. 24"), "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); new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
@Test @Test
@ -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, new Location(LocationType.ADDRESS, 0, null, "10178 Bln Mitte, Sophienstr. 24"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL,
Accessibility.NEUTRAL); Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -85,7 +85,7 @@ public class DingProviderLiveTest extends AbstractProviderLiveTest
.queryConnections(new Location(LocationType.STATION, 9001011, null, "Justizgebäude"), null, new Location(LocationType.STATION, .queryConnections(new Location(LocationType.STATION, 9001011, null, "Justizgebäude"), null, new Location(LocationType.STATION,
2504524, null, "Theater"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL); 2504524, null, "Theater"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -77,7 +77,7 @@ public class DsbProviderLiveTest extends AbstractProviderLiveTest
null, new Location(LocationType.STATION, 551922500, null, "Billund Airport"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, null, new Location(LocationType.STATION, 551922500, null, "Billund Airport"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL,
Accessibility.NEUTRAL); Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -68,7 +68,7 @@ public class DubProviderLiveTest extends AbstractProviderLiveTest
"Airport Terminal 1, Arrival"), null, new Location(LocationType.STATION, 3505445, null, "Airport Terminal 3"), new Date(), true, "Airport Terminal 1, Arrival"), null, new Location(LocationType.STATION, 3505445, null, "Airport Terminal 3"), new Date(), true,
ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL); ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -117,8 +117,8 @@ public class GvhProviderLiveTest extends AbstractProviderLiveTest
null, new Location(LocationType.STATION, 25001141, null, "Hannover Bismarckstraße"), new Date(), true, ALL_PRODUCTS, WalkSpeed.FAST, null, new Location(LocationType.STATION, 25001141, null, "Hannover Bismarckstraße"), new Date(), true, ALL_PRODUCTS, WalkSpeed.FAST,
Accessibility.NEUTRAL); Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
@Test @Test
@ -128,8 +128,8 @@ public class GvhProviderLiveTest extends AbstractProviderLiveTest
"bremen, neustadtswall 12"), null, new Location(LocationType.ADDRESS, 0, 53104124, 8788575, null, "Bremen Glücksburger Straße 37"), "bremen, neustadtswall 12"), null, new Location(LocationType.ADDRESS, 0, 53104124, 8788575, null, "Bremen Glücksburger Straße 37"),
new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL); new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
@Test @Test
@ -139,7 +139,7 @@ public class GvhProviderLiveTest extends AbstractProviderLiveTest
"Zamenhofweg 14, 22159 Hamburg, Deutschland"), null, new Location(LocationType.ADDRESS, 0, 53734260, 9674990, null, "Zamenhofweg 14, 22159 Hamburg, Deutschland"), null, new Location(LocationType.ADDRESS, 0, 53734260, 9674990, null,
"Lehmkuhlen 5, 25337 Elmshorn, Deutschland"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL); "Lehmkuhlen 5, 25337 Elmshorn, Deutschland"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -77,7 +77,7 @@ public class InvgProviderLiveTest extends AbstractProviderLiveTest
"Ingolstadt, Hauptbahnhof Stadteinwärts"), null, new Location(LocationType.STATION, 181102, null, "Elisabethstraße"), new Date(), "Ingolstadt, Hauptbahnhof Stadteinwärts"), null, new Location(LocationType.STATION, 181102, null, "Elisabethstraße"), new Date(),
true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL); true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -85,7 +85,7 @@ public class IvbProviderLiveTest extends AbstractProviderLiveTest
new Location(LocationType.STATION, 60461679, null, "Messe/Zeughaus"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, new Location(LocationType.STATION, 60461679, null, "Messe/Zeughaus"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL,
Accessibility.NEUTRAL); Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -85,7 +85,7 @@ public class KvvProviderLiveTest extends AbstractProviderLiveTest
"Konstanzer Straße 17, 76199 Karlsruhe, Deutschland"), null, new Location(LocationType.ADDRESS, 0, 49007706, 8356358, null, "Konstanzer Straße 17, 76199 Karlsruhe, Deutschland"), null, new Location(LocationType.ADDRESS, 0, 49007706, 8356358, null,
"Durmersheimer Straße 6, 76185 Karlsruhe, Deutschland"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL); "Durmersheimer Straße 6, 76185 Karlsruhe, Deutschland"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -107,8 +107,8 @@ public class LinzProviderLiveTest extends AbstractProviderLiveTest
final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 0, null, "Linz Hauptbahnhof"), null, final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 0, null, "Linz Hauptbahnhof"), null,
new Location(LocationType.STATION, 0, null, "Linz Auwiesen"), new Date(), true, ALL_PRODUCTS, WalkSpeed.FAST, Accessibility.NEUTRAL); new Location(LocationType.STATION, 0, null, "Linz Auwiesen"), new Date(), true, ALL_PRODUCTS, WalkSpeed.FAST, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
@Test @Test
@ -117,7 +117,7 @@ public class LinzProviderLiveTest extends AbstractProviderLiveTest
final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 0, null, "Linz Auwiesen"), null, final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 0, null, "Linz Auwiesen"), null,
new Location(LocationType.STATION, 0, null, "Linz Hafen"), new Date(), true, ALL_PRODUCTS, WalkSpeed.SLOW, Accessibility.NEUTRAL); new Location(LocationType.STATION, 0, null, "Linz Hafen"), new Date(), true, ALL_PRODUCTS, WalkSpeed.SLOW, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
// final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); // final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
// System.out.println(moreResult); // System.out.println(laterResult);
} }
} }

View file

@ -77,8 +77,8 @@ public class LuProviderLiveTest extends AbstractProviderLiveTest
null, new Location(LocationType.STATION, 9440001, null, "Echternach, Gare"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, null, new Location(LocationType.STATION, 9440001, null, "Echternach, Gare"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL,
Accessibility.NEUTRAL); Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
@Test @Test
@ -88,7 +88,7 @@ public class LuProviderLiveTest extends AbstractProviderLiveTest
"Luxembourg, Rue Génistre 2"), null, new Location(LocationType.STATION, 9217081, null, "Luxembourg, Gare Centrale"), new Date(), "Luxembourg, Rue Génistre 2"), null, new Location(LocationType.STATION, 9217081, null, "Luxembourg, Gare Centrale"), new Date(),
true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL); true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -77,7 +77,7 @@ public class MariborProviderLiveTest extends AbstractProviderLiveTest
null, new Location(LocationType.STATION, 63201746, null, "Flughafen Graz Bahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, null, new Location(LocationType.STATION, 63201746, null, "Flughafen Graz Bahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL,
Accessibility.NEUTRAL); Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -76,7 +76,7 @@ public class MetProviderLiveTest extends AbstractProviderLiveTest
final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 0, null, "Hauptwache"), null, final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 0, null, "Hauptwache"), null,
new Location(LocationType.STATION, 0, null, "Südbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL); new Location(LocationType.STATION, 0, null, "Südbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -85,7 +85,7 @@ public class MvgProviderLiveTest extends AbstractProviderLiveTest
new Location(LocationType.STATION, 24064226, null, "Schützenhalle"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, new Location(LocationType.STATION, 24064226, null, "Schützenhalle"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL,
Accessibility.NEUTRAL); Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -84,10 +84,10 @@ public class MvvProviderLiveTest extends AbstractProviderLiveTest
final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.ANY, 0, null, "Marienplatz"), null, new Location( final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.ANY, 0, null, "Marienplatz"), null, new Location(
LocationType.ANY, 0, null, "Pasing"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL); LocationType.ANY, 0, null, "Pasing"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult nextResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(nextResult); System.out.println(laterResult);
final QueryConnectionsResult prevResult = provider.queryMoreConnections(nextResult.context, false); final QueryConnectionsResult earlierResult = provider.queryMoreConnections(laterResult.context, false);
System.out.println(prevResult); System.out.println(earlierResult);
} }
@Test @Test
@ -106,8 +106,8 @@ public class MvvProviderLiveTest extends AbstractProviderLiveTest
final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.ADDRESS, 0, 48165238, 11577473), null, 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); new Location(LocationType.ADDRESS, 0, 47987199, 11326532), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
@Test @Test
@ -116,8 +116,8 @@ public class MvvProviderLiveTest extends AbstractProviderLiveTest
final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.ADDRESS, 0, 48238341, 11478230), null, 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); new Location(LocationType.ANY, 0, null, "Ostbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
@Test @Test
@ -127,8 +127,8 @@ public class MvvProviderLiveTest extends AbstractProviderLiveTest
null, new Location(LocationType.ADDRESS, 0, null, "Starnberg, Jahnstraße 50"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, null, new Location(LocationType.ADDRESS, 0, null, "Starnberg, Jahnstraße 50"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL,
Accessibility.NEUTRAL); Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
@Test @Test
@ -138,7 +138,7 @@ public class MvvProviderLiveTest extends AbstractProviderLiveTest
new Location(LocationType.ADDRESS, 0, 48188018, 11574239, null, "München Frankfurter Ring 35"), new Date(), true, ALL_PRODUCTS, new Location(LocationType.ADDRESS, 0, 48188018, 11574239, null, "München Frankfurter Ring 35"), new Date(), true, ALL_PRODUCTS,
WalkSpeed.NORMAL, Accessibility.NEUTRAL); WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -85,7 +85,7 @@ public class NaldoProviderLiveTest extends AbstractProviderLiveTest
null, new Location(LocationType.STATION, 3019500, null, "Amberg Bahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, null, new Location(LocationType.STATION, 3019500, null, "Amberg Bahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL,
Accessibility.NEUTRAL); Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -69,8 +69,8 @@ public class NasaProviderLiveTest extends AbstractProviderLiveTest
null, new Location(LocationType.STATION, 8010205, null, "Leipzig Hbf"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, null, new Location(LocationType.STATION, 8010205, null, "Leipzig Hbf"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL,
Accessibility.NEUTRAL); Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
@Test @Test
@ -80,7 +80,7 @@ public class NasaProviderLiveTest extends AbstractProviderLiveTest
"04319 Leipzig-Engelsdorf", "August-Bebel-Platz"), null, new Location(LocationType.STATION, 8010205, null, "Leipzig Hbf"), "04319 Leipzig-Engelsdorf", "August-Bebel-Platz"), null, new Location(LocationType.STATION, 8010205, null, "Leipzig Hbf"),
new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL); new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -85,7 +85,7 @@ public class NphProviderLiveTest extends AbstractProviderLiveTest
null, new Location(LocationType.STATION, 23007700, "Höxter", "Bahnhof / Rathaus"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, null, new Location(LocationType.STATION, 23007700, "Höxter", "Bahnhof / Rathaus"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL,
Accessibility.NEUTRAL); Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -76,7 +76,7 @@ public class NriProviderLiveTest extends AbstractProviderLiveTest
final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 8059, null, "Oslo"), null, new Location( final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 8059, null, "Oslo"), null, new Location(
LocationType.STATION, 6642, null, "Bergen BGO"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL); LocationType.STATION, 6642, null, "Bergen BGO"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -85,7 +85,7 @@ public class NvbwProviderLiveTest extends AbstractProviderLiveTest
new Location(LocationType.STATION, 17009001, null, "Bahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, new Location(LocationType.STATION, 17009001, null, "Bahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL,
Accessibility.NEUTRAL); Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -77,7 +77,7 @@ public class NvvProviderLiveTest extends AbstractProviderLiveTest
null, new Location(LocationType.STATION, 2200278, null, "Kassel Wilhelmshöher Weg"), new Date(), true, ALL_PRODUCTS, null, new Location(LocationType.STATION, 2200278, null, "Kassel Wilhelmshöher Weg"), new Date(), true, ALL_PRODUCTS,
WalkSpeed.NORMAL, Accessibility.NEUTRAL); WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -86,8 +86,8 @@ public class OebbProviderLiveTest extends AbstractProviderLiveTest
System.out.println(result); System.out.println(result);
assertEquals(QueryConnectionsResult.Status.OK, result.status); assertEquals(QueryConnectionsResult.Status.OK, result.status);
assertTrue(result.connections.size() > 0); assertTrue(result.connections.size() > 0);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
@Test @Test
@ -98,8 +98,8 @@ public class OebbProviderLiveTest extends AbstractProviderLiveTest
System.out.println(result); System.out.println(result);
assertEquals(QueryConnectionsResult.Status.OK, result.status); assertEquals(QueryConnectionsResult.Status.OK, result.status);
assertTrue(result.connections.size() > 0); assertTrue(result.connections.size() > 0);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
@Test @Test
@ -111,8 +111,8 @@ public class OebbProviderLiveTest extends AbstractProviderLiveTest
System.out.println(result); System.out.println(result);
assertEquals(QueryConnectionsResult.Status.OK, result.status); assertEquals(QueryConnectionsResult.Status.OK, result.status);
assertTrue(result.connections.size() > 0); assertTrue(result.connections.size() > 0);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
@Test @Test
@ -124,7 +124,7 @@ public class OebbProviderLiveTest extends AbstractProviderLiveTest
System.out.println(result); System.out.println(result);
assertEquals(QueryConnectionsResult.Status.OK, result.status); assertEquals(QueryConnectionsResult.Status.OK, result.status);
assertTrue(result.connections.size() > 0); assertTrue(result.connections.size() > 0);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -77,7 +77,7 @@ public class PlProviderLiveTest extends AbstractProviderLiveTest
new Location(LocationType.STATION, 5196003, null, "WARSZAWA"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, new Location(LocationType.STATION, 5196003, null, "WARSZAWA"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL,
Accessibility.NEUTRAL); Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -77,8 +77,8 @@ public class RmvProviderLiveTest extends AbstractProviderLiveTest
new Location(LocationType.STATION, 3000912, null, "Südbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, new Location(LocationType.STATION, 3000912, null, "Südbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL,
Accessibility.NEUTRAL); Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
@Test @Test

View file

@ -85,8 +85,8 @@ public class RtProviderLiveTest extends AbstractProviderLiveTest
new Location(LocationType.STATION, 8507785, null, "Bern, Hauptbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, new Location(LocationType.STATION, 8507785, null, "Bern, Hauptbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL,
Accessibility.NEUTRAL); Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
@Test @Test
@ -96,8 +96,8 @@ public class RtProviderLiveTest extends AbstractProviderLiveTest
.queryConnections(new Location(LocationType.ANY, 0, null, "Schocherswil, Alte Post!"), null, new Location(LocationType.ANY, 0, null, .queryConnections(new Location(LocationType.ANY, 0, null, "Schocherswil, Alte Post!"), null, new Location(LocationType.ANY, 0, null,
"Laconnex, Mollach"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL); "Laconnex, Mollach"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
@Test @Test
@ -107,8 +107,8 @@ public class RtProviderLiveTest extends AbstractProviderLiveTest
new Location(LocationType.ADDRESS, 0, null, "Einsiedeln, Erlenmoosweg 24"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, new Location(LocationType.ADDRESS, 0, null, "Einsiedeln, Erlenmoosweg 24"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL,
Accessibility.NEUTRAL); Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
@Test @Test
@ -118,8 +118,8 @@ public class RtProviderLiveTest extends AbstractProviderLiveTest
"26 Coopers Close, Poplar, Greater London E1 4, Vereinigtes Königreich"), null, new Location(LocationType.STATION, 8096022, 50941312, "26 Coopers Close, Poplar, Greater London E1 4, Vereinigtes Königreich"), null, new Location(LocationType.STATION, 8096022, 50941312,
6967206, null, "COLOGNE"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL); 6967206, null, "COLOGNE"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
@Test @Test
@ -129,7 +129,7 @@ public class RtProviderLiveTest extends AbstractProviderLiveTest
new Location(LocationType.STATION, 8400058, null, "Amsterdam Centraal"), new Location(LocationType.STATION, 8000085, null, new Location(LocationType.STATION, 8400058, null, "Amsterdam Centraal"), new Location(LocationType.STATION, 8000085, null,
"Düsseldorf Hbf"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL); "Düsseldorf Hbf"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -85,8 +85,8 @@ public class SbbProviderLiveTest extends AbstractProviderLiveTest
new Location(LocationType.STATION, 8507785, null, "Bern, Hauptbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, new Location(LocationType.STATION, 8507785, null, "Bern, Hauptbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL,
Accessibility.NEUTRAL); Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
@Test @Test
@ -96,8 +96,8 @@ public class SbbProviderLiveTest extends AbstractProviderLiveTest
.queryConnections(new Location(LocationType.ANY, 0, null, "Schocherswil, Alte Post!"), null, new Location(LocationType.ANY, 0, null, .queryConnections(new Location(LocationType.ANY, 0, null, "Schocherswil, Alte Post!"), null, new Location(LocationType.ANY, 0, null,
"Laconnex, Mollach"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL); "Laconnex, Mollach"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
@Test @Test
@ -107,8 +107,8 @@ public class SbbProviderLiveTest extends AbstractProviderLiveTest
new Location(LocationType.ADDRESS, 0, null, "Einsiedeln, Erlenmoosweg 24"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, new Location(LocationType.ADDRESS, 0, null, "Einsiedeln, Erlenmoosweg 24"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL,
Accessibility.NEUTRAL); Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
@Test @Test
@ -118,7 +118,7 @@ public class SbbProviderLiveTest extends AbstractProviderLiveTest
"Dorfstrasse 10, Dällikon, Schweiz"), null, new Location(LocationType.STATION, 8500010, null, "Basel"), new Date(), true, "Dorfstrasse 10, Dällikon, Schweiz"), null, new Location(LocationType.STATION, 8500010, null, "Basel"), new Date(), true,
ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL); ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -77,7 +77,7 @@ public class SeProviderLiveTest extends AbstractProviderLiveTest
new Location(LocationType.STATION, 7498000, null, "STOCKHOLM"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, new Location(LocationType.STATION, 7498000, null, "STOCKHOLM"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL,
Accessibility.NEUTRAL); Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -77,8 +77,8 @@ public class SeptaProviderLiveTest extends AbstractProviderLiveTest
new Location(LocationType.STATION, 1015755, null, "Harbison Av + Unruh Av"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, new Location(LocationType.STATION, 1015755, null, "Harbison Av + Unruh Av"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL,
Accessibility.NEUTRAL); Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
@Test @Test
@ -88,7 +88,7 @@ public class SeptaProviderLiveTest extends AbstractProviderLiveTest
"Philadelphia 19127", "3601 Main St"), null, new Location(LocationType.STATION, 2090227, null, "Main Street"), new Date(), true, "Philadelphia 19127", "3601 Main St"), null, new Location(LocationType.STATION, 2090227, null, "Main Street"), new Date(), true,
ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL); ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -76,7 +76,7 @@ public class SfProviderLiveTest extends AbstractProviderLiveTest
final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 0, null, "Hauptwache"), null, final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 0, null, "Hauptwache"), null,
new Location(LocationType.STATION, 0, null, "Südbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL); new Location(LocationType.STATION, 0, null, "Südbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -77,7 +77,7 @@ public class ShProviderLiveTest extends AbstractProviderLiveTest
new Location(LocationType.STATION, 715210, null, "Flughafen, Lübeck"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, new Location(LocationType.STATION, 715210, null, "Flughafen, Lübeck"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL,
Accessibility.NEUTRAL); Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -87,8 +87,8 @@ public class SncbProviderLiveTest extends AbstractProviderLiveTest
if (result.context != null) if (result.context != null)
{ {
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult.status + " " + moreResult.connections); System.out.println(laterResult.status + " " + laterResult.connections);
} }
} }
@ -101,8 +101,8 @@ public class SncbProviderLiveTest extends AbstractProviderLiveTest
if (result.context != null) if (result.context != null)
{ {
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult.status + " " + moreResult.connections); System.out.println(laterResult.status + " " + laterResult.connections);
} }
} }
@ -116,8 +116,8 @@ public class SncbProviderLiveTest extends AbstractProviderLiveTest
if (result.context != null) if (result.context != null)
{ {
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult.status + " " + moreResult.connections); System.out.println(laterResult.status + " " + laterResult.connections);
} }
} }
} }

View file

@ -77,7 +77,7 @@ public class StockholmProviderLiveTest extends AbstractProviderLiveTest
null, new Location(LocationType.STATION, 200101221, "Stockholm", "Abrahamsberg"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, null, new Location(LocationType.STATION, 200101221, "Stockholm", "Abrahamsberg"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL,
Accessibility.NEUTRAL); Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -84,7 +84,7 @@ public class StvProviderLiveTest extends AbstractProviderLiveTest
final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 0, null, "Hauptwache"), null, final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 0, null, "Hauptwache"), null,
new Location(LocationType.STATION, 0, null, "Südbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL); new Location(LocationType.STATION, 0, null, "Südbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -76,7 +76,7 @@ public class SvvProviderLiveTest extends AbstractProviderLiveTest
final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 0, null, "Hauptwache"), null, final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 0, null, "Hauptwache"), null,
new Location(LocationType.STATION, 0, null, "Südbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL); new Location(LocationType.STATION, 0, null, "Südbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -77,7 +77,7 @@ public class SydneyProviderLiveTest extends AbstractProviderLiveTest
null, new Location(LocationType.STATION, 0, "Sydney", "Capitol Square"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, null, new Location(LocationType.STATION, 0, "Sydney", "Capitol Square"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL,
Accessibility.NEUTRAL); Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -77,8 +77,8 @@ public class TflProviderLiveTest extends AbstractProviderLiveTest
null, new Location(LocationType.STATION, 1006433, null, "Edinburgh Court"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, null, new Location(LocationType.STATION, 1006433, null, "Edinburgh Court"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL,
Accessibility.NEUTRAL); Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
@Test @Test

View file

@ -77,7 +77,7 @@ public class TleaProviderLiveTest extends AbstractProviderLiveTest
null, new Location(LocationType.STATION, 1006433, null, "Edinburgh Court"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, null, new Location(LocationType.STATION, 1006433, null, "Edinburgh Court"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL,
Accessibility.NEUTRAL); Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -77,7 +77,7 @@ public class TlemProviderLiveTest extends AbstractProviderLiveTest
null, new Location(LocationType.STATION, 1006433, null, "Edinburgh Court"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, null, new Location(LocationType.STATION, 1006433, null, "Edinburgh Court"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL,
Accessibility.NEUTRAL); Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -77,7 +77,7 @@ public class TlseProviderLiveTest extends AbstractProviderLiveTest
null, new Location(LocationType.STATION, 1006433, null, "Edinburgh Court"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, null, new Location(LocationType.STATION, 1006433, null, "Edinburgh Court"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL,
Accessibility.NEUTRAL); Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -76,7 +76,7 @@ public class TlswProviderLiveTest extends AbstractProviderLiveTest
final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 0, null, "70003023"), null, new Location( final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 0, null, "70003023"), null, new Location(
LocationType.STATION, 0, null, "70003025"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL); LocationType.STATION, 0, null, "70003025"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -76,7 +76,7 @@ public class VagfrProviderLiveTest extends AbstractProviderLiveTest
final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 0, null, "Hauptwache"), null, final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 0, null, "Hauptwache"), null,
new Location(LocationType.STATION, 0, null, "Südbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL); new Location(LocationType.STATION, 0, null, "Südbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -77,10 +77,10 @@ public class VbbProviderLiveTest extends AbstractProviderLiveTest
null, new Location(LocationType.STATION, 9013103, "Berlin", "Prinzenstraße"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, null, new Location(LocationType.STATION, 9013103, "Berlin", "Prinzenstraße"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL,
Accessibility.NEUTRAL); Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult nextResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(nextResult); System.out.println(laterResult);
final QueryConnectionsResult previousResult = provider.queryMoreConnections(result.context, false); final QueryConnectionsResult earlierResult = provider.queryMoreConnections(result.context, false);
System.out.println(previousResult); System.out.println(earlierResult);
} }
@Test @Test
@ -90,8 +90,8 @@ public class VbbProviderLiveTest extends AbstractProviderLiveTest
new Location(LocationType.STATION, 9044202, "Berlin", "Bundesplatz"), new Location(LocationType.STATION, 9013103, "Berlin", new Location(LocationType.STATION, 9044202, "Berlin", "Bundesplatz"), new Location(LocationType.STATION, 9013103, "Berlin",
"Prinzenstraße"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL); "Prinzenstraße"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
@Test @Test
@ -101,8 +101,8 @@ public class VbbProviderLiveTest extends AbstractProviderLiveTest
new Location(LocationType.ADDRESS, 0, 52513639, 13568648, null, null), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, new Location(LocationType.ADDRESS, 0, 52513639, 13568648, null, null), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL,
Accessibility.NEUTRAL); Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
@Test @Test
@ -112,8 +112,8 @@ public class VbbProviderLiveTest extends AbstractProviderLiveTest
new Location(LocationType.ADDRESS, 0, 52479868, 13324247, null, null), new Location(LocationType.ADDRESS, 0, 52513639, 13568648, 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); null, null), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
@Test @Test
@ -123,8 +123,8 @@ public class VbbProviderLiveTest extends AbstractProviderLiveTest
"10715 Bln Charlb.-Wilm., Weimarische Str. 7"), null, new Location(LocationType.ADDRESS, 0, null, "10178 Bln Mitte, Sophienstr. 24"), "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); new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
@Test @Test
@ -135,7 +135,7 @@ public class VbbProviderLiveTest extends AbstractProviderLiveTest
new Location(LocationType.ADDRESS, 0, null, "10178 Bln Mitte, Sophienstr. 24"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, new Location(LocationType.ADDRESS, 0, null, "10178 Bln Mitte, Sophienstr. 24"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL,
Accessibility.NEUTRAL); Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -84,7 +84,7 @@ public class VblProviderLiveTest extends AbstractProviderLiveTest
final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 0, null, "Hauptwache"), null, final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 0, null, "Hauptwache"), null,
new Location(LocationType.STATION, 0, null, "Südbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL); new Location(LocationType.STATION, 0, null, "Südbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -80,8 +80,8 @@ public class VbnProviderLiveTest extends AbstractProviderLiveTest
Accessibility.NEUTRAL); Accessibility.NEUTRAL);
assertEquals(QueryConnectionsResult.Status.OK, result.status); assertEquals(QueryConnectionsResult.Status.OK, result.status);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
@Test @Test

View file

@ -85,7 +85,7 @@ public class VgnProviderLiveTest extends AbstractProviderLiveTest
new Location(LocationType.STATION, 510, "Nürnberg", "Hauptbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, new Location(LocationType.STATION, 510, "Nürnberg", "Hauptbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL,
Accessibility.NEUTRAL); Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -76,7 +76,7 @@ public class VgsProviderLiveTest extends AbstractProviderLiveTest
final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 0, null, "Hauptwache"), null, final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 0, null, "Hauptwache"), null,
new Location(LocationType.STATION, 0, null, "Südbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL); new Location(LocationType.STATION, 0, null, "Südbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -84,7 +84,7 @@ public class VmobilProviderLiveTest extends AbstractProviderLiveTest
final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 0, null, "Hauptwache"), null, final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 0, null, "Hauptwache"), null,
new Location(LocationType.STATION, 0, null, "Südbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL); new Location(LocationType.STATION, 0, null, "Südbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -76,7 +76,7 @@ public class VmsProviderLiveTest extends AbstractProviderLiveTest
final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 0, null, "Hauptwache"), null, final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 0, null, "Hauptwache"), null,
new Location(LocationType.STATION, 0, null, "Südbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL); new Location(LocationType.STATION, 0, null, "Südbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -76,7 +76,7 @@ public class VmvProviderLiveTest extends AbstractProviderLiveTest
final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 0, null, "Hauptwache"), null, final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 0, null, "Hauptwache"), null,
new Location(LocationType.STATION, 0, null, "Südbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL); new Location(LocationType.STATION, 0, null, "Südbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -84,7 +84,7 @@ public class VorProviderLiveTest extends AbstractProviderLiveTest
final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 0, null, "Hauptwache"), null, final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 0, null, "Hauptwache"), null,
new Location(LocationType.STATION, 0, null, "Südbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL); new Location(LocationType.STATION, 0, null, "Südbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -108,7 +108,7 @@ public class VrnProviderLiveTest extends AbstractProviderLiveTest
final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 0, null, "Hauptwache"), null, final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 0, null, "Hauptwache"), null,
new Location(LocationType.STATION, 0, null, "Südbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL); new Location(LocationType.STATION, 0, null, "Südbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -101,7 +101,7 @@ public class VrrProviderLiveTest extends AbstractProviderLiveTest
new Location(LocationType.STATION, 20009161, "Essen", "Bismarckplatz"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, new Location(LocationType.STATION, 20009161, "Essen", "Bismarckplatz"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL,
Accessibility.NEUTRAL); Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -77,7 +77,7 @@ public class VrtProviderLiveTest extends AbstractProviderLiveTest
new Location(LocationType.STATION, 17009001, null, "Bahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, new Location(LocationType.STATION, 17009001, null, "Bahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL,
Accessibility.NEUTRAL); Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -84,7 +84,7 @@ public class VvmProviderLiveTest extends AbstractProviderLiveTest
final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 0, null, "Hauptwache"), null, final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 0, null, "Hauptwache"), null,
new Location(LocationType.STATION, 0, null, "Südbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL); new Location(LocationType.STATION, 0, null, "Südbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -76,7 +76,7 @@ public class VvoProviderLiveTest extends AbstractProviderLiveTest
final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 0, null, "Hauptwache"), null, final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 0, null, "Hauptwache"), null,
new Location(LocationType.STATION, 0, null, "Südbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL); new Location(LocationType.STATION, 0, null, "Südbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -84,7 +84,7 @@ public class VvsProviderLiveTest extends AbstractProviderLiveTest
final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 0, null, "Hauptwache"), null, final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 0, null, "Hauptwache"), null,
new Location(LocationType.STATION, 0, null, "Südbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL); new Location(LocationType.STATION, 0, null, "Südbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -84,7 +84,7 @@ public class VvtProviderLiveTest extends AbstractProviderLiveTest
final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 0, null, "Hauptwache"), null, final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 0, null, "Hauptwache"), null,
new Location(LocationType.STATION, 0, null, "Südbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL); new Location(LocationType.STATION, 0, null, "Südbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -84,7 +84,7 @@ public class VvvProviderLiveTest extends AbstractProviderLiveTest
final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 0, null, "Hauptwache"), null, final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 0, null, "Hauptwache"), null,
new Location(LocationType.STATION, 0, null, "Südbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL); new Location(LocationType.STATION, 0, null, "Südbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }

View file

@ -77,7 +77,7 @@ public class ZvvProviderLiveTest extends AbstractProviderLiveTest
new Location(LocationType.STATION, 8507785, null, "Bern, Hauptbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, new Location(LocationType.STATION, 8507785, null, "Bern, Hauptbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL,
Accessibility.NEUTRAL); Accessibility.NEUTRAL);
System.out.println(result); System.out.println(result);
final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context, true); final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(moreResult); System.out.println(laterResult);
} }
} }