logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.EventDispatcher.Tests.Infrastructure

    Classes

    ComplexParameterSignal

    Signal whose constructor takes a complex DTO parameter.

    EnumParameterSignal

    Signal with an enum constructor parameter.

    InterfaceParameterSignal

    Signal whose constructor takes an interface implemented by a ScriptableObject.

    NestedData

    A nested data object used to exercise recursive complex-parameter building.

    NullableParameterSignal

    Signal whose constructor takes a nullable value-type parameter.

    ParameterlessSignal

    Signal with no constructor parameters, used for parameterless happy-path tests.

    PrimitiveParametersSignal

    Signal with the four basic supported primitive constructor parameter types.

    SampleFoundationReferenceAsset

    ScriptableObject implementing ISampleFoundationReference for object-reference tests.

    SignalReactionComponentTests

    Tests for SignalReactionComponent: it subscribes a configured reaction to the dispatcher resolved from the ServiceLocatorBridge, invokes the reaction's UnityEvent when a signal of the selected type is dispatched, ignores other signal types, and unsubscribes when disabled.

    UnityEventDispatcherServiceDispatchDefinitionTests

    Integration test verifying that passing a configured UnityEventDispatcherSignalDefinition to UnityEventDispatcherService.Dispatch(IEventDispatcherSignalDefinition) builds and delivers the signal to a subscribed listener with the configured values.

    UnityEventDispatcherSignalBuilderTests

    Unit tests for UnityEventDispatcherSignalBuilder covering constructor selection, leaf/enum/struct conversion, recursive complex parameters, nullable handling, and error cases.

    UnsupportedParameterSignal

    Signal whose constructor takes a non-authorable interface parameter.

    VectorParameterSignal

    Signal with a Unity struct (UnityEngine.Vector3) constructor parameter.

    Interfaces

    ISampleFoundationReference

    An IFoundationSettings-derived interface implemented by a ScriptableObject asset double.

    ISampleUnsupportedDependency

    An interface that cannot be authored from the Inspector (used for the unsupported-type test).

    Enums

    SampleSignalEnum

    Enum used by EnumParameterSignal in the signal-builder tests.

    In this article
    © 2026 Serenity. All Rights Reserved