Class 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).
Inherited Members
Namespace: Serenity.PersistenceBackend.Tests.Editor
Assembly: Serenity.PersistenceBackend.Tests.Editor.dll
Syntax
public class UnityPersistenceBackendActivatorTests
Constructors
UnityPersistenceBackendActivatorTests()
Declaration
public UnityPersistenceBackendActivatorTests()
Methods
ActivatedInMemoryBackend_RoundTripsBytesThroughPersistenceUseCases()
Declaration
public void ActivatedInMemoryBackend_RoundTripsBytesThroughPersistenceUseCases()
ResolvePathServiceDecision_TreatsFileBackedInstallerAsFilePersistenceInstaller()
Declaration
public void ResolvePathServiceDecision_TreatsFileBackedInstallerAsFilePersistenceInstaller()
ResolvePathServiceDecision_TreatsNonFileBackedInstallerAsNeedingADedicatedPathInstaller()
Declaration
public void ResolvePathServiceDecision_TreatsNonFileBackedInstallerAsNeedingADedicatedPathInstaller()
TryCreate_AbstractBaseType_ReturnsFalse()
Declaration
public void TryCreate_AbstractBaseType_ReturnsFalse()
TryCreate_AmbiguousConstructors_ReturnsFalseWithoutThrowing()
Declaration
public void TryCreate_AmbiguousConstructors_ReturnsFalseWithoutThrowing()
TryCreate_BadTypeName_ReturnsFalseWithoutThrowing()
Declaration
public void TryCreate_BadTypeName_ReturnsFalseWithoutThrowing()
TryCreate_CtorArityMismatch_ReturnsFalse()
Declaration
public void TryCreate_CtorArityMismatch_ReturnsFalse()
TryCreate_GoodType_ConstructsInstaller()
Declaration
public void TryCreate_GoodType_ConstructsInstaller()
TryCreate_NullDefinition_ReturnsFalse()
Declaration
public void TryCreate_NullDefinition_ReturnsFalse()
TryCreate_PassCompanyAndProduct_PrependsArgs()
Declaration
public void TryCreate_PassCompanyAndProduct_PrependsArgs()
TryCreate_ThrowingConstructor_LogsTheInnerException()
Declaration
public void TryCreate_ThrowingConstructor_LogsTheInnerException()