Commit Graph

226 Commits

Author SHA1 Message Date
fbb57cbf8e add remaining test cases 2025-01-22 20:02:53 -08:00
3a5116ae0c add tests for shuttles and stops 2025-01-22 19:55:09 -08:00
8d81ab1449 add tests for systems and routes 2025-01-22 19:50:04 -08:00
dd5e95f7d1 add test cases 2025-01-22 19:43:52 -08:00
122dfd2f1b add additional test case for already running timer 2025-01-22 16:22:46 -08:00
7007073602 add test implementations for timed api based repository loader 2025-01-22 16:20:32 -08:00
f73abb5adc move fetch mock helpers to separate file 2025-01-22 16:02:19 -08:00
8e944892cc add test case for successful eta data response 2025-01-22 15:49:47 -08:00
05c03aa61f rename the snapshot file 2025-01-22 15:47:37 -08:00
7955f27e77 rename eta data response for consistency 2025-01-22 15:46:27 -08:00
40231adfec add test case for successful shuttle data fetch 2025-01-22 15:45:23 -08:00
eb5d872a1e delete temp tests 2025-01-22 15:43:34 -08:00
871f3b9179 rename shuttle data fetch snapshot 2025-01-22 15:43:21 -08:00
1027927bd6 add test implementations for methods involving loops 2025-01-22 15:41:28 -08:00
ad6a9191f3 add remaining test cases 2025-01-22 15:38:27 -08:00
95f2181b1c add test for fetchAndUpdateStopAndPolylineDataForRoutesInExistingSystemsInRepository 2025-01-22 15:03:29 -08:00
81d0bb9e01 move json syntax error setting to top-level method 2025-01-22 14:59:15 -08:00
acc8d562c3 add json snapshot and test cases for method 2025-01-22 14:56:02 -08:00
4d5e563f9c add stops and polyline data object 2025-01-22 14:49:05 -08:00
1fea82179a add test case for fetch existing systems method 2025-01-22 14:43:45 -08:00
420b71258e add test cases for fetchANdUpdateRouteDataForSystemId 2025-01-22 14:35:11 -08:00
5e5f76afcc add json snapshot for successful routes response 2025-01-22 14:22:45 -08:00
0fe279f069 refactor ApiResponseError check into a function 2025-01-22 14:16:02 -08:00
bbe2c4c7aa add additional test for HTTP status code 2025-01-22 14:03:43 -08:00
1b9a77209f add error pathway and test case for validation 2025-01-22 14:01:57 -08:00
6c9f4691fd add test case for successful system response 2025-01-22 13:44:13 -08:00
045fa3a30a add json snapshot of successful system response 2025-01-22 13:43:53 -08:00
e4b4683b60 change update helper methods back to protected 2025-01-22 13:41:17 -08:00
0f41ff1868 add test cases 2025-01-22 13:35:39 -08:00
82a69ca464 do the same with eta data 2025-01-21 15:37:28 -08:00
d617d22b6d do the same for ordered stops 2025-01-21 15:34:05 -08:00
7b3f7e5960 do the same with mock stops 2025-01-21 15:25:47 -08:00
dd2fde30b9 do the same for mock routes 2025-01-21 15:22:56 -08:00
02ebeb4782 use generator method for shuttles 2025-01-21 15:19:06 -08:00
f71e589493 fix test with generator method 2025-01-21 15:14:20 -08:00
05b3538a91 add and use generator method for system objects 2025-01-21 15:13:53 -08:00
bfd4c40a10 add remaining tests for 100% test coverage 2025-01-21 15:01:21 -08:00
736d348133 add addOrUpdate tests for UnoptimizedInMemoryRepository 2025-01-21 14:50:48 -08:00
8f66b9ddfb add missing tests according to coverage report 2025-01-21 14:37:21 -08:00
0d9d935a9e add rest of tests (mostly generated) 2025-01-21 14:27:18 -08:00
70717d6476 add test cases and implementations for system getters 2025-01-21 14:25:05 -08:00
26d82390c6 remove ApiBasedRepository.ts and tests 2025-01-21 13:26:52 -08:00
ceec9b7617 update test to account for multiple shuttle IDs in data 2025-01-09 14:00:52 -08:00
8cd6c71206 move json snapshots to separate directory 2025-01-09 13:51:55 -08:00
3abbfbb26d disable getShuttlesByRouteId tests for now 2025-01-08 17:40:37 -08:00
432c8600be update test for getShuttleById 2025-01-08 17:37:04 -08:00
f7ec46dacd disable test for TTL check 2025-01-08 17:28:42 -08:00
f865544e49 add getStopById test for getEtasForStopId 2025-01-08 17:26:05 -08:00
365031384c stub getShuttleById in getEtasForShuttleId 2025-01-08 17:23:36 -08:00
f53774bb2f fix syntax error in getEtasForShuttleId test 2025-01-08 17:21:16 -08:00