mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-07 06:08:52 +00:00
queryDepartures test
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@305 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
4d4355ac4f
commit
641bd33749
1 changed files with 9 additions and 0 deletions
|
@ -27,6 +27,7 @@ import de.schildbach.pte.dto.Location;
|
||||||
import de.schildbach.pte.dto.LocationType;
|
import de.schildbach.pte.dto.LocationType;
|
||||||
import de.schildbach.pte.dto.NearbyStationsResult;
|
import de.schildbach.pte.dto.NearbyStationsResult;
|
||||||
import de.schildbach.pte.dto.QueryConnectionsResult;
|
import de.schildbach.pte.dto.QueryConnectionsResult;
|
||||||
|
import de.schildbach.pte.dto.QueryDeparturesResult;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Andreas Schildbach
|
* @author Andreas Schildbach
|
||||||
|
@ -35,6 +36,14 @@ public class SncbProviderLiveTest
|
||||||
{
|
{
|
||||||
private final SncbProvider provider = new SncbProvider();
|
private final SncbProvider provider = new SncbProvider();
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void queryDepartures() throws Exception
|
||||||
|
{
|
||||||
|
final QueryDeparturesResult result = provider.queryDepartures("100080", 0);
|
||||||
|
|
||||||
|
System.out.println(result.status + " " + result.departures.size() + " " + result.departures);
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void autocompleteIncomplete() throws Exception
|
public void autocompleteIncomplete() throws Exception
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue