Class 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.
Inherited Members
Namespace: Serenity.Shared.Tests.Layout
Assembly: Tests.dll
Syntax
public class ListRowLayoutTests
Constructors
ListRowLayoutTests()
Declaration
public ListRowLayoutTests()
Methods
ADroppedBadge_IsNeverFollowedByAVisibleOne()
Declaration
public void ADroppedBadge_IsNeverFollowedByAVisibleOne()
AGreedyTitle_CannotSwallowTheRow()
Declaration
public void AGreedyTitle_CannotSwallowTheRow()
ANarrowRow_DropsBadgesFromTheRightRatherThanClippingThem()
Declaration
public void ANarrowRow_DropsBadgesFromTheRightRatherThanClippingThem()
ARowOffsetFromTheOrigin_PlacesEverythingRelativeToIt()
Declaration
public void ARowOffsetFromTheOrigin_PlacesEverythingRelativeToIt()
ATypicalRow_PlacesEverythingWithoutOverlap()
Declaration
public void ATypicalRow_PlacesEverythingWithoutOverlap()
AVeryNarrowRow_StillPlacesTheControls()
Declaration
public void AVeryNarrowRow_StillPlacesTheControls()
AnExpandedRowShowingNoBadges_GivesTheTitleTheSameStart()
Declaration
public void AnExpandedRowShowingNoBadges_GivesTheTitleTheSameStart()
AtAnyWidth_NothingOverlapsAndNothingEscapes(float)
Declaration
public void AtAnyWidth_NothingOverlapsAndNothingEscapes(float rowWidth)
Parameters
| Type | Name | Description |
|---|---|---|
| float | rowWidth |
BadgesRunLeftToRightAfterTheTitle()
Declaration
public void BadgesRunLeftToRightAfterTheTitle()
NoBadgesAndNoActions_StillPlacesTheTitle()
Declaration
public void NoBadgesAndNoActions_StillPlacesTheTitle()
TheControlStrip_IsPinnedToTheRightEdgeInReadingOrder()
Declaration
public void TheControlStrip_IsPinnedToTheRightEdgeInReadingOrder()
TheMarker_LeadsTheRowAndTheTitleFollowsIt()
Declaration
public void TheMarker_LeadsTheRowAndTheTitleFollowsIt()