Add missing query wrappers in AbstractProviderLiveTest.

This commit is contained in:
Andreas Schildbach 2015-01-18 22:48:16 +01:00
parent 7dd49cf0ee
commit 55d41dfd69
66 changed files with 355 additions and 330 deletions

View file

@ -48,7 +48,7 @@ public class TfiProviderLiveTest extends AbstractProviderLiveTest
@Test
public void nearbyStations() throws Exception
{
final NearbyStationsResult result = provider.queryNearbyStations(new Location(LocationType.STATION, "51013670"), 0, 0);
final NearbyStationsResult result = queryNearbyStations(new Location(LocationType.STATION, "51013670"));
print(result);
}
@ -56,7 +56,7 @@ public class TfiProviderLiveTest extends AbstractProviderLiveTest
@Test
public void nearbyStationsByCoordinate() throws Exception
{
final NearbyStationsResult result = provider.queryNearbyStations(new Location(LocationType.ADDRESS, 53348656, -6262221), 0, 0);
final NearbyStationsResult result = queryNearbyStations(new Location(LocationType.ADDRESS, 53348656, -6262221));
print(result);
}
@ -72,7 +72,7 @@ public class TfiProviderLiveTest extends AbstractProviderLiveTest
@Test
public void suggestLocationsIncomplete() throws Exception
{
final SuggestLocationsResult result = provider.suggestLocations("Lower O'Connell Street");
final SuggestLocationsResult result = suggestLocations("Lower O'Connell Street");
print(result);
}