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

@ -18,11 +18,13 @@
package de.schildbach.pte.live;
import java.util.Date;
import java.util.List;
import org.junit.Test;
import de.schildbach.pte.OebbProvider;
import de.schildbach.pte.QueryConnectionsResult;
import de.schildbach.pte.Station;
import de.schildbach.pte.NetworkProvider.LocationType;
import de.schildbach.pte.NetworkProvider.WalkSpeed;
@ -33,6 +35,14 @@ public class OebbProviderLiveTest
{
private OebbProvider provider = new OebbProvider();
@Test
public void nearbyStation() throws Exception
{
final List<Station> results = provider.nearbyStations("902006", 0, 0, 0, 0);
System.out.println(results.size() + " " + results);
}
@Test
public void shortConnection() throws Exception
{