logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class SerenityEditorSignalDispatcherTests

    Behavioral tests for SerenityEditorSignalDispatcher, the reusable editor-time dispatcher backing the Modal Builder's "Fire Now" preview.
    EditMode tests always run with EditorApplication.isPlaying == false, so every case here exercises the "cannot dispatch yet" paths; a real dispatch round-trip needs an actual Play Mode session.

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

    Constructors

    SerenityEditorSignalDispatcherTests()

    Declaration
    public SerenityEditorSignalDispatcherTests()

    Methods

    CanDispatch_OutsidePlayMode_ReturnsFalseWithReason()

    Declaration
    public void CanDispatch_OutsidePlayMode_ReturnsFalseWithReason()

    TearDown()

    Declaration
    public void TearDown()

    TryDispatch_NoServiceLocatorRegistered_DoesNotThrow()

    Declaration
    public void TryDispatch_NoServiceLocatorRegistered_DoesNotThrow()

    TryDispatch_NullSignal_ReturnsFalseWithoutThrowing()

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