|
|
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 |
|
|
|
bc3526df88
|
refactor remaining methods into separate methods for improved testing
|
2025-01-22 15:16:28 -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 |
|
|
|
df0e1d3d0f
|
add error throwing to method
|
2025-01-22 14:59:04 -08:00 |
|
|
|
acc8d562c3
|
add json snapshot and test cases for method
|
2025-01-22 14:56:02 -08:00 |
|
|
|
b2be3ae583
|
refactor fetchAndUpdateStopAndPolylineDataForRoutesWithSystemId into separate method
|
2025-01-22 14:55:51 -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 |
|
|
|
9fda898ecb
|
update fetchAndUpdateRouteDataForSystemId to include try/catch
|
2025-01-22 14:36:49 -08:00 |
|
|
|
420b71258e
|
add test cases for fetchANdUpdateRouteDataForSystemId
|
2025-01-22 14:35:11 -08:00 |
|
|
|
f1fd774821
|
refactor route fetching logic for single system ID to external function
|
2025-01-22 14:27:12 -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 |
|
|
|
4dd8b450a0
|
move baseUrl and supported system ids to class level
|
2025-01-22 13:43:37 -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 |
|
|
|
86777a1681
|
make all loader methods public for improved testing
|
2025-01-22 13:25:16 -08:00 |
|
Brendan Chen
|
997f63b9f2
|
Merge pull request #8 from brendan-ch/chore/test-memory-repository
|
2025-01-21 15:41:13 -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 |
|
|
|
52d1ae2b86
|
Merge pull request #7 from brendan-ch/chore/reorganize-classes
chore/reorganize-classes
|
2025-01-21 13:35:06 -08:00 |
|
|
|
59af309bec
|
move api logic to parent class ApiBasedRepositoryLoader
|
2025-01-21 13:33:28 -08:00 |
|
|
|
900d649409
|
add note to turn loadTestData into class
|
2025-01-21 13:28:45 -08:00 |
|
|
|
fc23021c70
|
rename repository loader to TimedApiBasedRepositoryLoader
|
2025-01-21 13:27:42 -08:00 |
|
|
|
26d82390c6
|
remove ApiBasedRepository.ts and tests
|
2025-01-21 13:26:52 -08:00 |
|
|
|
17e1ef2945
|
Merge pull request #6 from brendan-ch/experimental/clear-repository-data-on-refresh
experimental/clear-repository-data-on-refresh
|
2025-01-17 14:50:30 -08:00 |
|
|
|
80faf8114b
|
remove redundant todo
|
2025-01-17 14:46:35 -08:00 |
|
|
|
33c1a512d2
|
experiment with using RepositoryDataLoader for ETA data
|
2025-01-17 14:39:05 -08:00 |
|
|
|
e4b08be1e4
|
clear data individually instead of all at once
|
2025-01-16 21:29:51 -08:00 |
|
|
|
6176dd9f5a
|
call methods to clear data
|
2025-01-16 21:07:49 -08:00 |
|
|
|
b7a25a6115
|
add repository methods to clear all data
|
2025-01-16 21:07:44 -08:00 |
|
|
|
b8a47d4942
|
Merge pull request #5 from brendan-ch/chore/enable-data-updates
chore/enable-data-updates
|
2025-01-15 22:03:12 -08:00 |
|