logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class LocalizationCollectionAdoptionMetadataTests

    Adopting a shipped localization collection makes a project-owned copy of it, and a copy is only faithful if it carries what the author attached to the shipped keys and translations: a comment on a key (shared by every locale), a comment on one translation, and the smart-format tag. Dropping them loses translator context the author never chose to discard.

    Inheritance
    object
    LocalizationCollectionAdoptionMetadataTests
    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 LocalizationCollectionAdoptionMetadataTests

    Constructors

    LocalizationCollectionAdoptionMetadataTests()

    Declaration
    public LocalizationCollectionAdoptionMetadataTests()

    Methods

    Adopt_CopiedMetadata_IsNotSharedWithTheShippedCollection()

    Declaration
    public void Adopt_CopiedMetadata_IsNotSharedWithTheShippedCollection()

    Adopt_EntryComment_TravelsToTheAdoptedTranslation()

    Declaration
    public void Adopt_EntryComment_TravelsToTheAdoptedTranslation()

    Adopt_KeyComment_TravelsToTheAdoptedKey()

    Declaration
    public void Adopt_KeyComment_TravelsToTheAdoptedKey()

    Adopt_SmartTranslation_StaysSmartUnderASingleSmartFormatTag()

    Declaration
    public void Adopt_SmartTranslation_StaysSmartUnderASingleSmartFormatTag()

    SetUp()

    Declaration
    public void SetUp()

    TearDown()

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