Class HudElementBuilderTests
Characterization tests for HudElementBuilder, constructed directly against a fake
Serenity.GameUi.Infrastructure.Views.IHudElementBuildHost — the collaborator UnityHudHostComponentTests never
targets directly, that suite exercising it only through UnityHudHostComponent's public
surface. Direct construction is possible because Serenity.UnityGameUi.Infrastructure grants
InternalsVisibleTo to this test assembly.
Inherited Members
Namespace: Serenity.UnityGameUi.Tests.Infrastructure
Assembly: Tests.dll
Syntax
public class HudElementBuilderTests
Constructors
HudElementBuilderTests()
Declaration
public HudElementBuilderTests()
Methods
BuildElements_ElementDefinitionWithStartsHidden_TellsTheHostToHideItButNotTheOthers()
Declaration
public void BuildElements_ElementDefinitionWithStartsHidden_TellsTheHostToHideItButNotTheOthers()
BuildElements_WithANullDefinitionEntry_SkipsItWithoutThrowingAndBuildsTheOthers()
Declaration
public void BuildElements_WithANullDefinitionEntry_SkipsItWithoutThrowingAndBuildsTheOthers()
BuildElements_WithNoElementDefinitionsAuthored_BuildsNoElements()
Declaration
public void BuildElements_WithNoElementDefinitionsAuthored_BuildsNoElements()
BuildElements_WithTwoElementsSharingTheSameId_BuildsBothWithoutDeduplicating()
Declaration
public void BuildElements_WithTwoElementsSharingTheSameId_BuildsBothWithoutDeduplicating()
DisposeElements_UnhooksAnimationAndValueChangeHandlersThenDisposesEachElement()
Declaration
public void DisposeElements_UnhooksAnimationAndValueChangeHandlersThenDisposesEachElement()
SetUp()
Declaration
public void SetUp()
TearDown()
Declaration
public void TearDown()