logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.Ui.Tests.Domain

    Classes

    FlexboxSolverBehaviorTests

    Additional edge-case behavior for FlexboxSolver not covered by FlexboxSolverTests: null input, clamping of negative/oversized FIXED and PERCENT values, zero-weight flex, overflow interaction with flex children, and gap-dominated content clamping.

    FlexboxSolverTests

    Tests for FlexboxSolver: the pure main-axis layout solver shared by the builder wireframe and the UI preview (FIXED/PERCENT claim space first, FLEX/AUTO share the remainder).

    LayoutConfigTests

    Behavioral tests for LayoutConfig: default values, convenience ctor, and the IsHorizontal / IsReversed direction logic (note this project's inverted COLUMN=horizontal convention).

    LayoutPaddingTests

    Behavioral tests for LayoutPadding factory helpers.

    LayoutSizeTests

    Behavioral tests for LayoutSize: factory helpers, Parse of CSS tokens, min/max clamps, and ToString.

    SerializedComponentDataTests

    Behavioral tests for the abstract SerializedComponentData base, exercised through a minimal concrete subclass: the parameterized ctor stores fields and routes signals through ReplaceSignals, and the protected ctor defaults to an empty signal collection.

    UiAnchorMapperTests

    Tests for UiAnchorMapper: the single anchor→placement-factor mapping shared by the menu positioning utils and the UI preview (horizontal 0=left→1=right; vertical 0=bottom→1=top).

    UiDomainCoverageTests

    Tests for Ui domain entities, use cases.

    UiDomainEnumsTests

    Guards the member set and default (zero) values of the Ui domain enums. Several pieces of domain logic depend on these: e.g. FlexboxSolver treats AUTO as the default size unit, and the LayoutSize default struct has AUTO as its unit.

    UiOptionBehaviorTests

    Additional UiOption behavior not covered by UiDomainCoverageTests: defensive copy of the submit-signal list, null-signal handling, the IFoundationSettings proxy, and the ToString signal-count phrasing.

    UiOptionBoolValueTests

    UiOptionFactoryTests

    Behavioral tests for UiOptionFactory: each Create* method copies the template's metadata and produces the matching concrete value/default-value subtype.

    UiOptionFloatValueTests

    UiOptionIntegerValueTests

    UiOptionMenuActionValueTests

    UiOptionMenuTransitionValueTests

    UiOptionSelectableValueTests

    UiOptionStringValueTests

    UiOptionTypedValueBehaviorTests

    Cross-cutting edge cases for the typed UiOptionValue subclasses not covered by their per-type test files: invalid value-string with an otherwise valid UI element, culture handling of numeric parsing/formatting, negatives, and base-string-value population.

    UiOptionValueBehaviorTests

    Additional behavior for the base UiOptionValue not covered by UiOptionValueTests: exact ToString format and the explicit IFoundationSettings Id/Guid proxy setters.

    UiOptionValueFactoryTests

    UiOptionValueTests

    In this article
    © 2026 Serenity. All Rights Reserved