logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.PersistenceBackend.Tests.Editor

    Classes

    PersistenceInstallerHookTests

    EditMode tests for Install(PersistenceInstallerInstallInput)'s hook wiring: BOTH backend hooks run (InstallBlobStore and InstallKeyValueStore), and the blob-backed use cases are only built when a blob store actually exists — never against a null store. These are the unit-level guarantees UnitySerenityInstaller.InstallPersistenceBackend's custom-backend guard builds on (that method is private and only reachable through a full boot, so its fallback branches are covered manually in Play Mode).

    UnityPersistenceBackendActivatorTests

    EditMode tests for UnityPersistenceBackendActivator — the reflection-based construction seam that lets UnitySerenityInstaller boot with a custom PersistenceInstaller backend. Also proves the Phase A.1 base-class lift (Install(PersistenceInstallerInstallInput)/ InstallUseCases(IBlobStore)) works for a non-file backend, and replicates the "is FilePersistenceInstaller" decision that UnitySerenityInstaller.ResolvePathService makes (that method is private, so the full boot proof is manual/Play Mode).

    In this article
    © 2026 Serenity. All Rights Reserved