logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.GameUi.Tests.Application

    Classes

    CompiledHudBindingTextTests

    Tests for TryReadText(out string): whether the value renders as invariant text regardless of the running machine's culture.

    HideHudElementSignalTests

    Tests for HideHudElementSignal.

    HideHudSignalTests

    Tests for HideHudSignal.

    HudAnimationTriggerRulesTests

    HudBindingCompilerTests

    Covers the binding chain against stand-ins shaped like Serenity's real services: a plain property, a parameterised snapshot call followed by a field read, and a try-style method with an out parameter.

    HudDefinitionScannerTests

    Tests for HudDefinitionScanner, the one place HUD authoring rules live.
    Every rule gets a case that fires it and the clean-element case proves it does not fire otherwise, because a scanner that reports a finding on a correct HUD is worse than one that reports none — the author stops reading. Each case also asserts the section, since that value is what a tool uses to open the group of fields at fault.

    HudDefinitionScannerTests.FakePayload

    HudDragPlacementTests

    HudElementTreeOrderTests

    Tests for HudElementTreeOrder, the pure solver behind the HUD Builder's nested element list.

    HudPlacedElementNarrowingTests

    Proves the placement solvers accept anything that satisfies IHudPlacedElement, not only a full IHudElementDefinition — the whole point of narrowing their signatures.

    HudPlacementResolverTests

    HudRepresentationRulesTests

    HudThresholdRulesTests

    Tests for HudThresholdRules: band selection is inclusive on the upper bound and first-match, there is no base colour above every band, and every representation kind lands on the right side of the threshold-colour support matrix.

    HudTransformPlacementTests

    HudTriggerSignalFormatTests

    Tests for HudTriggerSignalFormat: the engine-agnostic no-code trigger convention.

    HudValueChangeDetectorTests

    Tests for HudValueChangeDetector: whether a newly observed value counts as a change worth reacting to, and which direction it moved.

    ShowHudElementSignalTests

    Tests for ShowHudElementSignal.

    ShowHudSignalTests

    Tests for ShowHudSignal.

    Structs

    HudBindingCompilerTests.FakeWeaponId

    HudBindingCompilerTests.FakeWeaponSnapshot

    Interfaces

    HudBindingCompilerTests.IFakeBaseService

    HudBindingCompilerTests.IFakeWeaponService

    In this article
    © 2026 Serenity. All Rights Reserved