acdream/tests/AcDream.App.Tests/UI/Layout
Erik fc79fd519d refactor(D.2b): DatWidgetFactory review fixes — single lookup + malformed-meter trace
Fix 1: SliceIds now projects the File id during Select rather than calling
TryGetValue twice (once in Where, once in the local File() helper). Added a
comment noting that OrderBy is stable so X-tie order follows insertion order.

Fix 2: BuildMeter emits a [D.2b] Console.WriteLine when the Type-3 container
count is not exactly 2, surfacing malformed or non-vitals meter elements during
Task 8 conformance testing without disturbing the existing solid-color fallback.

Fix 3: Test 5 adds two explicit NotEqual assertions confirming the
ShowDetail-only overlay sprite (OverlayFile = 0x06007490) did not leak into
FrontRight or FrontTile.

5/5 tests pass, 0 warnings.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-15 13:45:38 +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
UiDatElementTests.cs test(D.2b): UiDatElement — cover DrawMode passthrough + media fallbacks 2026-06-15 13:34:50 +02:00