logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityToastComponentTests

    Tests for UnityToastComponent. Kept to the non-visual guard path (no prefab, no TMP, no coroutine), since the animated behaviour is verified visually in the editor: showing a toast without a prefab assigned must no-op safely rather than throw.

    Inheritance
    object
    UnityToastComponentTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.UnityUi.Tests.Infrastructure
    Assembly: Tests.dll
    Syntax
    public class UnityToastComponentTests

    Constructors

    UnityToastComponentTests()

    Declaration
    public UnityToastComponentTests()

    Methods

    SetUp()

    Declaration
    public void SetUp()

    ShowDefault_WithNoPrefab_DoesNotThrow()

    Declaration
    public void ShowDefault_WithNoPrefab_DoesNotThrow()

    Show_WithNoPrefab_DoesNotThrowAndShowsNothing()

    Declaration
    public void Show_WithNoPrefab_DoesNotThrowAndShowsNothing()

    TearDown()

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