Commit graph

323 commits

Author SHA1 Message Date
Julius Tens
c2b15fab50 add PKP e2e tests 2020-03-12 18:58:29 +01:00
Jannis R
299b5ac8ae INVG E2E tests 2020-03-12 18:57:07 +01:00
Jannis R
8c7f164fa3 parseLine: expose adminCode
The admin code is often helpful to distinguish lines that can't
be distinguished by their `operator.id`. See also #10.
2020-03-08 23:44:40 +01:00
Jannis R
3ea9380218 parseLocation: parse fare zone, transit authority & more foreign stop IDs
closes #131
see also #5, #90
2020-03-08 23:04:04 +01:00
Jannis R
2a241375db parseLocation: parse foreign stop IDs from I hints
`rRefL` seems to be used by older HAFAS endpoints, e.g. `ver: 1.11`.

see also #5, #90, #131
2020-03-08 23:04:04 +01:00
Jannis R
b9d5c85a54 tests: DB stop(), INSA stop() 2020-03-08 23:04:04 +01:00
Simeon Keske
738354d202
VSN: add E2E tests 2020-02-08 18:05:59 +01:00
Jannis R
e049aa3d04
parseWarning: fix parseMsgEvent 🐛 2020-01-15 18:17:06 +01:00
Jannis R
773035c05d
call formatProductsFilter via profile, use products from ctx.profile 💥 2020-01-05 18:10:10 +01:00
Jannis R
850cd9ce85
tests for formatProductsFilter 2020-01-05 18:10:10 +01:00
Jannis R
6d5c6081ce
request() via profile 💥 2020-01-05 18:10:09 +01:00
Jannis R
4652c1694e
fix test/throttle 💚 2020-01-05 18:10:09 +01:00
Jannis R
2cfee22287
tests: adapt to ctx-based parse fns 2020-01-05 18:10:09 +01:00
Jannis R
fb7a5653e3
parseProductsBitmask via profile, pass ctx into parse fns 💥 2020-01-05 18:10:09 +01:00
Jannis R
cc74f6a85b
tests for parse/* 2020-01-05 18:10:09 +01:00
Jannis R
9318007455
move profile E2E tests to test/e2e 2020-01-05 18:10:08 +01:00
Jannis R
99d1531dbb
adapt tests to c2dc874 2020-01-05 17:55:37 +01:00
Jannis R
2d1d482ddf
adapt tests to 938a6f2 2020-01-05 17:55:27 +01:00
Jannis R
2b9280e6c3
adapt tests to 29a2cf3 2020-01-05 17:55:16 +01:00
Jannis R
4162328fd4
createClient(): request parameter -> opt parameter 💥 2020-01-05 17:52:17 +01:00
Jannis R
655c425ecf
fix DB E2E tests 2020-01-05 17:52:17 +01:00
Jannis R
bff7384f06
basic parser tests 2020-01-05 17:51:27 +01:00
Jannis R
0c145d352b
BVG, VBB: tests for walkingSpeed option 2020-01-05 17:50:56 +01:00
Jannis R
33c1dc3c7e
BVG tests: drop opt.stopovers with departures(), skip test 💚 2020-01-05 17:50:56 +01:00
Jannis R
1afe4caf41
BVG: test for BerlKönig 2020-01-05 17:50:55 +01:00
Jannis R
16116358df
basic tests for DB Busradar NRW 2019-12-29 22:45:46 +01:00
Jannis R
19c3ee614c
NVV tests 2019-08-16 18:20:15 +02:00
Jannis R
77afb9f9a3
DB: enable radar() 2019-07-20 13:07:16 +02:00
Jannis R
dca6c15ded HVV: tests 2019-05-27 20:17:23 +02:00
Jannis R
59de9b8862 CFL: adapt tests to latest data 💚 2019-05-20 20:06:24 +02:00
Jannis R
d5f9675c2a CFL tests: ignore missing direction 2019-05-20 20:06:24 +02:00
Jannis R
75432fcf4c CFL: tests 2019-05-20 20:06:24 +02:00
Jannis R
26069806e0 remove 0 milliseconds from docs & tests 2019-04-29 18:23:40 +01:00
Jannis R
5d49fd0a20 parseDateTime: fix tzOffset + daysOffset 🐛
closes #106
2019-03-19 12:56:49 +01:00
Jannis R
8bfc4aee0f test for parseDateTime 2019-03-19 12:56:49 +01:00
Jannis R
3b0740d310
adapt tests to 7e39a2f 2019-02-28 16:45:40 +01:00
Jannis R
fbde6a171b
createClientWithRetry -> withRetrying 💥 2019-02-28 16:45:40 +01:00
Jannis R
748f8ce6b0
createThrottledClient -> withThrottling 💥 2019-02-28 16:45:40 +01:00
Jannis R
c04e041338
make tests more robust 💚 2019-02-28 16:45:40 +01:00
Jannis R
eab850e058
adapt docs & tests to eb3ffba 📝 2019-02-28 16:45:31 +01:00
Jannis R
9c449958c4
remove (arrival|departure).trip, movement.trip 💥 2019-02-28 16:45:31 +01:00
Jannis R
fcc2a23fc1
ÖBB journeys: fix opt.results 🐛 2019-02-28 16:45:31 +01:00
Jannis R
8566bcc85f
journeys tests: expect 4 results
The default nr of results returned by HAFAS seems to be `3`, so we pick
a different one to assert that the `results` option actually works.
2019-02-28 16:45:31 +01:00
Jannis R
c1bb9a6a5c
adapt docs & tests to 0e1fcb0 📝 2019-02-28 16:45:18 +01:00
Jannis R
a1c40ad084
adapt tests to fcc53b5 2019-02-28 16:45:09 +01:00
Jannis R
88c78c243f
adapt tests to 96ff59d 2019-02-28 16:44:46 +01:00
Jannis R
0fa9610b30
tests: trip validator 2019-02-28 16:44:46 +01:00
Jannis R
2e12206c0b
adapt tests to bad0af8 2019-02-28 16:44:22 +01:00
Jannis R
bbff1f4c63
movement.nextStops -> movement.nextStopovers 💥 2019-02-28 16:44:10 +01:00
Jannis R
59584a3402
tests: co/yield -> async/await 2019-02-28 16:44:10 +01:00