Class UnityUiInputRouterTests
Tests for UnityUiInputRouter guard clauses that do not require live input devices. The routing paths that pair real devices need the Unity Input System runtime, so only the null-dependency early-return branches are exercised here.
Inherited Members
Namespace: Serenity.InputGateway.Tests.Infrastructure.Components
Assembly: Tests.dll
Syntax
public class UnityUiInputRouterTests
Constructors
UnityUiInputRouterTests()
Declaration
public UnityUiInputRouterTests()
Methods
Initialize_WhenHandlerNotPlayerInput_ThrowsArgumentException()
Declaration
public void Initialize_WhenHandlerNotPlayerInput_ThrowsArgumentException()
RouteAllDevices_WhenPlayerInputNull_ReturnsWithoutThrowing()
Declaration
public void RouteAllDevices_WhenPlayerInputNull_ReturnsWithoutThrowing()
RoutePrimaryOnly_WhenPlayerInputNull_ReturnsWithoutThrowing()
Declaration
public void RoutePrimaryOnly_WhenPlayerInputNull_ReturnsWithoutThrowing()
Route_WhenRoutingSettingsNullAndNoLogService_DoesNotThrow()
Declaration
public void Route_WhenRoutingSettingsNullAndNoLogService_DoesNotThrow()
Route_WhenRoutingSettingsNull_LogsWarningAndReturns()
Declaration
public void Route_WhenRoutingSettingsNull_LogsWarningAndReturns()
SetUp()
Declaration
public void SetUp()
TearDown()
Declaration
public void TearDown()
Unpair_WhenPlayerInputNull_ReturnsWithoutThrowing()
Declaration
public void Unpair_WhenPlayerInputNull_ReturnsWithoutThrowing()