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.
Inherited Members
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()