mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-08 15:18:48 +00:00
added missing test
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@855 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
8c8f6fad2b
commit
00a4dcceea
1 changed files with 9 additions and 0 deletions
|
@ -29,6 +29,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
|
||||||
|
@ -54,6 +55,14 @@ public class BsagProviderLiveTest
|
||||||
System.out.println(result.stations.size() + " " + result.stations);
|
System.out.println(result.stations.size() + " " + result.stations);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void queryDepartures() throws Exception
|
||||||
|
{
|
||||||
|
final QueryDeparturesResult result = provider.queryDepartures(28003375, 0, false);
|
||||||
|
|
||||||
|
System.out.println(result.stationDepartures);
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void autocompleteIncomplete() throws Exception
|
public void autocompleteIncomplete() throws Exception
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue