later/earlier connections handling for BVG

This commit is contained in:
Andreas Schildbach 2012-03-19 11:10:25 +01:00
parent b118bcd97c
commit 65d1f24d89
2 changed files with 39 additions and 9 deletions

View file

@ -94,6 +94,12 @@ public class BvgProviderLiveTest extends AbstractProviderLiveTest
System.out.println(result);
final QueryConnectionsResult laterResult = provider.queryMoreConnections(result.context, true);
System.out.println(laterResult);
final QueryConnectionsResult later2Result = provider.queryMoreConnections(laterResult.context, true);
System.out.println(later2Result);
final QueryConnectionsResult earlierResult = provider.queryMoreConnections(later2Result.context, false);
System.out.println(earlierResult);
final QueryConnectionsResult later3Result = provider.queryMoreConnections(earlierResult.context, true);
System.out.println(later3Result);
}
@Test