mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-21 01:39:51 +00:00
Add missing query wrappers in AbstractProviderLiveTest.
This commit is contained in:
parent
7dd49cf0ee
commit
55d41dfd69
66 changed files with 355 additions and 330 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue