Files
aetherbound-guild/docs/runtime/LEGACY_TEST_REGISTRY.md
T

46 lines
3.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 历史 P9.x 测试登记表(LEGACY TEST REGISTRY)
> 生成:2026-09-14(M70 清理)。现行权威见 `CURRENT_CHECKPOINT.md` 与 `GOAL_ABG_MVP_QUALITY.md`。
## 政策
- `runtime/tests/p9_*`(114 个脚本)验证的是**旧 P9 系统**(含已淘汰的像素-era 页面与 P9.0R3 教学中战斗),
是历史证据,**不属于现行单尺寸 1280×720 门的范围**;不为它们改视口/断言(那会改变它们验证的对象并破坏证据链)。
- 现行世代的单尺寸统一已于 M68 收口完成(16 个 foundation 测试 + 全部探针)。
- 若未来要整体退役 P9.x:需另立计划(含路径迁移、脚本互引清理与证据归档),不在清理轮内做。
## 基线(2026-09-14,HEAD `3d717209` 附近)
- PASS:**99 / 114**
- 非 PASS:**15**(见下表;均为历史流程/淘汰界面/超时,非现行门)
| 脚本 | 基线现象 |
| --- | --- |
| `runtime/tests/p9_0/p9_0_boot_title_test.gd` | TIMEOUT(启动等待,历史启动流程节奏) |
| `runtime/tests/p9_0/p9_0_layout_test.gd` | 断言 1280x720 启动屏 BootScreen —— 旧布局测试自带的尺寸-页面错配 |
| `runtime/tests/p9_0/p9_0_touch_test.gd` | TIMEOUT |
| `runtime/tests/p9_0r1/p9_0r1_touch_test.gd` | 旧 RestartButton 触摸目标已不存在(淘汰界面) |
| `runtime/tests/p9_0r3/p9_0r3_dynamic_slice_test.gd` | 节奏断言(8 秒)与当前实现不同步 |
| `runtime/tests/p9_0r7/p9_0r7_growth_touch_test.gd` | 旧成长触摸流程断言 |
| `runtime/tests/p9_1/p9_1_capture_test.gd` | 未到达 Title(旧捕获流程) |
| `runtime/tests/p9_1/p9_1_touch_test.gd` | TIMEOUT |
| `runtime/tests/p9_1/real_formation_ui_test.gd` | 旧编队 UI 映射断言 |
| `runtime/tests/p9_1/runtime_fixture.gd` | TIMEOUT(非测试入口的 fixture 脚本) |
| `runtime/tests/p9_8/runtime_fixture.gd` | TIMEOUT(同上) |
| `runtime/tests/p9_9/runtime_fixture.gd` | TIMEOUT(同上) |
| `runtime/tests/p9_3/reference_fidelity_runtime_test.gd` | 旧敌人点选流程断言 |
| `runtime/tests/p9_6/risk_recovery_layout_test.gd` | 控件在视口外(旧页面布局) |
| `runtime/tests/p9_7/three_round_continuation_runtime_test.gd` | 旧 P9.3–P9.7 续跑流程断言 |
## M70 清理(2026-09-14)
- 修**真缺陷 1**:共享详情栏 `candidate_ledger` 非紧凑布局中职业行与事实行的 **1px 真实重叠**(0.688→0.692),市场页同受益。
- 修**真缺陷 2**:`m52_market_slot_adapter_test` 的过期几何断言(期望 0.205/0.635 与实现 0.180/0.600 不符);按单尺寸政策删除适配器的紧凑分支并重写为单尺寸契约断言。
- 修**真缺陷 3**:`m52_candidate_ledger_component_test` 收尾用 `quit(0)` 后紧跟无条件 `quit(1)` —— GDScript 中 `quit` 延后生效,导致**打印 OK 却退出码 1**(在 `&&` 链中会静默截断后续测试)。已改为 `else` 结构并加全仓扫描(现仅此一例)。
- 全 foundation 测试(41 个)退出码复扫:**0 个非零**。
## 说明
- 本轮(M70)只修**真缺陷**:市场共享详情栏 1px 真实重叠(`candidate_ledger` 0.688→0.692)与 `m52_market_slot_adapter` 的过期几何断言;该适配器的紧凑分支按单尺寸政策删除。
- `m52_candidate_ledger_component_test` / `m52_market_slot_adapter_test` 现均 PASS。