logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityPrimaryDeviceSelectorTests

    Tests for UnityPrimaryDeviceSelector.Initialize. The AwaitAsync path needs live unpaired-device activity from the Unity Input System, so only the dependency-injection branch is covered here.

    Inheritance
    object
    UnityPrimaryDeviceSelectorTests
    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 UnityPrimaryDeviceSelectorTests

    Constructors

    UnityPrimaryDeviceSelectorTests()

    Declaration
    public UnityPrimaryDeviceSelectorTests()

    Methods

    Initialize_AlwaysStoresLogService()

    Declaration
    public void Initialize_AlwaysStoresLogService()

    Initialize_WhenHandlerNotPlayerInput_LogsWarning()

    Declaration
    public void Initialize_WhenHandlerNotPlayerInput_LogsWarning()

    SetUp()

    Declaration
    public void SetUp()

    TearDown()

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