'previous connections' handling for hafas based providers

This commit is contained in:
Andreas Schildbach 2012-03-05 10:28:54 +01:00
parent d0cf992647
commit 0eb1ac9da9
2 changed files with 6 additions and 4 deletions

View file

@ -77,8 +77,10 @@ public class VbbProviderLiveTest 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, true);
System.out.println(moreResult);
final QueryConnectionsResult nextResult = provider.queryMoreConnections(result.context, true);
System.out.println(nextResult);
final QueryConnectionsResult previousResult = provider.queryMoreConnections(result.context, false);
System.out.println(previousResult);
}
@Test