extract nearby station scanning to hafas superclass

git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@221 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
andreas.schildbach 2010-10-02 17:33:32 +00:00
parent f7a6b7497f
commit 868a7bbc05
10 changed files with 198 additions and 119 deletions

View file

@ -25,6 +25,7 @@ import org.junit.Test;
import de.schildbach.pte.Autocomplete;
import de.schildbach.pte.QueryConnectionsResult;
import de.schildbach.pte.SbbProvider;
import de.schildbach.pte.Station;
import de.schildbach.pte.NetworkProvider.LocationType;
import de.schildbach.pte.NetworkProvider.WalkSpeed;
@ -35,6 +36,14 @@ public class SbbProviderLiveTest
{
private SbbProvider provider = new SbbProvider();
@Test
public void nearbyStation() throws Exception
{
final List<Station> results = provider.nearbyStations("8500010", 0, 0, 0, 0);
System.out.println(results.size() + " " + results);
}
@Test
public void shortConnection() throws Exception
{