Namespace Serenity.Ui.Tests.Domain
Classes
FlexboxSolverBehaviorTests
Additional edge-case behavior for Serenity.Ui.Domain.Services.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 Serenity.Ui.Domain.Services.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 Serenity.Ui.Domain.Entities.LayoutConfig: default values, convenience ctor, and the IsHorizontal / IsReversed direction logic (note this project's inverted COLUMN=horizontal convention).
LayoutPaddingTests
Behavioral tests for Serenity.Ui.Domain.Entities.LayoutPadding factory helpers.
LayoutSizeTests
Behavioral tests for Serenity.Ui.Domain.Entities.LayoutSize: factory helpers, Parse of CSS tokens, min/max clamps, and ToString.
SerializedComponentDataTests
Behavioral tests for the abstract Serenity.Ui.Domain.Entities.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 Serenity.Ui.Domain.Services.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 Serenity.Ui.Domain.Entities.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 Serenity.Ui.Domain.Services.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 Serenity.Ui.Domain.Entities.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 Serenity.Ui.Domain.Entities.UiOptionValue not covered by UiOptionValueTests: exact ToString format and the explicit IFoundationSettings Id/Guid proxy setters.