logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class RelocatedAssetBackupStoreTests

    EditMode tests for Serenity.Editor.ObsoleteAssetCleaner.RelocatedAssetBackupStore. Follows the temp-folder hygiene convention of SerenityAssetCreationTransactionTests: every fixture asset lives under a private temp folder wiped in SetUp()/TearDown(). The backup store's own root points at a separate scratch folder under Library/ — outside Assets/, deleted the same way — so a failing run never leaves stray state behind. No Addressables involvement: this store only moves bytes on disk.

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

    Constructors

    RelocatedAssetBackupStoreTests()

    Declaration
    public RelocatedAssetBackupStoreTests()

    Methods

    BackUpThenRestore_OverwrittenAsset_RestoresOriginalBytesAndMetaAndKeepsGuid()

    Declaration
    public void BackUpThenRestore_OverwrittenAsset_RestoresOriginalBytesAndMetaAndKeepsGuid()

    Clear_RemovesEverythingUnderTheBackupRoot()

    Declaration
    public void Clear_RemovesEverythingUnderTheBackupRoot()

    OneTimeSetUp()

    Declaration
    public static void OneTimeSetUp()

    OneTimeTearDown()

    Declaration
    public static void OneTimeTearDown()

    ReadBackedUpContentBytes_NothingBackedUpForGuid_ReturnsNull()

    Declaration
    public void ReadBackedUpContentBytes_NothingBackedUpForGuid_ReturnsNull()

    ReadCurrentContentBytesOrNull_MissingFile_ReturnsNull()

    Declaration
    public void ReadCurrentContentBytesOrNull_MissingFile_ReturnsNull()

    SetUp()

    Declaration
    public void SetUp()

    TearDown()

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