logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class SerenityLocalizationKeyValidatorPerLocaleTests

    EditMode tests for the per-locale empty-translation reporting added to Run(SerenityValidationReport, bool). Every fixture lives under a private temp folder and uses fixture-only locale codes (never "en"/"es", which the shipped project already registers globally) so these tests stay hermetic regardless of what the project already ships — mirrors the discipline in LocalizationSettingsCreatorTests.

    Inheritance
    object
    SerenityLocalizationKeyValidatorPerLocaleTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Localization.Tests.Editor
    Assembly: Serenity.Localization.Tests.Editor.dll
    Syntax
    public class SerenityLocalizationKeyValidatorPerLocaleTests

    Constructors

    SerenityLocalizationKeyValidatorPerLocaleTests()

    Declaration
    public SerenityLocalizationKeyValidatorPerLocaleTests()

    Methods

    Run_KeyDefinedButNotUsedByAnyAsset_IsNotReported()

    Declaration
    public void Run_KeyDefinedButNotUsedByAnyAsset_IsNotReported()

    Run_KeyUsedByAssetWithEmptyTranslationInLocale_ReportsWarningNotError()

    Declaration
    public void Run_KeyUsedByAssetWithEmptyTranslationInLocale_ReportsWarningNotError()

    Run_PerLocaleCheckDisabled_ReportsNoEmptyTranslationWarnings()

    Declaration
    public void Run_PerLocaleCheckDisabled_ReportsNoEmptyTranslationWarnings()

    SetUp()

    Declaration
    public void SetUp()

    TearDown()

    Declaration
    public void TearDown()
    In this article
    © 2026 Serenity. All Rights Reserved