mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-16 17:39:49 +00:00
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:
parent
f7a6b7497f
commit
868a7bbc05
10 changed files with 198 additions and 119 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue