logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    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
    object
    EnsureSchemaOnFirstUseStructuredStoreTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.StructuredPersistence.Tests.Infrastructure
    Assembly: Tests.dll
    Syntax
    public class EnsureSchemaOnFirstUseStructuredStoreTests

    Constructors

    EnsureSchemaOnFirstUseStructuredStoreTests()

    Declaration
    public EnsureSchemaOnFirstUseStructuredStoreTests()

    Methods

    AllOperations_ForwardToTheInnerStore()

    Declaration
    public Task AllOperations_ForwardToTheInnerStore()
    Returns
    Type Description
    Task

    ConcurrentFirstOperations_EnsureTheSchemaExactlyOnce()

    Declaration
    public Task ConcurrentFirstOperations_EnsureTheSchemaExactlyOnce()
    Returns
    Type Description
    Task

    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
    Type Description
    Task

    EnsureSchemaAsync_ExplicitCallForTheWrappedTable_SatisfiesTheFirstUseGuarantee()

    Declaration
    public Task EnsureSchemaAsync_ExplicitCallForTheWrappedTable_SatisfiesTheFirstUseGuarantee()
    Returns
    Type Description
    Task

    FailedEnsure_IsRetriedOnTheNextOperation_NotLatched()

    Declaration
    public Task FailedEnsure_IsRetriedOnTheNextOperation_NotLatched()
    Returns
    Type Description
    Task

    HealthCheckAsync_DoesNotEnsureTheSchema()

    Declaration
    public Task HealthCheckAsync_DoesNotEnsureTheSchema()
    Returns
    Type Description
    Task

    InsertAsync_FirstOperation_EnsuresTheSchemaBeforeForwarding()

    Declaration
    public Task InsertAsync_FirstOperation_EnsuresTheSchemaBeforeForwarding()
    Returns
    Type Description
    Task

    MultipleOperations_EnsureTheSchemaExactlyOnce()

    Declaration
    public Task MultipleOperations_EnsureTheSchemaExactlyOnce()
    Returns
    Type Description
    Task

    Namespace_ForwardsTheInnerNamespace()

    Declaration
    public void Namespace_ForwardsTheInnerNamespace()

    QueryWindowAroundAsync_ForwardsToTheInnerPositionalStore()

    Declaration
    public Task QueryWindowAroundAsync_ForwardsToTheInnerPositionalStore()
    Returns
    Type Description
    Task

    SetUp()

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