logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class StructuredStoreGameProgressAdapterTests

    StructuredStoreGameProgressAdapter-specific tests: load/save round-trip over the shared InMemoryStructuredStore fake, the "no row yet" default, the upsert-if-newer save semantics, malformed-payload handling, and exception re-wrapping/propagation.

    Inheritance
    object
    StructuredStoreGameProgressAdapterTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.GameProgress.Tests.Infrastructure
    Assembly: Tests.dll
    Syntax
    public class StructuredStoreGameProgressAdapterTests

    Constructors

    StructuredStoreGameProgressAdapterTests()

    Declaration
    public StructuredStoreGameProgressAdapterTests()

    Methods

    HealthCheckAsync_PassesThroughToUnderlyingStore()

    Declaration
    public Task HealthCheckAsync_PassesThroughToUnderlyingStore()
    Returns
    Type Description
    Task

    LoadAsync_MalformedUnlockedExtrasJson_ThrowsGameProgressStoreExceptionNotJsonParseException()

    Declaration
    public Task LoadAsync_MalformedUnlockedExtrasJson_ThrowsGameProgressStoreExceptionNotJsonParseException()
    Returns
    Type Description
    Task

    LoadAsync_NothingSavedYet_ReturnsEmptyProgress()

    Declaration
    public Task LoadAsync_NothingSavedYet_ReturnsEmptyProgress()
    Returns
    Type Description
    Task

    LoadAsync_UnderlyingCancellation_PropagatesUnwrapped()

    Declaration
    public Task LoadAsync_UnderlyingCancellation_PropagatesUnwrapped()
    Returns
    Type Description
    Task

    SaveAsync_CalledTwice_ReplacesTheSingleGlobalRowRatherThanAppending()

    Declaration
    public Task SaveAsync_CalledTwice_ReplacesTheSingleGlobalRowRatherThanAppending()
    Returns
    Type Description
    Task

    SaveAsync_ThenLoadAsync_RoundTrips()

    Declaration
    public Task SaveAsync_ThenLoadAsync_RoundTrips()
    Returns
    Type Description
    Task

    SaveAsync_UnderlyingStoreFailure_RewrapsAsGameProgressStoreExceptionOnce()

    Declaration
    public Task SaveAsync_UnderlyingStoreFailure_RewrapsAsGameProgressStoreExceptionOnce()
    Returns
    Type Description
    Task

    SaveAsync_WithTicksNotNewerThanStored_KeepsExistingRowUnchanged()

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