mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-19 08:49:58 +00:00
Extract JSON get stops parameters to method
This commit is contained in:
parent
4a7743d094
commit
7acd4a0afa
21 changed files with 95 additions and 106 deletions
|
@ -69,7 +69,7 @@ public class RtProviderLiveTest extends AbstractProviderLiveTest
|
|||
}
|
||||
|
||||
@Test
|
||||
public void autoComplete() throws Exception
|
||||
public void autocomplete() throws Exception
|
||||
{
|
||||
final List<Location> autocompletes = provider.autocompleteStations("haupt");
|
||||
|
||||
|
@ -77,7 +77,7 @@ public class RtProviderLiveTest extends AbstractProviderLiveTest
|
|||
}
|
||||
|
||||
@Test
|
||||
public void autoCompleteAddress() throws Exception
|
||||
public void autocompleteAddress() throws Exception
|
||||
{
|
||||
final List<Location> autocompletes = provider.autocompleteStations("Dorfstrasse 10, Dällikon, Schweiz");
|
||||
|
||||
|
@ -85,7 +85,7 @@ public class RtProviderLiveTest extends AbstractProviderLiveTest
|
|||
}
|
||||
|
||||
@Test
|
||||
public void autoCompleteEncoding() throws Exception
|
||||
public void autocompleteEncoding() throws Exception
|
||||
{
|
||||
List<Location> autocompletes = provider.autocompleteStations("Dorfstrasse 1, Schäftland");
|
||||
assertEquals("Schöftland, Dorfstrasse", autocompletes.get(0).name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue