Class StructuredBackendStoresTests
Tests for the shared StructuredBackendStores helper covering what the two consumer factory suites do not already lock: the environment-variable override chain as a unit, and the profile-driven message composition and local-store construction — asserted against a synthetic consumer profile so the tests prove the helper honors the profile rather than any specific consumer's constants.
Inherited Members
Namespace: Serenity.UnityStructuredPersistence.Tests.Backends
Assembly: Tests.dll
Syntax
public class StructuredBackendStoresTests
Constructors
StructuredBackendStoresTests()
Declaration
public StructuredBackendStoresTests()
Methods
CreatePlayerPrefsStore_BuildsAKeyValueStore()
Declaration
public void CreatePlayerPrefsStore_BuildsAKeyValueStore()
ResolveEnvironmentOverrideInt_ParsesTheVariableAndFallsBackOnGarbage()
Declaration
public void ResolveEnvironmentOverrideInt_ParsesTheVariableAndFallsBackOnGarbage()
ResolveEnvironmentOverride_NoPrefix_ReturnsSerializedValue()
Declaration
public void ResolveEnvironmentOverride_NoPrefix_ReturnsSerializedValue()
ResolveEnvironmentOverride_PrefixWithVariable_EnvironmentValueWins()
Declaration
public void ResolveEnvironmentOverride_PrefixWithVariable_EnvironmentValueWins()
ResolveEnvironmentOverride_PrefixWithoutVariable_ReturnsSerializedValue()
Declaration
public void ResolveEnvironmentOverride_PrefixWithoutVariable_ReturnsSerializedValue()
SetUp()
Declaration
public void SetUp()
TearDown()
Declaration
public void TearDown()
TryCreateCustomStore_ReturnedStoreWinsWithoutWarning()
Declaration
public void TryCreateCustomStore_ReturnedStoreWinsWithoutWarning()
TryCreateCustomStore_ThrowOrNull_ReturnsNullAndComposesTheWarningFromTheProfile()
Declaration
public void TryCreateCustomStore_ThrowOrNull_ReturnsNullAndComposesTheWarningFromTheProfile()
TryCreateHttpStore_BlankBaseUrl_ReturnsNullAndComposesTheWarningFromTheProfile()
Declaration
public void TryCreateHttpStore_BlankBaseUrl_ReturnsNullAndComposesTheWarningFromTheProfile()
TryCreateHttpStore_WithBaseUrl_BuildsAnHttpStoreFromTheAssetValues()
Declaration
public void TryCreateHttpStore_WithBaseUrl_BuildsAnHttpStoreFromTheAssetValues()
TryCreateLocalFileStore_NullAsset_BuildsAKeyValueStoreOverTheProfileDefaultDirectory()
Declaration
public void TryCreateLocalFileStore_NullAsset_BuildsAKeyValueStoreOverTheProfileDefaultDirectory()
TryCreateSqliteStore_WithoutScriptingDefine_ReturnsNullAndComposesTheWarningFromTheProfile()
Declaration
public void TryCreateSqliteStore_WithoutScriptingDefine_ReturnsNullAndComposesTheWarningFromTheProfile()
UnityPlayerPrefsBackendDefinition_FreshInstance_HasNonEmptyGuid()
Declaration
public void UnityPlayerPrefsBackendDefinition_FreshInstance_HasNonEmptyGuid()
UnityPlayerPrefsBackendDefinition_IdAndGuid_RoundTripThroughTheInterface()
Declaration
public void UnityPlayerPrefsBackendDefinition_IdAndGuid_RoundTripThroughTheInterface()
UnityPlayerPrefsBackendDefinition_ImplementsIFoundationSettings()
Declaration
public void UnityPlayerPrefsBackendDefinition_ImplementsIFoundationSettings()