acdream/tests/AcDream.App.Tests/UI/Layout
Erik 7e56eff884 refactor(D.2b): VitalsController review fixes — cite format doc + use consts in test
Fix 1: Added a <para> to the VitalsController class summary citing
docs/research/2026-06-15-layoutdesc-format.md §11 as the source of the
three dat element ids, giving a paper trail back to the evidence per
the project's cite-in-comments rule.

Fix 2: Changed FakeLayout in VitalsBindingTests to accept (uint id,
UiElement e) tuples instead of (string idHex, UiElement e), and updated
all three call sites to pass VitalsController.Health/.Stamina/.Mana.
Tests now follow the constants automatically if they ever change rather
than silently passing with stale hex literals.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-15 14:10:17 +02:00
..
DatWidgetFactoryTests.cs refactor(D.2b): DatWidgetFactory review fixes — single lookup + malformed-meter trace 2026-06-15 13:45:38 +02:00
ElementReaderTests.cs refactor(D.2b): ElementReader review fixes — defensive Children copy + sentinel doc 2026-06-15 13:25:44 +02:00
LayoutImporterTests.cs feat(D.2b): LayoutImporter — read layout + resolve inheritance + build tree 2026-06-15 13:52:50 +02:00
UiDatElementTests.cs test(D.2b): UiDatElement — cover DrawMode passthrough + media fallbacks 2026-06-15 13:34:50 +02:00
VitalsBindingTests.cs refactor(D.2b): VitalsController review fixes — cite format doc + use consts in test 2026-06-15 14:10:17 +02:00