logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class BootSceneRepointTests

    EditMode tests for the boot scene's pipeline-profile repoint: a PLANNED deliverable (BootSceneRepoint) executed by Serenity.CreateGame.Infrastructure.Editor.Wiring.ProjectWiringRunner.Run(Serenity.CreateGame.Infrastructure.Editor.Wiring.ProjectWiringPlan,Serenity.ProjectRecipe.Infrastructure.Editor.SetupAssistant.MinimalLoopOptions,Serenity.CreateGame.Infrastructure.Editor.CreateGameScenesOptions,System.Collections.Generic.IReadOnlyList{Serenity.CreateGame.Infrastructure.Editor.Systems.SerenityInstallableSystem},Serenity.Global.Infrastructure.Editor.SerenityWizardActivityLog) itself, not only reachable through the Create step's separate "Wire installer settings" button. Covers the plan reading an existing boot scene's currently-referenced profile (Serenity.CreateGame.Infrastructure.Editor.Wiring.ProjectWiringPlanner), the runner's automatic repoint (Serenity.CreateGame.Infrastructure.Editor.Wiring.ExistingBootSceneSettingsWiring.TryRepointForCreate(System.String,System.String,System.Boolean@,System.String@)), and its editor-state safety — refusing on a dirty open boot scene, and restoring whatever scene setup was open before it ran.

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

    Constructors

    BootSceneRepointTests()

    Declaration
    public BootSceneRepointTests()

    Methods

    OneTimeTearDown()

    Declaration
    public static void OneTimeTearDown()

    Plan_ExistingBootSceneAlreadyReferencesTheTargetProfile_ReportsAlreadyCorrect()

    Declaration
    public void Plan_ExistingBootSceneAlreadyReferencesTheTargetProfile_ReportsAlreadyCorrect()

    Plan_ExistingBootSceneReferencesADifferentProfile_ReportsNeedsRepointNamingBothProfiles()

    Declaration
    public void Plan_ExistingBootSceneReferencesADifferentProfile_ReportsNeedsRepointNamingBothProfiles()

    Plan_NoBootSceneFileYet_ReportsNoBootScene()

    Declaration
    public void Plan_NoBootSceneFileYet_ReportsNoBootScene()

    Plan_ReadingAnExistingBootScene_NeverLeavesItLoadedOrDirty()

    Planning only READS the scene — it must never leave it dirty or change the active scene.

    Declaration
    public void Plan_ReadingAnExistingBootScene_NeverLeavesItLoadedOrDirty()

    Run_ExistingBootSceneAlreadyCorrect_LeavesTheSceneFileByteIdenticalAndReportsNoUpdate()

    Declaration
    public void Run_ExistingBootSceneAlreadyCorrect_LeavesTheSceneFileByteIdenticalAndReportsNoUpdate()

    Run_ExistingBootSceneReferencesADifferentProfile_RepointsItAndListsItUnderUpdatedAssetPaths()

    Declaration
    public void Run_ExistingBootSceneReferencesADifferentProfile_RepointsItAndListsItUnderUpdatedAssetPaths()

    Run_NoBootSceneFileYet_NeverTriesToRepointAnything()

    Declaration
    public void Run_NoBootSceneFileYet_NeverTriesToRepointAnything()

    SetUp()

    Declaration
    public void SetUp()

    TearDown()

    Declaration
    public void TearDown()

    TryRepointForCreate_BootSceneOpenAndDirty_RefusesWithoutWritingAndReportsABlockingMessage()

    Mandatory safety: repointing must never silently discard unsaved edits already sitting in the boot scene the author has open.

    Declaration
    public void TryRepointForCreate_BootSceneOpenAndDirty_RefusesWithoutWritingAndReportsABlockingMessage()

    TryRepointForCreate_RestoresTheOriginalActiveSceneAfterwards()

    Mandatory safety: repointing opens the boot scene additively to write it, then must restore exactly the scene setup (every open scene, and which one was active) the author had before it ran — never leave the boot scene loaded/active as a side effect of an automatic Create-time repoint.

    Declaration
    public void TryRepointForCreate_RestoresTheOriginalActiveSceneAfterwards()

    TryRepointForCreate_SceneDoesNotExist_ReturnsTrueWithNoChange()

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