logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class 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).

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

    Constructors

    PersistenceInstallerHookTests()

    Declaration
    public PersistenceInstallerHookTests()

    Methods

    Install_BlobOnlyBackend_KeepsItsExistingBehavior()

    Declaration
    public void Install_BlobOnlyBackend_KeepsItsExistingBehavior()

    Install_DualStoreBackend_InstallsBothStoresAndRoundTripsThroughTheUseCases()

    Declaration
    public void Install_DualStoreBackend_InstallsBothStoresAndRoundTripsThroughTheUseCases()

    Install_KeyValueOnlyBackend_InstallsTheKeyValueStoreAndLeavesUseCasesNull()

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