logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.PackageBootstrapper.Tests.Editor

    Classes

    RestorePayloadPlannerTests

    Pure tests for RestorePayloadPlanner. No assets or files are touched.

    SerenityObsoleteAssetCleanerTests

    Pure tests for Serenity.Editor.ObsoleteAssetCleaner.ObsoleteAssetClassifier.ClassifySweep(System.Collections.Generic.IReadOnlyList{System.String},System.Collections.Generic.IReadOnlyCollection{System.String},System.Func{System.String,System.Boolean},System.Func{System.String,System.Boolean},System.Func{System.String,Serenity.Editor.ObsoleteAssetCleaner.OrphanReconciliationEvidence}), Serenity.Editor.ObsoleteAssetCleaner.ObsoleteAssetClassifier.ClassifyReconciliationAction(Serenity.Editor.ObsoleteAssetCleaner.OrphanReconciliationEvidence) and Serenity.Editor.ObsoleteAssetCleaner.SerenityShippedSnapshotImportWatcher.MergeImportRecords(Serenity.Editor.ObsoleteAssetCleaner.SerenityShippedSnapshotImportWatcher.PackageImportRecord,Serenity.Editor.ObsoleteAssetCleaner.SerenityShippedSnapshotImportWatcher.PackageImportRecord), plus consistency tests asserting the cleaner's duplicated known-non-product and tombstone-marker data stays in sync with Serenity.Editor.PackageBootstrapper.SerenityPackageExporter.ExcludedPaths and TombstonePlanner's actual output (the cleaner assembly cannot reference either — see the classes' remarks). No real assets are touched by the classification tests; the tombstone-shape tests write real temp files (they need IsTombstoneFile to read actual file content/length from disk) under the OS temp folder.

    SerenityPackageExporterTests

    Tests for the customer-project guard in SerenityPackageExporter: both public entry points must no-op — never regenerating the shipped-assets snapshot, never exporting a package — when Serenity.Editor.PackageBootstrapper.SerenityPackageExporter.IsDevelopmentProjectCheck reports a customer project.

    SerenityPackageImportScrubberTests

    Pure tests for Serenity.Editor.ObsoleteAssetCleaner.SerenityPackageImportScrubber.IsSerenityPackageName(System.String). No assets are touched.

    TombstonePlannerTests

    Pure tests for TombstonePlanner. No assets or files are touched.

    In this article
    © 2026 Serenity. All Rights Reserved