mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-15 09:00:36 +00:00
VRS: Additional parsing rule for platform information.
This commit is contained in:
parent
009c31ed12
commit
72d0e5dd4a
2 changed files with 12 additions and 0 deletions
|
@ -156,6 +156,8 @@ public class VrsProvider extends AbstractNetworkProvider
|
|||
add(Pattern.compile("(.*) Gleis (.*)"));
|
||||
// Düren Bf (Bussteig D/E)
|
||||
add(Pattern.compile("(.*) \\(Bussteig (.*)\\)"));
|
||||
// Venloer Str./Gürtel (Gleis 1)
|
||||
add(Pattern.compile("(.*) \\(Gleis (.*)\\)"));
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -408,6 +408,16 @@ public class VrsProviderLiveTest extends AbstractProviderLiveTest
|
|||
assertTrue(result.trips.size() > 0);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testTripEhrenfeldNeumarkt() throws Exception
|
||||
{
|
||||
final QueryTripsResult result = queryTrips(new Location(LocationType.STATION, "251"), null, new Location(LocationType.STATION, "2"),
|
||||
new Date(), true, Product.ALL, WalkSpeed.NORMAL, Accessibility.NEUTRAL);
|
||||
print(result);
|
||||
assertEquals(QueryTripsResult.Status.OK, result.status);
|
||||
assertTrue(result.trips.size() > 0);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testTripByCoord() throws Exception
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue