mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-19 08:49:58 +00:00
fixed umlaut problem with Brandenburg auto-complete
This commit is contained in:
parent
209bb2b1e3
commit
b389b13fac
3 changed files with 16 additions and 2 deletions
|
@ -20,6 +20,7 @@ package de.schildbach.pte.live;
|
|||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
||||
import de.schildbach.pte.NetworkProvider.Accessibility;
|
||||
|
@ -68,9 +69,11 @@ public class VbbProviderLiveTest extends AbstractProviderLiveTest
|
|||
@Test
|
||||
public void autocompleteUmlaut() throws Exception
|
||||
{
|
||||
final List<Location> autocompletes = provider.autocompleteStations("Hedwigshöhe");
|
||||
final List<Location> autocompletes = provider.autocompleteStations("Güntzelstr.");
|
||||
|
||||
print(autocompletes);
|
||||
|
||||
Assert.assertEquals("Güntzelstr. (U)", autocompletes.get(0).name);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue