Commit Graph

287 Commits

Author SHA1 Message Date
544cab5324 move parking structures to a sub-field of system 2025-04-16 17:01:41 -07:00
2092827d37 implement endpoints and update test 2025-04-16 16:52:45 -07:00
c9ecc18495 implement parkingStructure tests 2025-04-16 16:45:08 -07:00
a38ca3d3de add rest of parkingStructures tests 2025-04-16 16:39:07 -07:00
ea1150a98d add test for getting parking structures associated with id 2025-04-16 16:35:48 -07:00
37a67aace7 update system testing builder with parking system 2025-04-16 16:32:53 -07:00
1624d78cb5 add parking structures generator 2025-04-16 16:31:56 -07:00
a6d4b40fba add test cases for endpoints 2025-04-16 16:28:09 -07:00
c9aa2c401f restructure parking and shuttle repository loaders 2025-04-11 17:13:39 -07:00
0e3c12bebc add test for ChapmanApiBasedParkingRepositoryLoader.fetchAndUpdateAll 2025-04-11 17:09:52 -07:00
50350d8c49 add test for ApiBasedShuttleRepositoryLoader.fetchAndUpdateAll 2025-04-11 17:08:20 -07:00
44095e711a make timeoutMs a settable property 2025-04-11 16:57:47 -07:00
6cc20a4a6a remove redundant TODO 2025-04-11 16:53:45 -07:00
a0e0c19ca3 update timed loader to use class composition 2025-04-11 16:52:27 -07:00
49b823890f remove "Timed" from class name to prepare for subclassing 2025-04-11 16:13:36 -07:00
f67e3f13f5 update test data for correctness 2025-04-10 16:58:30 -07:00
e25a96f704 add test for ApiResponseError 2025-04-10 16:46:59 -07:00
b6856a98a2 move ApiResponseError assertion function to separate file 2025-04-10 16:46:20 -07:00
263607fc69 move ApiResponseError to separate file 2025-04-10 16:44:57 -07:00
3d6dc1e7b6 add pass to check validity of parking structures generated 2025-04-10 16:43:04 -07:00
8c810c5224 add setup of loader 2025-04-10 16:36:28 -07:00
aed005f7a7 add successful JSON response for chapman parking structure data 2025-04-10 16:29:13 -07:00
726af52685 rename test file 2025-04-10 16:27:15 -07:00
b9810057ce add test cases 2025-04-10 16:26:41 -07:00
fe2b8b2f69 add test cases 2025-04-08 16:45:58 -07:00
0ce0c54ddd remove IPassioSystem entity 2025-04-08 16:09:15 -07:00
2741d229f9 rename entities.ts to ShuttleRepositoryEntities.ts 2025-04-08 16:07:48 -07:00
c7666c092c update remaining tests 2025-04-07 19:55:25 -07:00
b6f3e4ccde update method signatures to not include system id 2025-04-07 19:17:14 -07:00
0076d987ca rename methods in getter repository 2025-04-07 19:06:18 -07:00
495a946e78 use the correct system ID for mock data in eta loader test 2025-04-07 13:59:11 -07:00
8e3765abfb update tests to correctly test internal system ID and passio ID 2025-04-07 13:47:50 -07:00
25f2a8c458 differentiate between passio system ID and internal ID in loader class 2025-04-07 13:26:19 -07:00
87dfd0dab1 rename build method to buildForTesting 2025-04-07 12:47:31 -07:00
0525ccc7e4 update system ID in ETA notification scheduler test 2025-04-07 12:42:34 -07:00
c8ea822626 update query resolver tests to modify the context 2025-04-07 12:37:08 -07:00
1e7082813d reference correct system which is rebuilt every test 2025-04-07 12:26:49 -07:00
d20711d53d update setup method to correctly create new system for testing every test 2025-04-07 12:26:18 -07:00
2ba64a9b0d attach the context correctly in system resolver tests 2025-04-07 12:18:26 -07:00
3d13bad11c update mock data generators 2025-04-07 12:14:12 -07:00
9c414be8ce fix test references after removal of addMockSystemToRepository 2025-04-07 12:07:32 -07:00
c32dcb9610 remove async label from test server construction of context 2025-04-06 14:40:08 -07:00
d95d112bf2 define findSystemById method 2025-04-06 14:38:02 -07:00
f31e010828 update method to set up test server context 2025-04-06 12:56:12 -07:00
56466964c1 update method calls in TimedApiBasedShuttleRepositoryLoader 2025-04-06 11:23:27 -07:00
8c2fb3a52a use simplified implementation without system loading 2025-04-06 11:21:07 -07:00
940d172e87 rename ISystem to IPassioSystem 2025-04-06 10:50:51 -07:00
6d762ce620 remove all system related data from shuttle repository 2025-04-06 10:49:47 -07:00
d607a3742c update constructor of loaders to take a system id 2025-04-06 10:24:55 -07:00
503bb0fec7 fix timed api loader tests 2025-04-06 10:16:58 -07:00