logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class CreateGameWizardCreateFlowTests

    EditMode tests for Serenity.CreateGame.Infrastructure.Editor.CreateGameWizardCreateFlow.PrepareSceneGeneration(System.Func{System.Boolean})'s pure outcome shape — the real EditorSceneManager.SaveCurrentModifiedScenesIfUserWantsTo save-prompt dialog cannot be exercised headless, so every case here injects its own stand-in through the method's saveModifiedScenesIfUserWantsTo seam instead. The TMP-missing branch depends on whether this project has TMP Essential Resources imported, so it is asserted only up to "not declined by the save prompt", matching InitializeSerenityCreateStep's own contract of one log line per outcome rather than one shared blocking message.

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

    Constructors

    CreateGameWizardCreateFlowTests()

    Declaration
    public CreateGameWizardCreateFlowTests()

    Methods

    PrepareSceneGeneration_SaveAccepted_NeverReportsSaveDeclinedByUser()

    Declaration
    public void PrepareSceneGeneration_SaveAccepted_NeverReportsSaveDeclinedByUser()

    PrepareSceneGeneration_SaveDeclined_NeverCallsIntoTmpSettings()

    Declaration
    public void PrepareSceneGeneration_SaveDeclined_NeverCallsIntoTmpSettings()

    PrepareSceneGeneration_SaveDeclined_ReportsSaveDeclinedByUser()

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