logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class SerenityHudBindingValidatorAddressableTests

    EditMode tests for the Addressables-registration rule SerenityHudBindingValidator adds on top of HudDefinitionScanner's own checks. Every test targets a HUD asset OUTSIDE the Serenity plugin roots — the HUD Builder's default output folder (Assets/Media/GeneratedHuds) is exactly this kind of location, which is precisely why the generic Serenity.Global.Infrastructure.Editor.Validation.SerenityAddressableTagValidator cannot cover it (it only judges assets under Assets/Serenity/Assets/Plugins/Serenity).

    Inheritance
    object
    SerenityHudBindingValidatorAddressableTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.GameUi.Tests.Editor.Validation
    Assembly: Serenity.GameUi.Tests.Editor.dll
    Syntax
    public class SerenityHudBindingValidatorAddressableTests

    Constructors

    SerenityHudBindingValidatorAddressableTests()

    Declaration
    public SerenityHudBindingValidatorAddressableTests()

    Methods

    FixByRetagging_ThenRerun_NoLongerReported()

    Declaration
    public void FixByRetagging_ThenRerun_NoLongerReported()

    Run_RegisteredWithoutTheGameUiLabel_ReportsAnAddressablesError()

    Declaration
    public void Run_RegisteredWithoutTheGameUiLabel_ReportsAnAddressablesError()

    Run_UnregisteredHud_IsNotReportedByTheGenericAddressableTagValidator()

    Declaration
    public void Run_UnregisteredHud_IsNotReportedByTheGenericAddressableTagValidator()

    Run_UnregisteredHud_ReportsAnAddressablesError()

    Declaration
    public void Run_UnregisteredHud_ReportsAnAddressablesError()

    SetUp()

    Declaration
    public void SetUp()

    TearDown()

    Declaration
    public void TearDown()
    In this article
    © 2026 Serenity. All Rights Reserved