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