Brendan Chen
|
d0d651eb50
|
Merge pull request #11 from brendan-ch/bugfix/fix-data-flickering
|
2025-01-22 22:37:53 -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 |
|
|
|
15a9330722
|
add note about pruning behavior for ApiBasedRepositoryLoader
|
2025-01-22 22:29:01 -08:00 |
|
|
|
d8119b7506
|
add implementations for data types with id
|
2025-01-22 21:36:21 -08:00 |
|
|
|
eb0882b2e5
|
add pruning checks for other data models
|
2025-01-22 21:21:44 -08:00 |
|
|
|
e7e513b0b1
|
implement pruning code
|
2025-01-22 21:10:59 -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 |
|
|
|
be2efe2353
|
implement rest of methods
|
2025-01-22 20:41:24 -08:00 |
|
|
|
e9703e53ae
|
implement route removal
|
2025-01-22 20:10:50 -08:00 |
|
|
|
144fa7c852
|
move index finding to separate method
|
2025-01-22 20:09:49 -08:00 |
|
|
|
bc07fe5622
|
add implementation for removeSystemIfExists
|
2025-01-22 20:05:47 -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 |
|
|
|
f080c1ab5e
|
update stub methods to clarify behavior
|
2025-01-22 19:41:31 -08:00 |
|
|
|
f94c8dd629
|
add method stubs to remove data by id
|
2025-01-22 19:29:11 -08:00 |
|
|
|
dcdf370423
|
Merge pull request #10 from brendan-ch/chore/test-timed-api-based-repository-loader
chore/test-timed-api-based-repository-loader
|
2025-01-22 16:25:05 -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 |
|
|
|
200c5328b6
|
make timeout constant a class property
|
2025-01-22 16:20:20 -08:00 |
|
|
|
f73abb5adc
|
move fetch mock helpers to separate file
|
2025-01-22 16:02:19 -08:00 |
|
|
|
8f510e5479
|
Merge pull request #9 from brendan-ch/chore/test-api-based-repository-loader
chore/test-api-based-repository-loader
|
2025-01-22 15:55:57 -08:00 |
|
|
|
193ef324dd
|
Merge branch 'main' into chore/test-api-based-repository-loader
|
2025-01-22 15:54:40 -08:00 |
|
|
|
c902472457
|
add try/catch to remaining methods
|
2025-01-22 15:52:29 -08:00 |
|
|
|
d1f8d940b3
|
remove console.error calls to leave responsibility to caller
|
2025-01-22 15:51:00 -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 |
|
|
|
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 |
|