logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityHudDefinitionProviderTests

    Tests for UnityHudDefinitionProvider, entirely via an injected loader so no test touches real Addressables.

    Inheritance
    object
    UnityHudDefinitionProviderTests
    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 UnityHudDefinitionProviderTests

    Constructors

    UnityHudDefinitionProviderTests()

    Declaration
    public UnityHudDefinitionProviderTests()

    Methods

    TearDown()

    Declaration
    public void TearDown()

    TryGet_EmptyResult_IsNotCached_RetriesOnNextLookup()

    Declaration
    public void TryGet_EmptyResult_IsNotCached_RetriesOnNextLookup()

    TryGet_GuidCollidesWithAnotherHudsId_GuidWins()

    Declaration
    public void TryGet_GuidCollidesWithAnotherHudsId_GuidWins()

    TryGet_LoaderThrowsNotSupportedException_IsContainedAndReturnsFalse()

    Declaration
    public void TryGet_LoaderThrowsNotSupportedException_IsContainedAndReturnsFalse()

    TryGet_LoaderThrowsOtherException_Surfaces()

    Declaration
    public void TryGet_LoaderThrowsOtherException_Surfaces()

    TryGet_MatchesByGuid()

    Declaration
    public void TryGet_MatchesByGuid()

    TryGet_MatchesById()

    Declaration
    public void TryGet_MatchesById()

    TryGet_NullOrEmptyId_ReturnsFalseWithoutInvokingTheLoader(string)

    Declaration
    public void TryGet_NullOrEmptyId_ReturnsFalseWithoutInvokingTheLoader(string idOrGuid)
    Parameters
    Type Name Description
    string idOrGuid

    TryGet_SuccessiveLookups_LoaderRunsOnlyOnce()

    Declaration
    public void TryGet_SuccessiveLookups_LoaderRunsOnlyOnce()

    TryGet_UnknownId_ReturnsFalse()

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