mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-20 17:29: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 VvtProviderLiveTest extends AbstractProviderLiveTest
|
|||
@Test
|
||||
public void nearbyStations() throws Exception
|
||||
{
|
||||
final NearbyStationsResult result = provider.queryNearbyStations(new Location(LocationType.STATION, "60101187"), 0, 0);
|
||||
final NearbyStationsResult result = queryNearbyStations(new Location(LocationType.STATION, "60101187"));
|
||||
|
||||
print(result);
|
||||
}
|
||||
|
@ -56,7 +56,7 @@ public class VvtProviderLiveTest extends AbstractProviderLiveTest
|
|||
@Test
|
||||
public void nearbyStationsByCoordinate() throws Exception
|
||||
{
|
||||
final NearbyStationsResult result = provider.queryNearbyStations(new Location(LocationType.ADDRESS, 47271228, 11402063), 0, 0);
|
||||
final NearbyStationsResult result = queryNearbyStations(new Location(LocationType.ADDRESS, 47271228, 11402063));
|
||||
|
||||
print(result);
|
||||
}
|
||||
|
@ -72,7 +72,7 @@ public class VvtProviderLiveTest extends AbstractProviderLiveTest
|
|||
@Test
|
||||
public void suggestLocationsIncomplete() throws Exception
|
||||
{
|
||||
final SuggestLocationsResult result = provider.suggestLocations("Kur");
|
||||
final SuggestLocationsResult result = suggestLocations("Kur");
|
||||
|
||||
print(result);
|
||||
}
|
||||
|
@ -80,7 +80,7 @@ public class VvtProviderLiveTest extends AbstractProviderLiveTest
|
|||
@Test
|
||||
public void suggestLocationsWithUmlaut() throws Exception
|
||||
{
|
||||
final SuggestLocationsResult result = provider.suggestLocations("grün");
|
||||
final SuggestLocationsResult result = suggestLocations("grün");
|
||||
|
||||
print(result);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue