Class UnityHudDefinitionProviderTests
Tests for UnityHudDefinitionProvider, entirely via an injected loader so no test touches real Addressables.
Inherited Members
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()