Commit Graph

400 Commits

Author SHA1 Message Date
037beea5e3 make a similar method for previous stop query response 2025-01-28 14:57:35 -08:00
f0828e836c move query string into the function scope 2025-01-28 14:56:23 -08:00
cf3f26e255 refactor querying call into a separate method 2025-01-28 14:54:35 -08:00
d423cdb95b add test case for if next stop object does not exist 2025-01-28 14:52:10 -08:00
151281a17f add test case for null next stop 2025-01-28 14:47:33 -08:00
e079c0283e move ordered stops setup to method for reuse in previous stops test 2025-01-28 14:45:28 -08:00
0ed17cff6f add test case for nextStop resolver for ordered stop 2025-01-28 14:42:01 -08:00
31724a6e9e Merge branch 'main' into chore/add-resolver-tests 2025-01-23 16:19:21 -08:00
9b69f00ea5 Merge pull request #13 from brendan-ch/chore/update-graphql-schema-to-include-ids
chore/update-graphql-schema-to-include-ids
2025-01-23 16:18:00 -08:00
c4d3f6f4e9 add mock data to repository before each test run 2025-01-23 15:53:01 -08:00
c09195804a add test cases 2025-01-23 15:49:43 -08:00
6e05ac5fad add queries for ordered stop resolver tests 2025-01-23 15:46:38 -08:00
ae2c656d25 add test file for OrderedStopResolvers 2025-01-23 15:41:06 -08:00
65d05f3515 add remaining tests for StopResolvers 2025-01-23 15:37:43 -08:00
8deb9e38a0 add test cases and implementations for StopResolverTests 2025-01-23 15:33:42 -08:00
640eb76971 migrate test server setup to separate file 2025-01-23 15:20:34 -08:00
1abf808e9f add route tests for ShuttleResolvers 2025-01-23 15:13:11 -08:00
17dfc18c3b add tests for etas resolver 2025-01-23 14:52:51 -08:00
4cddacb464 add tests for eta resolver on shuttle resolvers object 2025-01-23 14:45:49 -08:00
73f6a911e3 Merge pull request #12 from brendan-ch/bugfix/fix-lingering-eta-data
bugfix/fix-lingering-eta-data
2025-01-23 14:26:09 -08:00
71b3b718ab add clearEtaData call to repository 2025-01-23 14:24:42 -08:00
c39834cf66 add remaining tests for QueryResolvers 2025-01-23 04:08:01 -08:00
3366a764f9 add test cases for system property of query object 2025-01-23 04:00:51 -08:00
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
5813408a36 move other resolvers into their own files 2025-01-23 03:39:50 -08:00
718677d6dd fix import error 2025-01-23 03:35:07 -08:00
d506f9bbfe split query resolvers into separate files 2025-01-23 03:33:43 -08:00
36d1a24484 update resolvers for updated schema 2025-01-23 03:26:59 -08:00
5fe66c1517 create updated schema with required IDs 2025-01-23 03:23:15 -08:00
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