mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-24 19:41:51 +01:00
Test builds only. With CRAFT_UI_AUDIT_REPLAY=1 (or testing::audit_replays), the outermost view that would replay in a real pass runs for real inside an audit record; the kept run stays as it was. The run is compared with what the replay adds: the view's rect, paint, widget rects and AccessKit nodes (PassRecords::first_difference), focus registrations, the journal and the output. A difference panics with the view's name and the first difference of each kind. Counters count nothing inside an audit run, so the count trials hold under the audit. A record that paints a paint callback is blocked: its view runs every pass, and the audit names it.