logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class ProceduralLayerDrivenChannelsTests

    Tests for DrivenChannels: a table-driven assertion for every concrete layer type in the codebase today, plus a reflection-based consistency check that a type's declared channels always match which base-class Evaluate overload it actually overrides — the contract DrivenChannels's own doc comment states in prose.

    Inheritance
    object
    ProceduralLayerDrivenChannelsTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.UnityProceduralAnimator.Tests.Infrastructure
    Assembly: Tests.dll
    Syntax
    public class ProceduralLayerDrivenChannelsTests

    Constructors

    ProceduralLayerDrivenChannelsTests()

    Declaration
    public ProceduralLayerDrivenChannelsTests()

    Methods

    DrivenChannels_EveryKnownLayerType_MatchesItsHighestOverriddenEvaluateOverload()

    For every concrete layer type, the declared DrivenChannels must equal the UNION of channels contributed by every Evaluate overload the type overrides directly (see Serenity.UnityProceduralAnimator.Tests.Infrastructure.ProceduralLayerDrivenChannelsTests.ExpectedChannelFromOverrides(System.Type)) — not just the channel of whichever overload happens to be highest.

    Declaration
    public void DrivenChannels_EveryKnownLayerType_MatchesItsHighestOverriddenEvaluateOverload()

    DrivenChannels_KnownLayerType_MatchesExpectedChannel(Type, ProceduralChannels)

    Declaration
    public void DrivenChannels_KnownLayerType_MatchesExpectedChannel(Type layerType, ProceduralChannels expected)
    Parameters
    Type Name Description
    Type layerType
    ProceduralChannels expected
    In this article
    © 2026 Serenity. All Rights Reserved