logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.StructuredPersistence.Tests.Editor

    Classes

    CoverageRunnerDriverParityTests

    Keeps Tools/CoverageRunner/CoverageRunner.csproj honest against DatabaseDriverManifests.

    DatabaseDriverDoctorWindowTests

    Proves the doctor survives contact with the real project: the menu item resolves, the window constructs, and the scan-then-inspect path runs against whatever is actually on disk without throwing. Compiling proves none of that.

    DatabaseDriverInspectorTests

    Behaviour of the driver check. The inspector takes the installed paths and the defined symbols as arguments, so every case here is a plain list — no filesystem, no editor state, no project mutation.

    ProviderAsmdefDriverParityTests

    Keeps the four provider assembly definitions honest against DatabaseDriverManifests.

    SettingsAssetResolutionTestSettings

    A throwaway IFoundationSettings asset type for SettingsAssetResolutionTests. Lives in its own same-named file so Unity can bind its script when the tests create it as an asset, and is private to this suite so the by-Id passes it drives never see another suite's leftovers (the same reason SerenityAssetIdLookupTestSettings gives).

    SettingsAssetResolutionTests

    EditMode tests for SettingsAssetResolution, the resolve-or-create every by-Id-in-folder creation engine now shares. Built on real assets on disk, because the contract is about what the AssetDatabase resolves and what actually lands on disk — neither survives an in-memory double.

    Every test drives a real Serenity.Global.Infrastructure.Editor.SerenityAssetCreationTransaction and rolls it back in teardown, so nothing is ever registered with the project's Addressables settings.

    In this article
    © 2026 Serenity. All Rights Reserved