logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class KeyValueStructuredStoreTests

    KeyValueStructuredStore-specific hardening tests: corrupt-payload resilience, the required-partition-filter contract, concurrent-write safety, and the never-throw failure contract. Behavior shared with every other IStructuredStore backend lives in KeyValueStructuredStoreContractTests instead.

    Inheritance
    object
    KeyValueStructuredStoreTests
    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 KeyValueStructuredStoreTests

    Constructors

    KeyValueStructuredStoreTests()

    Declaration
    public KeyValueStructuredStoreTests()

    Methods

    CountAsync_MissingPartitionFilter_ThrowsPersistenceStoreException()

    Declaration
    public Task CountAsync_MissingPartitionFilter_ThrowsPersistenceStoreException()
    Returns
    Type Description
    Task

    DeleteByQueryAsync_MissingPartitionFilter_ThrowsPersistenceStoreException()

    Declaration
    public Task DeleteByQueryAsync_MissingPartitionFilter_ThrowsPersistenceStoreException()
    Returns
    Type Description
    Task

    HealthCheckAsync_ThrowingKeyValueStore_ReturnsFalse()

    Declaration
    public Task HealthCheckAsync_ThrowingKeyValueStore_ReturnsFalse()
    Returns
    Type Description
    Task

    InsertAsync_RecordMissingPartitionField_ThrowsPersistenceStoreException()

    Declaration
    public Task InsertAsync_RecordMissingPartitionField_ThrowsPersistenceStoreException()
    Returns
    Type Description
    Task

    InsertAsync_StorageKeyFormat_IsExactlyTableSlashPartitionValue()

    Declaration
    public Task InsertAsync_StorageKeyFormat_IsExactlyTableSlashPartitionValue()
    Returns
    Type Description
    Task

    InsertAsync_ThrowingKeyValueStore_DoesNotThrow()

    Declaration
    public Task InsertAsync_ThrowingKeyValueStore_DoesNotThrow()
    Returns
    Type Description
    Task

    PersistenceRoundTrip_NewStoreInstanceOverSameKeyValueStore_ReadsBackWrittenRecords()

    Declaration
    public Task PersistenceRoundTrip_NewStoreInstanceOverSameKeyValueStore_ReadsBackWrittenRecords()
    Returns
    Type Description
    Task

    QueryAsync_EmptyPayload_TreatedAsEmptyPartition()

    Declaration
    public Task QueryAsync_EmptyPayload_TreatedAsEmptyPartition()
    Returns
    Type Description
    Task

    QueryAsync_MissingPartitionFilter_ThrowsPersistenceStoreException()

    Declaration
    public Task QueryAsync_MissingPartitionFilter_ThrowsPersistenceStoreException()
    Returns
    Type Description
    Task

    QueryAsync_ThrowingKeyValueStore_TreatsPartitionAsEmptyAndWarns()

    Declaration
    public Task QueryAsync_ThrowingKeyValueStore_TreatsPartitionAsEmptyAndWarns()
    Returns
    Type Description
    Task

    QueryAsync_TruncatedPayload_TreatedAsEmptyPartitionWithWarning()

    Declaration
    public Task QueryAsync_TruncatedPayload_TreatedAsEmptyPartitionWithWarning()
    Returns
    Type Description
    Task

    TrimBeyondAsync_MissingPartitionFilter_ThrowsPersistenceStoreException()

    Declaration
    public Task TrimBeyondAsync_MissingPartitionFilter_ThrowsPersistenceStoreException()
    Returns
    Type Description
    Task

    UpsertIfBetterAsync_TwoConcurrentWrites_NeitherUpdateIsLost()

    Declaration
    public Task UpsertIfBetterAsync_TwoConcurrentWrites_NeitherUpdateIsLost()
    Returns
    Type Description
    Task
    In this article
    © 2026 Serenity. All Rights Reserved