Class HudElementOwnComponentCollectorTests
PlayMode tests for HudElementOwnComponentCollector — the generic, predicate-based walk
UnityHudElementView.CollectOwnText and UnityGraphicColorApplier now share. Uses the
real HudElementRootMarker type as the boundary predicate, exercising the exact shape both
production callers use, even though the collector itself takes any Func<Transform, bool> —
see that class's own remarks for why it is predicate-based rather than hard-coding this type.
Inherited Members
Namespace: Serenity.UnityGameUi.Tests.Infrastructure
Assembly: Tests.dll
Syntax
public class HudElementOwnComponentCollectorTests
Constructors
HudElementOwnComponentCollectorTests()
Declaration
public HudElementOwnComponentCollectorTests()
Methods
CollectOwn_FlatHierarchy_CollectsAllMatchingComponents()
Declaration
public void CollectOwn_FlatHierarchy_CollectsAllMatchingComponents()
CollectOwn_NestedForeignRoot_StopsDescendingPastBoundary()
Declaration
public void CollectOwn_NestedForeignRoot_StopsDescendingPastBoundary()
CollectOwn_NestedGrandchild_IsCollected()
Declaration
public void CollectOwn_NestedGrandchild_IsCollected()
CollectOwn_NoMatchingComponents_ReturnsEmpty()
Declaration
public void CollectOwn_NoMatchingComponents_ReturnsEmpty()
CollectOwn_NullIsForeignRoot_ThrowsArgumentNullException()
Declaration
public void CollectOwn_NullIsForeignRoot_ThrowsArgumentNullException()
CollectOwn_RootItselfCarriesMarker_NotTreatedAsBoundaryAgainstItself()
Declaration
public void CollectOwn_RootItselfCarriesMarker_NotTreatedAsBoundaryAgainstItself()
CollectOwn_RootsOwnComponent_NotIncludedByTheWalkItself()
Declaration
public void CollectOwn_RootsOwnComponent_NotIncludedByTheWalkItself()
TearDown()
Declaration
public void TearDown()