mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-19 16:59:51 +00:00
Navitia: Support Ambiguous QueryTripsResult
This commit is contained in:
parent
d245c294e3
commit
17e54c4d62
3 changed files with 68 additions and 2 deletions
|
@ -22,6 +22,8 @@ import static org.junit.Assert.assertTrue;
|
|||
import org.junit.Test;
|
||||
|
||||
import de.schildbach.pte.ParisProvider;
|
||||
import de.schildbach.pte.dto.Location;
|
||||
import de.schildbach.pte.dto.LocationType;
|
||||
import de.schildbach.pte.dto.Point;
|
||||
|
||||
/**
|
||||
|
@ -178,6 +180,18 @@ public class ParisProviderLiveTest extends AbstractNavitiaProviderLiveTest
|
|||
queryTripUnknownTo("secretan buttes chaumont paris");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void queryTripAmbiguousFrom() throws Exception
|
||||
{
|
||||
queryTripAmbiguousFrom(new Location(LocationType.ANY, "ambiguous", null, "Eiffel"), "Gare St-Lazare");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void queryTripAmbiguousTo() throws Exception
|
||||
{
|
||||
queryTripAmbiguousTo("Gare St-Lazare", new Location(LocationType.ANY, "ambiguous", null, "Eiffel"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void queryTripSlowWalk() throws Exception
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue