logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityPlayerInputServiceTests

    Tests for UnityPlayerInputService property round-trips, controller registration/activation logic, InitializeService validation, and the null-dependency safe paths of the primary-join notifications. Paths that touch the live PlayerInput component (SetActionMap, full InitializeService success) are not exercised because they require a configured Unity Input System asset.

    Inheritance
    object
    UnityPlayerInputServiceTests
    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.Services
    Assembly: Tests.dll
    Syntax
    public class UnityPlayerInputServiceTests

    Constructors

    UnityPlayerInputServiceTests()

    Declaration
    public UnityPlayerInputServiceTests()

    Methods

    ChangeInterval_RoundTrips()

    Declaration
    public void ChangeInterval_RoundTrips()

    ConsecutiveChangesBeforeSpeedUp_RoundTrips()

    Declaration
    public void ConsecutiveChangesBeforeSpeedUp_RoundTrips()

    DisableAllControllers_DisablesEveryControllerAndClearsActiveId()

    Declaration
    public void DisableAllControllers_DisablesEveryControllerAndClearsActiveId()

    EnableAllControllers_EnablesEveryControllerAndClearsActiveId()

    Declaration
    public void EnableAllControllers_EnablesEveryControllerAndClearsActiveId()

    FastChangeInterval_RoundTrips()

    Declaration
    public void FastChangeInterval_RoundTrips()

    GetPlayerInput_WhenUninitialized_ReturnsNull()

    Declaration
    public void GetPlayerInput_WhenUninitialized_ReturnsNull()

    Guid_RoundTrips()

    Declaration
    public void Guid_RoundTrips()

    Id_RoundTrips()

    Declaration
    public void Id_RoundTrips()

    InitializeService_WhenPlayerInputNotPlayerInput_ThrowsArgumentException()

    Declaration
    public void InitializeService_WhenPlayerInputNotPlayerInput_ThrowsArgumentException()

    NotifyPrimaryJoined_WhenRouterAndTaskNull_DoesNotThrow()

    Declaration
    public void NotifyPrimaryJoined_WhenRouterAndTaskNull_DoesNotThrow()

    RegisterController_SameControllerTwice_DoesNotThrow()

    Declaration
    public void RegisterController_SameControllerTwice_DoesNotThrow()

    RegisterController_WhenNull_ThrowsArgumentNullException()

    Declaration
    public void RegisterController_WhenNull_ThrowsArgumentNullException()

    ReleasePrimaryDevice_WhenRouterNull_DoesNotThrow()

    Declaration
    public void ReleasePrimaryDevice_WhenRouterNull_DoesNotThrow()

    SetActiveController_EnablesMatchingDisablesOthers()

    Declaration
    public void SetActiveController_EnablesMatchingDisablesOthers()

    SetActiveController_WhenIdNullOrEmpty_ThrowsArgumentException()

    Declaration
    public void SetActiveController_WhenIdNullOrEmpty_ThrowsArgumentException()

    SetUp()

    Declaration
    public void SetUp()

    TearDown()

    Declaration
    public void TearDown()

    UiActionMap_RoundTrips()

    Declaration
    public void UiActionMap_RoundTrips()

    UiCancelAction_RoundTrips()

    Declaration
    public void UiCancelAction_RoundTrips()

    UiNavigateAction_RoundTrips()

    Declaration
    public void UiNavigateAction_RoundTrips()

    UiSubmitAction_RoundTrips()

    Declaration
    public void UiSubmitAction_RoundTrips()

    UnregisterController_ThenSetActive_NoLongerTouchesIt()

    Declaration
    public void UnregisterController_ThenSetActive_NoLongerTouchesIt()

    UnregisterController_WhenNotRegistered_DoesNotThrow()

    Declaration
    public void UnregisterController_WhenNotRegistered_DoesNotThrow()

    UnregisterController_WhenNull_ThrowsArgumentNullException()

    Declaration
    public void UnregisterController_WhenNull_ThrowsArgumentNullException()

    UnsetActiveController_DisablesEveryControllerAndClearsActiveId()

    Declaration
    public void UnsetActiveController_DisablesEveryControllerAndClearsActiveId()
    In this article
    © 2026 Serenity. All Rights Reserved