Class UnityGameHudPresenterTests
PlayMode tests for Serenity.GameUi.Infrastructure.Presenters.UnityGameHudPresenter. The presenter toggles a serialized HUD-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 UnityGameHudPresenterTests
Constructors
UnityGameHudPresenterTests()
Declaration
public UnityGameHudPresenterTests()
Methods
HideHud_DeactivatesRoot()
Declaration
public void HideHud_DeactivatesRoot()
Implements_IGameHudPresenter()
Declaration
public void Implements_IGameHudPresenter()
Methods_WithNullRoot_DoNotThrow()
Declaration
public void Methods_WithNullRoot_DoNotThrow()
SetUp()
Declaration
public void SetUp()
ShowHud_ActivatesRoot()
Declaration
public void ShowHud_ActivatesRoot()
TearDown()
Declaration
public void TearDown()
UpdateHud_HiddenState_DeactivatesRoot()
Declaration
public void UpdateHud_HiddenState_DeactivatesRoot()
UpdateHud_VisibleState_ActivatesRoot()
Declaration
public void UpdateHud_VisibleState_ActivatesRoot()