logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class AdoptedReferenceRemapperTests

    EditMode tests for Serenity.CreateGame.Infrastructure.Editor.Adoption.AdoptedReferenceRemapper: the write side of FoundationReferenceContracts, mirroring SerenityAdoptedReferenceValidatorTests's shipped/adopted scratch-root split, but asserting the VALUE after a rewrite rather than a report entry. A "shipped" fixture lives under Serenity.Global.Infrastructure.Editor.SerenityEditorPaths.AssetsRoot; an "adopted" one lives outside it, already carrying the Id an adoption run would have renamed it to — the state Serenity.CreateGame.Infrastructure.Editor.Adoption.AdoptedReferenceRemapper.Remap(System.Collections.Generic.IReadOnlyList{System.String},Serenity.Global.Infrastructure.Editor.Validation.FoundationReferenceIndex,Serenity.Global.Infrastructure.Editor.Validation.AdoptedAssetKeyIndex,System.Action{System.String}) actually sees, since it always runs after the Id-rename pass.

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

    Constructors

    AdoptedReferenceRemapperTests()

    Declaration
    public AdoptedReferenceRemapperTests()

    Methods

    Remap_ActionOptionByIdAndGuid_RewritesBoth()

    Declaration
    public void Remap_ActionOptionByIdAndGuid_RewritesBoth()

    Remap_AssetKeyFieldWithAnAdoptedCounterpart_FollowsTheAdoptedAsset()

    Declaration
    public void Remap_AssetKeyFieldWithAnAdoptedCounterpart_FollowsTheAdoptedAsset()

    Remap_AssetKeyFieldWithNoAdoptedCounterpart_LeavesTheShippedKey()

    Declaration
    public void Remap_AssetKeyFieldWithNoAdoptedCounterpart_LeavesTheShippedKey()

    Remap_CompositeQualifiedTransitionTarget_RewritesEverySegment()

    Declaration
    public void Remap_CompositeQualifiedTransitionTarget_RewritesEverySegment()

    Remap_MenuOptionBoundToAGameSettingByIdAndGuid_RewritesBoth()

    Declaration
    public void Remap_MenuOptionBoundToAGameSettingByIdAndGuid_RewritesBoth()

    Remap_MenuOptionViewIds_FollowTheOwningMenusRename()

    Declaration
    public void Remap_MenuOptionViewIds_FollowTheOwningMenusRename()

    Remap_PrefabWithNoContractedComponents_DoesNothingAndDoesNotThrow()

    Declaration
    public void Remap_PrefabWithNoContractedComponents_DoesNothingAndDoesNotThrow()

    Remap_ReferenceWithNoAdoptedCounterpart_LeavesTheShippedValue()

    Declaration
    public void Remap_ReferenceWithNoAdoptedCounterpart_LeavesTheShippedValue()

    Remap_ReflectionTaskStringArg_RewritesOnlyOnAnExactGuidHit()

    Declaration
    public void Remap_ReflectionTaskStringArg_RewritesOnlyOnAnExactGuidHit()

    Remap_ReportsEveryRewriteWithOldAndNewValue()

    Declaration
    public void Remap_ReportsEveryRewriteWithOldAndNewValue()

    Remap_TransitionOptionTargetingAdoptedMenu_RewritesTheTarget()

    Declaration
    public void Remap_TransitionOptionTargetingAdoptedMenu_RewritesTheTarget()

    Remap_TransitionOptionTargetingGoBack_LeavesTheSentinelAlone()

    Declaration
    public void Remap_TransitionOptionTargetingGoBack_LeavesTheSentinelAlone()

    SetUp()

    Declaration
    public void SetUp()

    TearDown()

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