logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    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.

    Inheritance
    object
    UnityUiInputRouterTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    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()
    In this article
    © 2026 Serenity. All Rights Reserved