Commit Graph

85 Commits

Author SHA1 Message Date
b58babc7ea change updatedTime into a Date 2025-04-29 17:01:51 -07:00
570ab8a178 update tests and mock data generators 2025-04-29 16:18:46 -07:00
fe2b8b2f69 add test cases 2025-04-08 16:45:58 -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
6d762ce620 remove all system related data from shuttle repository 2025-04-06 10:49:47 -07:00
5936c2b743 update tests to match new repository behavior 2025-04-06 09:57:03 -07:00
a144657fa8 update remove implementation and tests 2025-04-06 09:55:23 -07:00
695fec1fce rename update method and update return types 2025-04-06 09:51:13 -07:00
7e0c1f3539 rename get system method on shuttle repository, update tests 2025-04-06 09:48:55 -07:00
fbc08838df test unsubscribeFromNotificationChanges method 2025-03-31 20:34:45 -07:00
c6f846d109 add tests for isNotificationScheduled 2025-03-31 20:29:44 -07:00
50148cc2f4 implement RedisNotificationRepository 2025-03-31 20:26:26 -07:00
39066b88bc have teardown clear all data in redis before starting next test 2025-03-31 20:21:09 -07:00
372ecba952 restructure implementation holders into classes with teardown 2025-03-31 20:07:55 -07:00
998643dc04 add call to connect method in factory 2025-03-31 19:55:56 -07:00
f34a2f27d7 add redis notification repository tests back for edge cases 2025-03-31 19:52:51 -07:00
7a5e1b8561 use describe.each to test the multiple implementations 2025-03-31 19:50:37 -07:00
a7ac9888f6 add setup for repository tests 2025-03-31 19:43:17 -07:00
a84cedd05a add test and implementation for addOrUpdate listeners 2025-03-27 11:23:07 -07:00
51d66d8886 add tests and implementation for notification deletes 2025-03-27 11:18:43 -07:00
ead401a3b1 add tests for in-memory notification repository 2025-03-27 10:11:41 -07:00
101c5ca6e0 change name of test for in-memory notification repository 2025-03-27 10:07:11 -07:00
7379840070 extract notification repository to interface 2025-03-27 10:06:42 -07:00
c517d93e3a add test cases and rename some methods 2025-03-27 10:02:13 -07:00
60b626b64f also rename the tests 2025-03-27 09:35:05 -07:00
fab99db755 rename existing repository to shuttle repository 2025-03-27 09:32:29 -07:00
fe16bc7124 add test case for nonexistent callback 2025-02-02 13:16:28 -08:00
b30e4be895 rename methods for clarity on method events 2025-02-02 13:14:45 -08:00
047ff3a56e add test cases for the new functions 2025-02-02 13:09:54 -08:00
899b953be5 add test cases 2025-02-02 13:05:13 -08:00
5957010a7f add test cases and documentation for functions 2025-02-02 13:04:03 -08:00
e1fd1714b9 move mock data generators into test helpers folder 2025-01-29 15:35:15 -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
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