logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class SystemAdoptionPlannerTests

    EditMode tests for SystemAdoptionPlanner: real fixtures under a scratch package folder (a real shipped asset cannot stand in here, since these tests need to control the closure precisely), wiped in both SetUp() and TearDown().

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

    Constructors

    SystemAdoptionPlannerTests()

    Declaration
    public SystemAdoptionPlannerTests()

    Methods

    OneTimeSetUp()

    Declaration
    public void OneTimeSetUp()

    OneTimeTearDown()

    Declaration
    public void OneTimeTearDown()

    Plan_ClosureContainsSibling_ButNotItsOwnDefiningScript()

    Declaration
    public void Plan_ClosureContainsSibling_ButNotItsOwnDefiningScript()

    Plan_DestinationAlreadyExists_ReportsThatEntryAsAlreadyAdopted()

    Declaration
    public void Plan_DestinationAlreadyExists_ReportsThatEntryAsAlreadyAdopted()

    Plan_ListsAPlannedIdRenameForEveryClonedAsset()

    Declaration
    public void Plan_ListsAPlannedIdRenameForEveryClonedAsset()

    Plan_MultiRoot_RootAssetPathsHoldsEveryRootInOrder()

    Declaration
    public void Plan_MultiRoot_RootAssetPathsHoldsEveryRootInOrder()

    Plan_MultiRoot_SettingsAssetDestinationPathIsThePrimaryRootsDestination()

    Declaration
    public void Plan_MultiRoot_SettingsAssetDestinationPathIsThePrimaryRootsDestination()

    Plan_PrefabWithIdentityCarryingComponent_IsIncluded()

    Declaration
    public void Plan_PrefabWithIdentityCarryingComponent_IsIncluded()

    Plan_RealShippedUiSettings_IncludesEveryThemeComponentPrefab()

    Declaration
    public void Plan_RealShippedUiSettings_IncludesEveryThemeComponentPrefab()

    Plan_SettingsPlusRemainingMembers_SettingsIsThePrimaryRoot()

    Mirrors SettingsAdoptionFlow's Adopt All root list for an InPackage row: the system's own settings asset first, followed by an unrelated shipped asset the system also owns (a ShippedSystemAssetCatalog.RemainingMemberPaths stand-in here, since the catalog itself scans real Addressables labels this fixture does not seed) — the settings asset must stay the plan's primary root regardless of what follows it.

    Declaration
    public void Plan_SettingsPlusRemainingMembers_SettingsIsThePrimaryRoot()

    Plan_ShippedInstallerPrefab_IsExcludedWithReason()

    Declaration
    public void Plan_ShippedInstallerPrefab_IsExcludedWithReason()

    Plan_SingleRootOverload_SetsRootAssetPathsToThatOneRoot()

    Declaration
    public void Plan_SingleRootOverload_SetsRootAssetPathsToThatOneRoot()

    Plan_TwoRootsSharingADependency_ProducesOneEntryForIt()

    Declaration
    public void Plan_TwoRootsSharingADependency_ProducesOneEntryForIt()

    SetUp()

    Declaration
    public void SetUp()

    TearDown()

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