Namespace Serenity.Global.Tests.Domain
Classes
AppReadinessOptionsTests
Tests for AppReadinessOptions entity, focusing on defaults and property behavior.
AssetPathReferenceAttributeTests
Tests for Serenity.Global.Domain.Attributes.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.
EventDispatcherSignalTests
Tests for EventDispatcherSignal base class.
FloatRangeAttributeTests
Tests for Serenity.Global.Domain.Attributes.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 Serenity.Global.Domain.Enums.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 Serenity.Global.Domain.Enums.SerenityAssetLoadingMode.AddressablesWithResourcesFallback so pre-existing serialized installers deserialize to the safe legacy behaviour.
StoredSettingsPayloadTests
Tests for StoredSettingsPayload entity.