Class CreateGameProgressSettingsWindowTerminalStateTests
After a successful run leaves the wizard terminal, navigating away from Summary to describe a new, valid pending change (here: toggling Replace Existing Backend) and coming back must re-arm the primary action so it calls Create(Input) with that change — never silently discard it as a reset. Drives real navigation (Serenity.GameProgress.Infrastructure.Editor.Builder.CreateGameProgressSettingsWindow.GoToForTests(Serenity.GameProgress.Infrastructure.Editor.Builder.CreateGameProgressSettingsWindow.WizardStep), Serenity.GameProgress.Infrastructure.Editor.Builder.CreateGameProgressSettingsWindow.RunPrimaryActionForTests) against a simulated terminal state most of the time, but ReturningToSummaryAfterEditingBackend_PrimaryActionAppliesTheEditInsteadOfResetting() re-arms the real primary action on purpose and so does reach Create(Input). Serenity.GameProgress.Tests.Editor.Builder.CreateGameProgressSettingsWindowTerminalStateTests.OpenWindow therefore builds the window via UnityEngine.ScriptableObject.CreateInstance``1 rather than Open() and redirects it at Serenity.GameProgress.Infrastructure.Editor.Builder.CreateGameProgressSettingsWindow.ConfigureForTests(System.String,System.String)'s private temp folder — the same seam and reasoning CreateGameProgressSettingsWindowRealCreateTerminalStateTests uses — so this fixture's target-resolution never scans the project and a real write never lands on, or updates in place, the project's own GameProgress settings singleton.
Inherited Members
Namespace: Serenity.GameProgress.Tests.Editor.Builder
Assembly: Serenity.GameProgress.Tests.Editor.dll
Syntax
public class CreateGameProgressSettingsWindowTerminalStateTests
Constructors
CreateGameProgressSettingsWindowTerminalStateTests()
Declaration
public CreateGameProgressSettingsWindowTerminalStateTests()
Methods
NavigatingAwayFromSummaryAfterAFinishedRun_ClearsTerminalState()
Declaration
public void NavigatingAwayFromSummaryAfterAFinishedRun_ClearsTerminalState()
OneTimeTearDown()
Declaration
public void OneTimeTearDown()
PrimaryActionOnAnUntouchedTerminalRun_StillResets()
Declaration
public void PrimaryActionOnAnUntouchedTerminalRun_StillResets()
ReturningToSummaryAfterEditingBackend_PrimaryActionAppliesTheEditInsteadOfResetting()
Declaration
public void ReturningToSummaryAfterEditingBackend_PrimaryActionAppliesTheEditInsteadOfResetting()
SetUp()
Declaration
public void SetUp()
TearDown()
Declaration
public void TearDown()