acdream/tests/AcDream.App.Tests/UI/Layout
Erik 2b653b8fc0 test(D.2b): conformance polish — table-driven slice asserts + BOM-safe loader
Fix 1: replace 3 copy-paste meter blocks in VitalsTree_MetersHaveExpectedSliceIds
with a single table-driven loop — a 4th meter is now a one-liner and failures
name the failing meter id directly.

Fix 2: FixtureLoader now reads the fixture as bytes and strips the UTF-8 BOM
(EF BB BF) before passing the span to JsonSerializer, so a BOM-bearing fixture
file never causes a spurious JsonReaderException.

Fix 3: add [Trait("Category", "Conformance")] at the class level so conformance
tests are selectable by category filter.

Fix 4: add missing <param name="layoutId"> doc tag to LayoutImporter.ImportInfos.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-15 14:38:55 +02:00
..
fixtures test(D.2b): vitals importer conformance — golden fixture + tree/slice/chrome checks 2026-06-15 14:29:30 +02:00
DatWidgetFactoryTests.cs feat(D.2b): factory propagates ReadOrder→ZOrder for faithful draw layering 2026-06-15 14:14:28 +02:00
ElementReaderTests.cs refactor(D.2b): ElementReader review fixes — defensive Children copy + sentinel doc 2026-06-15 13:25:44 +02:00
FixtureLoader.cs test(D.2b): conformance polish — table-driven slice asserts + BOM-safe loader 2026-06-15 14:38:55 +02:00
LayoutConformanceTests.cs test(D.2b): conformance polish — table-driven slice asserts + BOM-safe loader 2026-06-15 14:38:55 +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