mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-07 14:48:49 +00:00
departures for Leipzig (forgot)
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@226 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
66cfd29f3a
commit
fa55d7274d
1 changed files with 9 additions and 0 deletions
|
@ -21,6 +21,7 @@ import java.util.List;
|
|||
import org.junit.Test;
|
||||
|
||||
import de.schildbach.pte.NasaProvider;
|
||||
import de.schildbach.pte.QueryDeparturesResult;
|
||||
import de.schildbach.pte.Station;
|
||||
|
||||
/**
|
||||
|
@ -37,4 +38,12 @@ public class NasaProviderLiveTest
|
|||
|
||||
System.out.println(results.size() + " " + results);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void queryDepartures() throws Exception
|
||||
{
|
||||
final QueryDeparturesResult result = provider.queryDepartures(provider.departuresQueryUri("13000", 0));
|
||||
|
||||
System.out.println(result.departures.size() + " " + result.departures);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue