logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityGameResultsPresenterTests

    PlayMode tests for UnityGameResultsPresenter. The presenter toggles a serialized results-root GameObject's active state. The private serialized field is injected via reflection to exercise both the active path and the null-guard path.

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

    Constructors

    UnityGameResultsPresenterTests()

    Declaration
    public UnityGameResultsPresenterTests()

    Methods

    HideResults_DeactivatesRoot()

    Declaration
    public void HideResults_DeactivatesRoot()

    Implements_IGameResultsPresenter()

    Declaration
    public void Implements_IGameResultsPresenter()

    Methods_WithNullRoot_DoNotThrow()

    Declaration
    public void Methods_WithNullRoot_DoNotThrow()

    SetUp()

    Declaration
    public void SetUp()

    ShowResults_ActivatesRoot()

    Declaration
    public void ShowResults_ActivatesRoot()

    ShowResults_IgnoresStateVisibilityAndAlwaysActivates()

    Declaration
    public void ShowResults_IgnoresStateVisibilityAndAlwaysActivates()

    TearDown()

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