logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class CheckpointsSectionTests

    CheckpointsSection-specific tests: payload get/set/remove, serialize/deserialize round-trips, and null-payload reset behavior.

    Inheritance
    object
    CheckpointsSectionTests
    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.Domain
    Assembly: Tests.dll
    Syntax
    public class CheckpointsSectionTests

    Constructors

    CheckpointsSectionTests()

    Declaration
    public CheckpointsSectionTests()

    Methods

    Deserialize_NullOrEmptyPayload_ResetsToEmpty()

    Declaration
    public void Deserialize_NullOrEmptyPayload_ResetsToEmpty()

    RemovePayload_ExistingCheckpointKey_RemovesItAndReturnsTrue()

    Declaration
    public void RemovePayload_ExistingCheckpointKey_RemovesItAndReturnsTrue()

    RemovePayload_UnknownCheckpointKey_ReturnsFalse()

    Declaration
    public void RemovePayload_UnknownCheckpointKey_ReturnsFalse()

    SectionKey_IsTheReservedCheckpointsKey()

    Declaration
    public void SectionKey_IsTheReservedCheckpointsKey()

    Serialize_NoCheckpoints_ProducesAnEmptyJsonObject()

    Declaration
    public void Serialize_NoCheckpoints_ProducesAnEmptyJsonObject()

    Serialize_ThenDeserialize_RoundTripsEveryCheckpoint()

    Declaration
    public void Serialize_ThenDeserialize_RoundTripsEveryCheckpoint()

    SetPayload_ExistingCheckpointKey_ReplacesThePayloadWithoutDuplicatingTheKey()

    Declaration
    public void SetPayload_ExistingCheckpointKey_ReplacesThePayloadWithoutDuplicatingTheKey()

    SetPayload_NewCheckpointKey_IsHeldAndReportedAsPresent()

    Declaration
    public void SetPayload_NewCheckpointKey_IsHeldAndReportedAsPresent()

    SetPayload_NullOrEmptyCheckpointKey_ThrowsArgumentException()

    Declaration
    public void SetPayload_NullOrEmptyCheckpointKey_ThrowsArgumentException()

    TryGetPayload_UnknownCheckpointKey_ReturnsFalse()

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