logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class SerenityMisplacedShippedAssetHealerTests

    Runs the healer's real plan and moves against two text assets in a temporary folder whose shipped paths are swapped, the shape a 1.3.2 project has after importing 1.3.3. Text assets keep the run free of compilation, and nothing is registered with Addressables.

    Inheritance
    object
    SerenityMisplacedShippedAssetHealerTests
    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 SerenityMisplacedShippedAssetHealerTests

    Constructors

    SerenityMisplacedShippedAssetHealerTests()

    Declaration
    public SerenityMisplacedShippedAssetHealerTests()

    Methods

    CreateTwoTextAssets()

    Declaration
    public void CreateTwoTextAssets()

    DeleteTemporaryFolder()

    Several tests leave files on disk the AssetDatabase never imported (a moved file in a folder it does not know, a file without a .meta), so whatever the AssetDatabase deletion leaves behind is removed from disk too.

    Declaration
    public void DeleteTemporaryFolder()

    ExecuteMoves_DestinationFolderMissing_StillMovesTheFileWithItsGuid()

    Declaration
    public void ExecuteMoves_DestinationFolderMissing_StillMovesTheFileWithItsGuid()

    ExecuteMoves_FirstMoveFails_StopsBeforeTheNextMove()

    Declaration
    public void ExecuteMoves_FirstMoveFails_StopsBeforeTheNextMove()

    HealSwappedShippedPaths_PutsEachGuidAndItsContentAtItsShippedPath()

    Declaration
    public void HealSwappedShippedPaths_PutsEachGuidAndItsContentAtItsShippedPath()

    PlanFromProject_AssetDatabaseLaggingBehindFilesAlreadyHealed_PlansNothing()

    The editor loads the healer before its startup refresh, so the AssetDatabase can still place guids where they were before the last healing run. Swapping the two .meta files on disk without a refresh is that state: the AssetDatabase reports both guids off their shipped paths while the files already sit at them.

    Declaration
    public void PlanFromProject_AssetDatabaseLaggingBehindFilesAlreadyHealed_PlansNothing()

    PlanFromProject_DestinationExistsWithoutAReadableMeta_IsAConflictNotADestination()

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