Commit Graph

183 Commits

Author SHA1 Message Date
c647da4931 add test for systems property of query resolver 2025-01-23 03:58:49 -08:00
57119d9fd9 add test setup for query resolvers 2025-01-23 03:45:50 -08:00
b7d8727b25 remove check of eta pruning 2025-01-22 22:32:10 -08:00
d7528757d4 remove clearing of data in timed repository and update tests 2025-01-22 22:31:39 -08:00
eb0882b2e5 add pruning checks for other data models 2025-01-22 21:21:44 -08:00
a8594032bc update system test to add some systems to prune 2025-01-22 21:10:50 -08:00
d58495d8b4 fix behavior of tests with duplicate mock data 2025-01-22 20:42:07 -08:00
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