Class UnityGameScreenPresenterTests
PlayMode tests for UnityGameScreenPresenter. The presenter toggles the GameObject root mapped to the active screen id and deactivates every other mapped root. The private serialized list is injected via reflection to exercise the matching path, the deactivation-of-others path, and the null-guard path.
Inherited Members
Namespace: Serenity.UnityGameUi.Tests.Infrastructure
Assembly: Tests.dll
Syntax
public class UnityGameScreenPresenterTests
Constructors
UnityGameScreenPresenterTests()
Declaration
public UnityGameScreenPresenterTests()
Methods
Implements_IGameScreenPresenter()
Declaration
public void Implements_IGameScreenPresenter()
SetUp()
Declaration
public void SetUp()
ShowScreen_ActivatesMatchingRoot()
Declaration
public void ShowScreen_ActivatesMatchingRoot()
ShowScreen_DeactivatesNonMatchingRoots()
Declaration
public void ShowScreen_DeactivatesNonMatchingRoots()
ShowScreen_NoMatchingMapping_DeactivatesAllRoots()
Declaration
public void ShowScreen_NoMatchingMapping_DeactivatesAllRoots()
ShowScreen_UnassignedRootInMapping_DoesNotThrow()
Declaration
public void ShowScreen_UnassignedRootInMapping_DoesNotThrow()
ShowScreen_WithNoMappings_DoesNotThrow()
Declaration
public void ShowScreen_WithNoMappings_DoesNotThrow()
TearDown()
Declaration
public void TearDown()