Commit graph

381 commits

Author SHA1 Message Date
Jannis R
9c4189a874 add E2E tests for SVV 2020-04-09 14:33:58 +02:00
Jannis R
17031f3e11
add SNCB/NMBS E2E tests 2020-03-19 13:05:11 +01:00
Jannis R
2cb6a0c32b
parseIcon, parseHint, parseLocation: handle more edge cases 🐛 2020-03-18 21:45:36 +01:00
Jannis R
36a8b388f2
add todos
also remove dead code
2020-03-18 21:45:30 +01:00
Jannis R
522248b908 add RSAG E2E tests 2020-03-12 19:01:03 +01:00
Jannis R
0ea2c01abe add RMV E2E tests 2020-03-12 19:00:02 +01:00
Jannis R
8540f5f610 add VBN E2E tests 2020-03-12 18:59:17 +01:00
Jannis R
682f9f948d add VBN profile 2020-03-12 18:59:17 +01:00
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