logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.Global.Tests.Domain

    Classes

    AppReadinessOptionsTests

    Tests for AppReadinessOptions entity, focusing on defaults and property behavior.

    AssetPathReferenceAttributeTests

    Tests for AssetPathReferenceAttribute: constructor stores the asset type name, attribute usage metadata, and field applicability via reflection.

    ConfigurationEntryTests

    Tests for ConfigurationEntry entity, focusing on construction and string representation.

    FloatRangeAttributeTests

    Tests for FloatRangeAttribute: constructor stores range and display hints, default optional-argument values, attribute usage metadata, and applicability to a field.

    GameSessionModeTests

    Tests for GameSessionMode enum, verifying expected values can be used in switch/comparison.

    GlobalDomainContractTests

    Contract tests for Global Domain interfaces consumed by other aggregates. These tests protect interface shapes that external aggregates depend on. If a contract changes, these tests break BEFORE downstream aggregates break.

    Dependent aggregates:

    • GameMode.Domain → IFoundationSettings
    • InitializationPipeline → IFoundationSettings, IFoundationSettingsFinder
    • Character.Application → IFoundationSettings (via IService)

    LogCategoryVerbosityOverrideTests

    Tests for LogCategoryVerbosityOverride struct.

    LogCategoryVerbosityTests

    Tests for LogCategoryVerbosity value object.

    LogEntryTests

    Tests for LogEntry value object.

    LogVerbosityTests

    Tests for LogVerbosity enum. The ordering invariant is critical: filtering logic depends on Silent < Error < Info < Verbose.

    SerenityAssetLoadingModeTests

    Tests for SerenityAssetLoadingMode. The underlying integer values are a stability contract: already-serialized assets rely on them, so they must never be renumbered. The default (0) must remain AddressablesWithResourcesFallback so pre-existing serialized installers deserialize to the safe legacy behaviour.

    StoredSettingsPayloadTests

    Tests for StoredSettingsPayload entity.

    In this article
    © 2026 Serenity. All Rights Reserved