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