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.
Inherited Members
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 |