From 4c8d4af1e13853db790ffca40b73f5933676e82a Mon Sep 17 00:00:00 2001 From: Andreas Schildbach Date: Tue, 30 Oct 2018 00:48:14 +0100 Subject: [PATCH] AbstractProviderLiveTest: Limit result sets so that debug outputs don't get so huge. --- .../de/schildbach/pte/live/AbstractProviderLiveTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/enabler/test/de/schildbach/pte/live/AbstractProviderLiveTest.java b/enabler/test/de/schildbach/pte/live/AbstractProviderLiveTest.java index 48a6caf6..d981ac7a 100644 --- a/enabler/test/de/schildbach/pte/live/AbstractProviderLiveTest.java +++ b/enabler/test/de/schildbach/pte/live/AbstractProviderLiveTest.java @@ -84,12 +84,12 @@ public abstract class AbstractProviderLiveTest { } protected final NearbyLocationsResult queryNearbyStations(final Location location) throws IOException { - return queryNearbyLocations(EnumSet.of(LocationType.STATION), location, 0, 0); + return queryNearbyLocations(EnumSet.of(LocationType.STATION), location, 0, 5); } protected final NearbyLocationsResult queryNearbyLocations(final EnumSet types, final Location location) throws IOException { - return queryNearbyLocations(types, location, 0, 0); + return queryNearbyLocations(types, location, 0, 5); } protected final NearbyLocationsResult queryNearbyLocations(final EnumSet types, @@ -99,7 +99,7 @@ public abstract class AbstractProviderLiveTest { protected final QueryDeparturesResult queryDepartures(final String stationId, final boolean equivs) throws IOException { - return queryDepartures(stationId, 0, equivs); + return queryDepartures(stationId, 5, equivs); } protected final QueryDeparturesResult queryDepartures(final String stationId, final int maxDepartures,