Class ProviderAsmdefDriverParityTests
Keeps the four provider assembly definitions honest against DatabaseDriverManifests.
Inherited Members
Namespace: Serenity.StructuredPersistence.Tests.Editor
Assembly: Serenity.StructuredPersistence.Tests.Editor.dll
Syntax
public class ProviderAsmdefDriverParityTests
Remarks
The asmdef is what actually binds a driver: overrideReferences plus precompiledReferences
decide which DLL the provider assembly compiles against, and defineConstraints decides whether it
compiles at all. None of that was asserted anywhere, while the manifest that installs those same DLLs was
checked only against the coverage runner's csproj.
That gap is the exact shape of a defect this project has already paid for once: a silent edit here makes roughly 2,600 lines of provider code compile nowhere while every check stays green, because an assembly nothing builds cannot fail. The manifest is the source of truth; every failure below says to change the asmdef.
Constructors
ProviderAsmdefDriverParityTests()
Declaration
public ProviderAsmdefDriverParityTests()
Methods
EveryBackend_GatesOnTheScriptingDefineItsManifestRecords()
Declaration
public void EveryBackend_GatesOnTheScriptingDefineItsManifestRecords()
EveryBackend_HasAnAsmdefBesideItsProviderSources()
Declaration
public void EveryBackend_HasAnAsmdefBesideItsProviderSources()
EveryBackend_OverridesReferences()
Declaration
public void EveryBackend_OverridesReferences()
EveryDirectlyRequestedDriver_IsBoundByItsAsmdef()
Declaration
public void EveryDirectlyRequestedDriver_IsBoundByItsAsmdef()
EveryPrecompiledReference_IsADriverTheManifestKnowsAbout()
Declaration
public void EveryPrecompiledReference_IsADriverTheManifestKnowsAbout()