mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-21 01:39:51 +00:00
Add many missing queryDeparturesInvalidStation() tests.
This commit is contained in:
parent
d0a792ab2e
commit
39e6895af9
24 changed files with 145 additions and 0 deletions
|
@ -170,6 +170,12 @@ public class VrsProviderLiveTest extends AbstractProviderLiveTest {
|
|||
printLineDestinations(result);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void queryDeparturesInvalidStation() throws Exception {
|
||||
final QueryDeparturesResult result = queryDepartures("999999", false);
|
||||
assertEquals(QueryDeparturesResult.Status.INVALID_STATION, result.status);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void queryManyDepartures() throws Exception {
|
||||
Random rand = new Random(new Date().getTime());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue