2026-04-06 16:20:46 +08:00
|
|
|
# Core UI Integration Validation
|
2026-04-06 03:17:53 +08:00
|
|
|
|
2026-04-06 16:20:46 +08:00
|
|
|
This directory contains the manual XCUI validation system for shared Core primitives.
|
2026-04-06 03:17:53 +08:00
|
|
|
|
2026-04-06 16:20:46 +08:00
|
|
|
Structure:
|
2026-04-06 03:17:53 +08:00
|
|
|
|
2026-04-06 16:20:46 +08:00
|
|
|
- `shared/`: shared host, native renderer, screenshot helper, scenario registry
|
|
|
|
|
- `input/`: shared input validation category
|
|
|
|
|
- `layout/`: shared layout validation category
|
|
|
|
|
- `style/`: shared theme token and style resolution validation category
|
|
|
|
|
- `text/`: shared UTF-8 text rendering and textInput focus marker validation category
|
|
|
|
|
|
|
|
|
|
Rules:
|
|
|
|
|
|
|
|
|
|
- One scenario directory maps to one executable.
|
|
|
|
|
- Do not accumulate unrelated checks into one monolithic app.
|
|
|
|
|
- Shared infrastructure belongs in `shared/`, not duplicated per scenario.
|
2026-04-11 22:14:02 +08:00
|
|
|
- Screenshots are written only under the active CMake build directory.
|
|
|
|
|
- The output root is the executable directory: `.../Debug/captures/<scenario>/`.
|
2026-04-06 16:20:46 +08:00
|
|
|
|
|
|
|
|
Build:
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
cmake --build build --config Debug --target core_ui_integration_tests
|
|
|
|
|
```
|