Namespace Serenity.Global.Tests.Application
Classes
ComponentDataTests
Tests for ComponentData, validating construction and property assignment.
ComponentLoggerTests
Tests for ComponentLogger.
ComponentTarget
DefaultInstanceActivatorTests
Tests for DefaultInstanceActivator — 100% line + branch coverage.
DefaultInstanceActivatorTests.NoDefaultCtor
DefaultInstanceActivatorTests.SimplePoco
DefaultServiceLocatorTests
Tests for DefaultServiceLocator.
DefaultStringArgumentResolverTests
Tests for DefaultStringArgumentResolver.
EventDispatcherActionTests
Tests for EventDispatcherAction and CreateEventDispatcherServiceInput.
EventSignalTests
Tests for Global application event signals.
FileStoreTests
Tests for FileStore.
GameSettingsAdvancedDtoTests
Tests for SetGameSettingsValueInput, OnGameSettingsValueUpdatedInput, GetGameSettingsValue DTOs.
GameSettingsDtoTests
Tests for all GameSettings DTOs in Serenity.Global.Application.
GameSettingsEventsAndUseCasesTests
Tests for GameSettings events and use cases.
GlobalApplicationContractTests
Contract tests for Global Application interfaces consumed by other aggregates. Protects interface shapes that Character, GameMode, and other aggregates depend on.
Key consumers:
- Character.Application → IService (via ICharacterService : IService)
- GameMode.Application → IService (via IGameModeService : IService)
- All aggregates → IInstaller, IController, IViewBase
InstanceTarget
LoggingDtoAndUseCaseTests
Tests for logging DTOs, use cases, and ComponentLogger.
NoCtorTarget
NullStringArgumentResolver
A resolver that always returns false, forcing ReflectionCallTask to fall back to ConvertFromString for argument conversion.
PersistenceAppendBytesTests
Exhaustive tests for PersistenceAppendBytes.
PersistenceTests
Tests for all Persistence DTOs and use cases.
PlainTarget
Plain C# target with no Unity type in signatures, used for regression testing conservative dispatch.
ReflectionCallTaskTests
Exhaustive tests for ReflectionCallTask.
ReflectionCallTaskTests.ServiceMarker
ReflectionCallTaskTests.Unconvertible
SOTarget
SampleDelayTaskTests
Tests for SampleDelayTask.
ServiceLocatorBridgeTests
Tests for ServiceLocatorBridge.
SpyLogService
Spy ILogService that records whether warnings/errors were logged.
TaskingDtoTests
Tests for tasking DTOs, TaskBuildContext, and TaskBuildContextFactory.
UseCaseImplementationTests
Tests for the use case interface family through realistic sample implementations. Validates invocation patterns, input/output flow, and cancellation token propagation. These implementations mirror how real aggregates (Menu, MusicPlayer, AssetPrefetcher) use the contracts.