logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class ToastFireNowGuiTests

    Behavioral tests for ToastFireNowGui, the shared editor-time toast preview helper backing the standalone Toast Preview window and the Theme Builder inspector's Fire Now row.
    EditMode tests always run with EditorApplication.isPlaying == false, so every case here exercises the "cannot fire yet" paths; a real dispatch round-trip needs an actual Play Mode session.

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

    Constructors

    ToastFireNowGuiTests()

    Declaration
    public ToastFireNowGuiTests()

    Methods

    FireNow_EmptyMessage_DoesNotThrow()

    Declaration
    public void FireNow_EmptyMessage_DoesNotThrow()

    FireNow_OutsidePlayMode_ReturnsFalseWithoutThrowing()

    Declaration
    public void FireNow_OutsidePlayMode_ReturnsFalseWithoutThrowing()

    FireNow_TranslateTrue_OutsidePlayMode_ReturnsFalseWithoutThrowing()

    Declaration
    public void FireNow_TranslateTrue_OutsidePlayMode_ReturnsFalseWithoutThrowing()

    GetBlockedReason_OutsidePlayMode_ReturnsReason()

    Declaration
    public void GetBlockedReason_OutsidePlayMode_ReturnsReason()

    TearDown()

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