logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class ScratchAssetFixtureTests

    EditMode tests for ScratchAssetFixture itself: it creates a real settings asset under a scratch folder, tracks the GUID an Addressables entry was registered against, and its own Dispose() removes both. The bounded retry inside DeleteScratchFolders() is documented, not exercised here: the .meta write-lock flake it absorbs needs a held file handle this suite has no way to inject.

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

    Constructors

    ScratchAssetFixtureTests()

    Declaration
    public ScratchAssetFixtureTests()

    Methods

    CreateSettingsAsset_CreatesTheAssetUnderTheGivenFolderWithIdAndGuid()

    Declaration
    public void CreateSettingsAsset_CreatesTheAssetUnderTheGivenFolderWithIdAndGuid()

    CreateSettingsAsset_TracksTheCreatedAssetsGuid()

    Declaration
    public void CreateSettingsAsset_TracksTheCreatedAssetsGuid()

    Dispose_DeletesEveryScratchFolderTheFixtureTouched()

    Declaration
    public void Dispose_DeletesEveryScratchFolderTheFixtureTouched()

    Dispose_RemovesAnAddressablesEntryForATrackedGuid()

    Declaration
    public void Dispose_RemovesAnAddressablesEntryForATrackedGuid()

    EnsureFolder_RegistersTheFolderForDeletionEvenWithoutCreatingAnAsset()

    Declaration
    public void EnsureFolder_RegistersTheFolderForDeletionEvenWithoutCreatingAnAsset()

    SetUp()

    Declaration
    public void SetUp()

    TearDown()

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