logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.Modal.Tests.Editor

    Classes

    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.

    ShowModalTriggerBootTaskNameContractTests

    A show-modal trigger that was handed no dispatcher tells the author which boot task to add. It names that task with its own copy of the name, because the pipeline's name lives in an editor-only assembly the runtime trigger cannot reference. Renaming the task in one place and not the other would send the author looking for a task that does not exist.

    In this article
    © 2026 Serenity. All Rights Reserved