hjhan
7b007bddfa
refactor(swap-test): 抽取 TestableSwapEodPositionService 公共基类收敛重复 Stub
- 新建 TestableSwapEodPositionService 收敛 8/8 Stub 重复的高频 override
(PersistEodSwapPosition/SaveAllChanges/GetCurrencyRate/AddClientCash)
+ 统一 OptUserInfo 构造 + PersistedPositions/SaveChangesCount 输出捕获
- SwapEodPositionService.DealInterests 改 protected virtual(行为零变化)
- 8 个 ScenarioTest 改为继承基类,删除重复 override
- 消灭 DealInterestsScenarioTest/DealInterestsGoldenReplayTest 的反射调用
(typeof().GetMethod().Invoke → 直接调用 DealInterests)
验证:dotnet build 0 错误;dotnet test SwapModule 284通过/6跳过/0失败
2026-07-23 11:16:11 +08:00
..
2026-07-17 10:59:18 +08:00
2026-07-23 11:16:11 +08:00
2026-07-23 11:16:11 +08:00
2026-07-01 18:40:48 +08:00
2026-07-23 11:16:11 +08:00
2026-07-23 11:16:11 +08:00
2026-07-23 11:16:11 +08:00
2026-07-17 10:58:31 +08:00
2026-06-02 14:41:17 +08:00
2026-06-02 14:41:17 +08:00
2026-07-23 11:16:11 +08:00
2026-07-17 10:59:18 +08:00
2026-07-20 18:41:16 +08:00
2026-07-02 09:37:18 +08:00
2026-07-21 15:28:15 +08:00
2026-07-21 15:28:15 +08:00
2026-07-17 08:23:50 +08:00
2026-07-03 09:38:05 +08:00
2026-07-03 09:26:13 +08:00
2026-07-02 09:20:41 +08:00
2026-07-23 11:16:11 +08:00
2026-07-03 09:38:05 +08:00
2026-07-01 17:07:55 +08:00
2026-06-26 09:13:37 +08:00
2026-02-13 18:12:00 +08:00
2026-07-17 08:40:19 +08:00
2026-07-21 15:28:13 +08:00
2026-07-21 15:28:14 +08:00
2026-07-03 18:12:52 +08:00
2026-07-01 13:38:24 +08:00
2026-07-23 11:16:11 +08:00
2026-07-21 15:28:17 +08:00
2026-07-21 15:28:13 +08:00
2026-07-16 13:00:21 +08:00
2026-07-16 11:09:47 +08:00
2026-07-14 17:23:33 +08:00
2026-07-16 19:54:26 +08:00
2026-07-21 15:28:13 +08:00
2026-07-03 18:12:52 +08:00
2026-07-23 11:16:11 +08:00
2026-07-03 09:26:13 +08:00
2026-07-03 09:20:59 +08:00