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

    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()

    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_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_ResetsBodyScrollToZero()

    Declaration
    public void GoNext_ResetsBodyScrollToZero()

    GoNext_StopsAtFinalStep()

    Declaration
    public void GoNext_StopsAtFinalStep()

    SetStepIndex_ClampsAboveRange()

    Declaration
    public void SetStepIndex_ClampsAboveRange()

    SetStepIndex_ClampsBelowRange()

    Declaration
    public void SetStepIndex_ClampsBelowRange()

    SetStepIndex_JumpsDirectlyToIndex()

    Declaration
    public void SetStepIndex_JumpsDirectlyToIndex()

    SetStepIndex_ResetsBodyScrollToZero()

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