mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-07 06:08:52 +00:00
Paris: Support cablecar
This commit is contained in:
parent
4566bf3cfb
commit
b741c0b34f
2 changed files with 11 additions and 0 deletions
|
@ -87,6 +87,11 @@ public class ParisProvider extends AbstractNavitiaProvider
|
|||
// Bus + Noctilien
|
||||
return new Style(Shape.RECT, Style.parseColor(color), computeForegroundColor(color));
|
||||
}
|
||||
case CABLECAR:
|
||||
{
|
||||
// Orlyval
|
||||
return new Style(Shape.ROUNDED, Style.parseColor(color), computeForegroundColor(color));
|
||||
}
|
||||
default:
|
||||
throw new IllegalArgumentException("Unhandled product: " + product);
|
||||
}
|
||||
|
|
|
@ -138,6 +138,12 @@ public class ParisProviderLiveTest extends AbstractNavitiaProviderLiveTest
|
|||
queryTrip("Campo Formio", "Gare St-Lazare");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void queryTripCablecar() throws Exception
|
||||
{
|
||||
queryTrip("Campo Formio", "Aéroport Orly Sud");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void queryTripStations2() throws Exception
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue