nearbyStations() gets its own result object

git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@237 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
andreas.schildbach 2010-10-04 09:21:27 +00:00
parent ae3cc77277
commit 94d99f7e53
18 changed files with 115 additions and 70 deletions

View file

@ -26,8 +26,8 @@ import de.schildbach.pte.SbbProvider;
import de.schildbach.pte.NetworkProvider.LocationType;
import de.schildbach.pte.NetworkProvider.WalkSpeed;
import de.schildbach.pte.dto.Autocomplete;
import de.schildbach.pte.dto.NearbyStationsResult;
import de.schildbach.pte.dto.QueryConnectionsResult;
import de.schildbach.pte.dto.Station;
/**
* @author Andreas Schildbach
@ -39,11 +39,11 @@ public class SbbProviderLiveTest
@Test
public void nearbyStation() throws Exception
{
final List<Station> results = provider.nearbyStations("8500010", 0, 0, 0, 0);
final NearbyStationsResult result = provider.nearbyStations("8500010", 0, 0, 0, 0);
System.out.println(results.size() + " " + results);
System.out.println(result.stations.size() + " " + result.stations);
}
@Test
public void shortConnection() throws Exception
{