Namespace Serenity.Shared.Tests.Layout
Classes
DiagramColumnLayoutTests
Tests for DiagramColumnLayout, extracted from
Serenity.EventDispatcher.Infrastructure.Editor.SerenitySignalFlowBrowserWindow where this
arithmetic previously had no coverage at all. Card measurement stays with the window (it needs
GUIStyle text metrics), so these tests exercise only the truncation/selection/shift decisions.
ListRowLayoutTests
Tests for ListRowLayout.
These exist because of a real defect that shipped and could not be seen: a HUD element's summary was drawn
underneath its own foldout header, because the header used a stretch-width style and took the entire row.
It compiled, it ran, and every test passed. The invariant no other test could state is asserted here —
Serenity.Shared.Tests.Layout.ListRowLayoutTests.NothingOverlaps(Serenity.Shared.Layout.ListRowLayout.Solution) — and it fails on exactly that bug.