mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-20 01:10:02 +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
|
@ -47,7 +47,7 @@ public class ShProviderLiveTest extends AbstractProviderLiveTest
|
|||
@Test
|
||||
public void nearbyStations() throws Exception
|
||||
{
|
||||
final NearbyStationsResult result = provider.queryNearbyStations(new Location(LocationType.STATION, "8002547"), 0, 0);
|
||||
final NearbyStationsResult result = queryNearbyStations(new Location(LocationType.STATION, "8002547"));
|
||||
|
||||
print(result);
|
||||
}
|
||||
|
@ -71,7 +71,7 @@ public class ShProviderLiveTest extends AbstractProviderLiveTest
|
|||
@Test
|
||||
public void suggestLocations() throws Exception
|
||||
{
|
||||
final SuggestLocationsResult result = provider.suggestLocations("Lübeck");
|
||||
final SuggestLocationsResult result = suggestLocations("Lübeck");
|
||||
|
||||
print(result);
|
||||
}
|
||||
|
@ -79,7 +79,7 @@ public class ShProviderLiveTest extends AbstractProviderLiveTest
|
|||
@Test
|
||||
public void suggestLocationsUmlaut() throws Exception
|
||||
{
|
||||
final SuggestLocationsResult result = provider.suggestLocations("Achterüm");
|
||||
final SuggestLocationsResult result = suggestLocations("Achterüm");
|
||||
|
||||
print(result);
|
||||
}
|
||||
|
@ -87,7 +87,7 @@ public class ShProviderLiveTest extends AbstractProviderLiveTest
|
|||
@Test
|
||||
public void suggestLocationsWithoutCoordinatesInResult() throws Exception
|
||||
{
|
||||
final SuggestLocationsResult result = provider.suggestLocations("aachen");
|
||||
final SuggestLocationsResult result = suggestLocations("aachen");
|
||||
|
||||
print(result);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue