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,12 +16,10 @@
*/
package de.schildbach.pte.live;
import java.util.List;
import org.junit.Test;
import de.schildbach.pte.SncbProvider;
import de.schildbach.pte.dto.Station;
import de.schildbach.pte.dto.NearbyStationsResult;
/**
* @author Andreas Schildbach
@ -33,8 +31,8 @@ public class SncbProviderLiveTest
@Test
public void nearbyStation() throws Exception
{
final List<Station> results = provider.nearbyStations("100080", 0, 0, 0, 0);
final NearbyStationsResult result = provider.nearbyStations("100080", 0, 0, 0, 0);
System.out.println(results.size() + " " + results);
System.out.println(result.stations.size() + " " + result.stations);
}
}