logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class SerenityWizardStepControllerTests

    Tests for Serenity.Global.Infrastructure.Editor.SerenityWizardStepController — the shared int-cursor step machine that replaced every stepped wizard's hand-rolled SetStep/GoNext/GoBack/CanGoBack. Covers navigation bounds and the scroll-reset/focus-clear side effect every wizard's old SetStep reproduced by hand. Editor-only.

    Inheritance
    object
    SerenityWizardStepControllerTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.UnityGlobal.Tests.Editor
    Assembly: Tests.Editor.dll
    Syntax
    public class SerenityWizardStepControllerTests

    Constructors

    SerenityWizardStepControllerTests()

    Declaration
    public SerenityWizardStepControllerTests()

    Methods

    ApplyFooterAction_Back_CallsGoBack()

    Declaration
    public void ApplyFooterAction_Back_CallsGoBack()

    ApplyFooterAction_Back_OnFirstStep_IsNoOp()

    Declaration
    public void ApplyFooterAction_Back_OnFirstStep_IsNoOp()

    ApplyFooterAction_Next_CallsGoNext()

    Declaration
    public void ApplyFooterAction_Next_CallsGoNext()

    ApplyFooterAction_Next_OnFinalStep_IsNoOp()

    Declaration
    public void ApplyFooterAction_Next_OnFinalStep_IsNoOp()

    ApplyFooterAction_None_DoesNothing()

    Declaration
    public void ApplyFooterAction_None_DoesNothing()

    ApplyFooterAction_Primary_InvokesCallback()

    Declaration
    public void ApplyFooterAction_Primary_InvokesCallback()

    Configure_ClampsCurrentIndexWhenStepCountShrinks()

    Declaration
    public void Configure_ClampsCurrentIndexWhenStepCountShrinks()

    Configure_DefaultsToFirstStep()

    Declaration
    public void Configure_DefaultsToFirstStep()

    Configure_ReclampsFurthestReachedStepIndexWhenStepCountShrinks()

    Declaration
    public void Configure_ReclampsFurthestReachedStepIndexWhenStepCountShrinks()

    Configure_SingleStep_IsFirstAndFinal()

    Declaration
    public void Configure_SingleStep_IsFirstAndFinal()

    EnterTerminalState_SetsIsTerminal()

    Declaration
    public void EnterTerminalState_SetsIsTerminal()

    ForwardJumpBlockedReason_CurrentStepErrors_BlocksAdvancingPastIt()

    Declaration
    public void ForwardJumpBlockedReason_CurrentStepErrors_BlocksAdvancingPastIt()

    ForwardJumpBlockedReason_EveryStepInRangeIsClean_ReturnsNull()

    Declaration
    public void ForwardJumpBlockedReason_EveryStepInRangeIsClean_ReturnsNull()

    ForwardJumpBlockedReason_IntermediateStepErrors_ReturnsThatError()

    Declaration
    public void ForwardJumpBlockedReason_IntermediateStepErrors_ReturnsThatError()

    ForwardJumpBlockedReason_NoGateInstalled_IsAlwaysNull()

    Declaration
    public void ForwardJumpBlockedReason_NoGateInstalled_IsAlwaysNull()

    ForwardJumpBlockedReason_SameIndexAsCurrent_IsNull()

    Declaration
    public void ForwardJumpBlockedReason_SameIndexAsCurrent_IsNull()

    FurthestReachedStepIndex_DefaultsToZero()

    Declaration
    public void FurthestReachedStepIndex_DefaultsToZero()

    FurthestReachedStepIndex_DoesNotShrinkOnGoBack()

    Declaration
    public void FurthestReachedStepIndex_DoesNotShrinkOnGoBack()

    FurthestReachedStepIndex_GrowsWithForwardSetStepIndexJump()

    Declaration
    public void FurthestReachedStepIndex_GrowsWithForwardSetStepIndexJump()

    FurthestReachedStepIndex_GrowsWithGoNext()

    Declaration
    public void FurthestReachedStepIndex_GrowsWithGoNext()

    FurthestReachedStepIndex_UnaffectedByBackwardSetStepIndexJump()

    Declaration
    public void FurthestReachedStepIndex_UnaffectedByBackwardSetStepIndexJump()

    GoBack_CurrentStepErrors_IsAlwaysAllowed()

    Declaration
    public void GoBack_CurrentStepErrors_IsAlwaysAllowed()

    GoBack_DoesNotClearIsTerminal()

    Declaration
    public void GoBack_DoesNotClearIsTerminal()

    GoBack_OnFirstStep_DoesNotResetBodyScroll()

    Declaration
    public void GoBack_OnFirstStep_DoesNotResetBodyScroll()

    GoBack_RetreatsOneStepAtATime()

    Declaration
    public void GoBack_RetreatsOneStepAtATime()

    GoBack_StopsAtFirstStep()

    Declaration
    public void GoBack_StopsAtFirstStep()

    GoNext_AdvancesOneStepAtATime()

    Declaration
    public void GoNext_AdvancesOneStepAtATime()

    GoNext_CurrentStepErrors_IsRefused()

    Declaration
    public void GoNext_CurrentStepErrors_IsRefused()

    GoNext_ResetsBodyScrollToZero()

    Declaration
    public void GoNext_ResetsBodyScrollToZero()

    GoNext_StopsAtFinalStep()

    Declaration
    public void GoNext_StopsAtFinalStep()

    IsTerminal_DefaultsToFalse()

    Declaration
    public void IsTerminal_DefaultsToFalse()

    ResetForAnotherRun_ClearsIsTerminal()

    Declaration
    public void ResetForAnotherRun_ClearsIsTerminal()

    ResetForAnotherRun_FirstContentStepAheadOfCurrentIndexWithGateInstalled_StillLandsThereAndClearsTerminal()

    Declaration
    public void ResetForAnotherRun_FirstContentStepAheadOfCurrentIndexWithGateInstalled_StillLandsThereAndClearsTerminal()

    ResetForAnotherRun_JumpsToGivenStep()

    Declaration
    public void ResetForAnotherRun_JumpsToGivenStep()

    ResetForAnotherRun_ResetsBodyScrollLikeAnyOtherNavigation()

    Declaration
    public void ResetForAnotherRun_ResetsBodyScrollLikeAnyOtherNavigation()

    SetStepIndex_BackwardJump_IsAlwaysAllowedEvenWhenCurrentStepErrors()

    Declaration
    public void SetStepIndex_BackwardJump_IsAlwaysAllowedEvenWhenCurrentStepErrors()

    SetStepIndex_ClampsAboveRange()

    Declaration
    public void SetStepIndex_ClampsAboveRange()

    SetStepIndex_ClampsBelowRange()

    Declaration
    public void SetStepIndex_ClampsBelowRange()

    SetStepIndex_DoesNotClearIsTerminal()

    Declaration
    public void SetStepIndex_DoesNotClearIsTerminal()

    SetStepIndex_ForwardJumpPastAnErroredIntermediateStep_IsRefused()

    Declaration
    public void SetStepIndex_ForwardJumpPastAnErroredIntermediateStep_IsRefused()

    SetStepIndex_ForwardJumpWithEveryStepClean_IsAllowed()

    Declaration
    public void SetStepIndex_ForwardJumpWithEveryStepClean_IsAllowed()

    SetStepIndex_JumpsDirectlyToIndex()

    Declaration
    public void SetStepIndex_JumpsDirectlyToIndex()

    SetStepIndex_NoGateInstalled_ForwardJumpBehavesAsToday()

    Declaration
    public void SetStepIndex_NoGateInstalled_ForwardJumpBehavesAsToday()

    SetStepIndex_ResetsBodyScrollToZero()

    Declaration
    public void SetStepIndex_ResetsBodyScrollToZero()

    ShouldShowPreWriteValidation_DefaultsToTrue()

    Declaration
    public void ShouldShowPreWriteValidation_DefaultsToTrue()

    ShouldShowPreWriteValidation_FalseOnceTerminal()

    Declaration
    public void ShouldShowPreWriteValidation_FalseOnceTerminal()

    ShouldShowPreWriteValidation_TrueAgainAfterResetForAnotherRun()

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