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

@ -16,13 +16,11 @@
*/
package de.schildbach.pte.live;
import java.util.List;
import org.junit.Test;
import de.schildbach.pte.NasaProvider;
import de.schildbach.pte.dto.NearbyStationsResult;
import de.schildbach.pte.dto.QueryDeparturesResult;
import de.schildbach.pte.dto.Station;
/**
* @author Andreas Schildbach
@ -34,9 +32,9 @@ public class NasaProviderLiveTest
@Test
public void nearbyStation() throws Exception
{
final List<Station> results = provider.nearbyStations("13000", 0, 0, 0, 0);
final NearbyStationsResult result = provider.nearbyStations("13000", 0, 0, 0, 0);
System.out.println(results.size() + " " + results);
System.out.println(result.stations.size() + " " + result.stations);
}
@Test