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