logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class ActiveSlotKeyValueStoreTests

    ActiveSlotKeyValueStore-specific tests: byte round-trips over its delegate CheckpointsSection, no-active-slot in-memory behavior, and its participation in the surrounding GameSaveService save/load lifecycle once the section is registered.

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

    Constructors

    ActiveSlotKeyValueStoreTests()

    Declaration
    public ActiveSlotKeyValueStoreTests()

    Methods

    DeleteAsync_OfTheActiveSlot_DoesNotResetTheInMemoryCheckpoints()

    Declaration
    public Task DeleteAsync_OfTheActiveSlot_DoesNotResetTheInMemoryCheckpoints()
    Returns
    Type Description
    Task

    DeleteAsync_RemovesTheKey()

    Declaration
    public Task DeleteAsync_RemovesTheKey()
    Returns
    Type Description
    Task

    EndToEnd_WriteSaveNewServiceAndStoreLoadReadsBackTheSameBytes()

    Declaration
    public Task EndToEnd_WriteSaveNewServiceAndStoreLoadReadsBackTheSameBytes()
    Returns
    Type Description
    Task

    ExistsAsync_ReflectsWhetherTheKeyWasSet()

    Declaration
    public Task ExistsAsync_ReflectsWhetherTheKeyWasSet()
    Returns
    Type Description
    Task

    GetAsync_UnknownKey_ReturnsNull()

    Declaration
    public Task GetAsync_UnknownKey_ReturnsNull()
    Returns
    Type Description
    Task

    HealthCheckAsync_AlwaysReturnsTrue()

    Declaration
    public Task HealthCheckAsync_AlwaysReturnsTrue()
    Returns
    Type Description
    Task

    NoActiveSlotEverLoaded_StoreStillWorksPurelyInMemory()

    Declaration
    public Task NoActiveSlotEverLoaded_StoreStillWorksPurelyInMemory()
    Returns
    Type Description
    Task

    RealCheckpointStore_FullJourney_SavedThroughGameSaveAndReloadedByAFreshCheckpointStore()

    Declaration
    public Task RealCheckpointStore_FullJourney_SavedThroughGameSaveAndReloadedByAFreshCheckpointStore()
    Returns
    Type Description
    Task

    RealCheckpointStore_SaveTryLoadExistsDelete_RoundTripsThroughTheActiveSlotStore()

    Declaration
    public void RealCheckpointStore_SaveTryLoadExistsDelete_RoundTripsThroughTheActiveSlotStore()

    SaveAsync_CheckpointDataLandsInTheReservedSectionOfThePersistedDocument()

    Declaration
    public Task SaveAsync_CheckpointDataLandsInTheReservedSectionOfThePersistedDocument()
    Returns
    Type Description
    Task

    SetAsync_ThenGetAsync_RoundTripsTheStoredBytes()

    Declaration
    public Task SetAsync_ThenGetAsync_RoundTripsTheStoredBytes()
    Returns
    Type Description
    Task

    TryLoadAsync_RepopulatesTheStoreWithTheLoadedSlotsCheckpoints()

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