Paris: Support cablecar

This commit is contained in:
Torsten Grote 2016-05-22 14:07:57 -03:00 committed by Andreas Schildbach
parent 4566bf3cfb
commit b741c0b34f
2 changed files with 11 additions and 0 deletions

View file

@ -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);
}

View file

@ -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
{