mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-14 16:40:30 +00:00
add Germany tests
This commit is contained in:
parent
6e331acefb
commit
9f71d1bc3e
1 changed files with 14 additions and 2 deletions
|
@ -68,11 +68,23 @@ public class BahnProviderLiveTest extends AbstractProviderLiveTest
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void autocompleteIncomplete() throws Exception
|
public void autocompleteUmlaut() throws Exception
|
||||||
{
|
{
|
||||||
final List<Location> autocompletes = provider.autocompleteStations("Be");
|
final List<Location> autocompletes = provider.autocompleteStations("Güntzelstr. (U)");
|
||||||
|
|
||||||
print(autocompletes);
|
print(autocompletes);
|
||||||
|
|
||||||
|
Assert.assertEquals("Güntzelstr. (U), Berlin", autocompletes.get(0).name);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void autocompleteIncomplete() throws Exception
|
||||||
|
{
|
||||||
|
final List<Location> autocompletes = provider.autocompleteStations("Landungsbr");
|
||||||
|
|
||||||
|
print(autocompletes);
|
||||||
|
|
||||||
|
Assert.assertEquals("Hamburg Landungsbrücken", autocompletes.get(0).name);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue