test(外观专利): 模块支数棘轮 55→56(B95-02 新增 client/AppearancePatentBrandFailureText)

整量 `mvn -o test` 抓到 `SourceScanTest.moduleSources_appearancepatent登记数与真实文件同号` 红:
新增的文案分档类落在 modules/appearancepatent/client,模块支数 55→56。

棘轮按口径显式改数并写清是谁的哪一笔(同文件既有做法),不放宽断言形状。
This commit is contained in:
2026-11-11 20:29:23 +08:00
parent ef78608a64
commit 5390503f7a
@@ -318,7 +318,7 @@ class SourceScanTest {
List<Path> files = SourceScan.moduleSources("modules/appearancepatent");
assertThat(files)
.as("真实集成:对真仓目录求值。55 支=2 controller+1 client+8 service 根件"
.as("真实集成:对真仓目录求值。56 支=2 controller+2 client+8 service 根件"
+ "(主件/只读查询/同步/出表作业/缓存/心跳与拉取与重试 SPI)"
+ "+21 service/support+22 model(dto7/entity1/vo14)+1 mapper,"
+ "与 find 实测同号"
@@ -329,8 +329,10 @@ class SourceScanTest {
+ "controller/AdminAppearancePatentCleanItemsController+"
+ "service/AppearancePatentCleanItemQueryService+model/vo 两件;"
+ "2026-11-11「按主管划分」再落 3 支 model/vo:"
+ "SupervisorPageVo/SummaryVo/SupervisorVo)")
.hasSize(55);
+ "SupervisorPageVo/SummaryVo/SupervisorVo;"
+ "2026-11-11 B95-02 整批失败文案分档再落 1 支 client:"
+ "AppearancePatentBrandFailureText)")
.hasSize(56);
assertThat(files.stream().map(p -> p.toString().replace('\\', '/')).toList())
.as("support 目录里的既有件必须在面里——聚合入口存在的理由就是拆分后的新文件要自动被看到")
.anyMatch(rel -> rel.endsWith("service/support/AppearancePatentRowNormalizer.java"));