Commit Graph

22 Commits

Author SHA1 Message Date
Anduin Xue 1359da5bcd Fix lint issues: remove unused using directive and make lint.sh executable 2025-12-06 07:57:54 +00:00
Anduin 67b4d6546d Refactor ChessServer test methods and cleanup unused imports
Several test methods in the ChessServer module have been refactored for better readability and maintainability. A new method, CreateChallengeForTest, was introduced to reduce redundancy. The use of unnecessary imports in the InMemoryDatabase class has also been tidied up.
2024-06-18 08:13:35 +00:00
Anduin 47b6fbee57 Refactor test initialization and redirect actions
The test initialization method within BasicTests.cs has been simplified for improved code readability. Additionally, redundant playerId argument has been removed from RedirectToAction calls within HomeController.cs, streamlining redirection methods.
2024-06-18 05:55:17 +00:00
AnduinXue ce5956ef43 Fix UT. 2024-04-06 08:44:09 +00:00
AnduinXue 891a2438e1 Add a max wait time. 2024-04-06 08:18:12 +00:00
xuef 73cc40ac5b Upgrade packages. 2024-03-15 07:42:00 +00:00
AnduinXue 4480a78b42 Upgrade packages. 2024-01-21 06:56:24 +00:00
AnduinXue 1d648ff9ce Upgrade packages. 2024-01-05 16:53:29 +00:00
Anduin Xue 6e01773bf1 New high performance. 2024-01-04 07:02:30 +00:00
Anduin Xue e67b4907ac Pure websocket game. 2024-01-02 06:37:00 +00:00
Anduin Xue c26ad81c28 Fix lint. 2023-12-11 07:34:04 +00:00
Anduin Xue 1f1869fce4 Simplify ut. 2023-12-11 07:25:17 +00:00
AnduinXue 46c581b2fa Add some lock. 2023-12-10 18:17:46 +00:00
AnduinXue be0d29ab5a Use new webtools for websocket. 2023-12-10 18:09:39 +00:00
AnduinXue c3c9ce7e48 New UT to cover web socket. Use view component. 2023-12-10 17:01:08 +00:00
xuef e6754d611f Fix tests. 2023-11-29 14:17:24 +00:00
xuef e9fbbe322d Fix tests. 2023-11-29 14:14:50 +00:00
xuef 9b1e5521a0 Fix tests. 2023-11-29 14:14:10 +00:00
xuef f868fe21e8 Higher coverage. 2023-11-29 14:07:13 +00:00
xuef 7279a89f4f Higher coverage 2023-11-29 14:06:33 +00:00
xuef 67ad82ba08 More tests. 2023-11-25 09:07:51 +00:00
xuef 4aa237d1ac Add tests. 2023-11-25 09:07:01 +00:00