logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class SerenityAssetLoadingModeProviderTests

    Tests for the static SerenityAssetLoadingModeProvider and its instance adapter UnitySerenityAssetLoadingModeProvider. Each test resets the static provider in TearDown because it holds session-wide state.

    Inheritance
    object
    SerenityAssetLoadingModeProviderTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.UnityGlobal.Tests.Infrastructure
    Assembly: Tests.dll
    Syntax
    public class SerenityAssetLoadingModeProviderTests

    Constructors

    SerenityAssetLoadingModeProviderTests()

    Declaration
    public SerenityAssetLoadingModeProviderTests()

    Methods

    Adapter_Implements_IAssetLoadingModeProvider()

    Declaration
    public void Adapter_Implements_IAssetLoadingModeProvider()

    Adapter_Mode_ReflectsStaticProvider()

    Declaration
    public void Adapter_Mode_ReflectsStaticProvider()

    Adapter_SetMode_MutatesStaticProvider()

    Declaration
    public void Adapter_SetMode_MutatesStaticProvider()

    Default_IsExplicitlyConfigured_False()

    Declaration
    public void Default_IsExplicitlyConfigured_False()

    Default_Mode_IsAddressablesWithResourcesFallback()

    Declaration
    public void Default_Mode_IsAddressablesWithResourcesFallback()

    Default_UsesAddressablesAndResources_BothTrue()

    Declaration
    public void Default_UsesAddressablesAndResources_BothTrue()

    Reset_RestoresDefaultsAndClearsExplicitFlag()

    Declaration
    public void Reset_RestoresDefaultsAndClearsExplicitFlag()

    SetMode_AddressablesOnly_UsesAddressablesNotResources()

    Declaration
    public void SetMode_AddressablesOnly_UsesAddressablesNotResources()

    SetMode_CalledTwice_LastValueWins()

    Declaration
    public void SetMode_CalledTwice_LastValueWins()

    SetMode_ResourcesOnly_UsesResourcesNotAddressables()

    Declaration
    public void SetMode_ResourcesOnly_UsesResourcesNotAddressables()

    SetMode_SetsExplicitlyConfigured()

    Declaration
    public void SetMode_SetsExplicitlyConfigured()

    TearDown()

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