logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    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.

    Inheritance
    object
    HudElementBuilderTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    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()
    In this article
    © 2026 Serenity. All Rights Reserved