fixed exception when autocompleted station has no coordinate

This commit is contained in:
Andreas Schildbach 2012-12-08 15:36:00 +01:00
parent 4c315fcaf7
commit dee454c1e3
2 changed files with 25 additions and 7 deletions

View file

@ -81,6 +81,14 @@ public class ShProviderLiveTest extends AbstractProviderLiveTest
print(autocompletes);
}
@Test
public void autocompleteWithoutCoordinatesInResult() throws Exception
{
final List<Location> autocompletes = provider.autocompleteStations("aachen");
print(autocompletes);
}
@Test
public void shortConnection() throws Exception
{