Class EnsureSchemaOnFirstUseStructuredStoreTests
Unit tests for EnsureSchemaOnFirstUseStructuredStore against a recording fake:
the schema is ensured exactly once before the first operation (including under concurrency),
a FAILED ensure is retried on the next operation instead of being latched, every operation
forwards to the inner store, the positional window query forwards, and
HealthCheckAsync never triggers schema creation.
Inheritance
EnsureSchemaOnFirstUseStructuredStoreTests
Assembly: Tests.dll
Syntax
public class EnsureSchemaOnFirstUseStructuredStoreTests
Constructors
EnsureSchemaOnFirstUseStructuredStoreTests()
Declaration
public EnsureSchemaOnFirstUseStructuredStoreTests()
Methods
AllOperations_ForwardToTheInnerStore()
Declaration
public Task AllOperations_ForwardToTheInnerStore()
Returns
ConcurrentFirstOperations_EnsureTheSchemaExactlyOnce()
Declaration
public Task ConcurrentFirstOperations_EnsureTheSchemaExactlyOnce()
Returns
Constructor_NullInner_ThrowsArgumentNullException()
Declaration
public void Constructor_NullInner_ThrowsArgumentNullException()
Constructor_NullSchema_ThrowsArgumentNullException()
Declaration
public void Constructor_NullSchema_ThrowsArgumentNullException()
Constructor_PositionalBlindInner_ThrowsArgumentException()
Declaration
public void Constructor_PositionalBlindInner_ThrowsArgumentException()
EnsureSchemaAsync_ExplicitCallForAnotherTable_DoesNotSatisfyTheFirstUseGuarantee()
Declaration
public Task EnsureSchemaAsync_ExplicitCallForAnotherTable_DoesNotSatisfyTheFirstUseGuarantee()
Returns
EnsureSchemaAsync_ExplicitCallForTheWrappedTable_SatisfiesTheFirstUseGuarantee()
Declaration
public Task EnsureSchemaAsync_ExplicitCallForTheWrappedTable_SatisfiesTheFirstUseGuarantee()
Returns
FailedEnsure_IsRetriedOnTheNextOperation_NotLatched()
Declaration
public Task FailedEnsure_IsRetriedOnTheNextOperation_NotLatched()
Returns
HealthCheckAsync_DoesNotEnsureTheSchema()
Declaration
public Task HealthCheckAsync_DoesNotEnsureTheSchema()
Returns
InsertAsync_FirstOperation_EnsuresTheSchemaBeforeForwarding()
Declaration
public Task InsertAsync_FirstOperation_EnsuresTheSchemaBeforeForwarding()
Returns
MultipleOperations_EnsureTheSchemaExactlyOnce()
Declaration
public Task MultipleOperations_EnsureTheSchemaExactlyOnce()
Returns
Namespace_ForwardsTheInnerNamespace()
Declaration
public void Namespace_ForwardsTheInnerNamespace()
QueryWindowAroundAsync_ForwardsToTheInnerPositionalStore()
Declaration
public Task QueryWindowAroundAsync_ForwardsToTheInnerPositionalStore()
Returns
SetUp()
Declaration