logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnitySingletonSettingsLoaderTests

    EditMode tests for UnitySingletonSettingsLoader: the ownership rule a project-owned settings asset beats a shipped one with the same Id. Every fixture is a real UnitySingletonSettingsLoaderTestSettings asset registered into Addressables via Serenity.Global.Infrastructure.Editor.Utils.UnityAddressablesLabeler.RetagAssets(System.Collections.Generic.IEnumerable{System.String},System.Collections.Generic.IEnumerable{System.String}), created through a ScratchAssetFixture in SetUp() and disposed in TearDown().

    Inheritance
    object
    UnitySingletonSettingsLoaderTests
    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.Editor
    Assembly: Tests.Editor.dll
    Syntax
    public class UnitySingletonSettingsLoaderTests

    Constructors

    UnitySingletonSettingsLoaderTests()

    Declaration
    public UnitySingletonSettingsLoaderTests()

    Methods

    LoadBlocking_NoCandidates_ReturnsNull()

    Declaration
    public void LoadBlocking_NoCandidates_ReturnsNull()

    LoadBlocking_PackageOnly_DoesNotLogAnything()

    Declaration
    public void LoadBlocking_PackageOnly_DoesNotLogAnything()

    LoadBlocking_PackageOnly_ReturnsIt()

    Declaration
    public void LoadBlocking_PackageOnly_ReturnsIt()

    LoadBlocking_ProjectAndShippedCandidates_ReturnsTheProjectOwnedOne()

    Declaration
    public void LoadBlocking_ProjectAndShippedCandidates_ReturnsTheProjectOwnedOne()

    LoadBlocking_ProjectOnly_ReturnsIt()

    Declaration
    public void LoadBlocking_ProjectOnly_ReturnsIt()

    LoadBlocking_TwoProjectOwnedCandidates_LogsErrorAndReturnsLowestIdOrdinal()

    Declaration
    public void LoadBlocking_TwoProjectOwnedCandidates_LogsErrorAndReturnsLowestIdOrdinal()

    SetUp()

    Declaration
    public void SetUp()

    TearDown()

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