Namespace Serenity.GameSettings.Tests.Application
Classes
GameSettingsSignalTests
Tests for the game-settings event signals: the value-updated signal (payload + ToString) and the parameterless persist / reset signals.
GameSettingsTypedDtoTests
Tests for the strongly-typed game-settings service DTOs (Get/Set Bool/Float/Int/String Input and Output), including the string-parsing constructors. Numeric assertions are culture-agnostic.
GameSettingsUseCaseTests
Tests for the GameSettings use cases (Serenity.GameSettings.Application.UseCases.GetGameSettingsValue, Serenity.GameSettings.Application.UseCases.SetGameSettingsValue) and the Serenity.GameSettings.Application.UseCases.GameSettingsUseCases container, using a small in-test fake repository to observe which ports were invoked.
GameSettingsValueDtoTests
Tests for the use-case I/O DTOs: Serenity.GameSettings.Application.DTO.GetGameSettingsValueInput, Serenity.GameSettings.Application.DTO.GetGameSettingsValueOutput and Serenity.GameSettings.Application.DTO.SetGameSettingsValueInput.
OnGameSettingsValueUpdatedInputTests
Tests for Serenity.GameSettings.Application.DTO.OnGameSettingsValueUpdatedInput covering the single-vs-bulk change detection, changed-setting lookup and ToString.