logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class StructuredStoreLeaderboardAdapterTests

    StructuredStoreLeaderboardAdapter-specific tests: competition-rank tie semantics, the positional-capability fast path vs. the client-side fallback, non-finite rejection, unknown-board direction resolution, and exception re-wrapping/propagation.

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

    Constructors

    StructuredStoreLeaderboardAdapterTests()

    Declaration
    public StructuredStoreLeaderboardAdapterTests()

    Methods

    CountAsync_CountsDistinctPlayersRegardlessOfRetentionMode()

    Declaration
    public Task CountAsync_CountsDistinctPlayersRegardlessOfRetentionMode()
    Returns
    Type Description
    Task

    GetAroundAsync_NegativeRadius_ClampsToZeroAndReturnsOnlyThePlayer()

    Declaration
    public Task GetAroundAsync_NegativeRadius_ClampsToZeroAndReturnsOnlyThePlayer()
    Returns
    Type Description
    Task

    GetAroundAsync_NonPositionalStore_UsesClientSideFallback()

    Declaration
    public Task GetAroundAsync_NonPositionalStore_UsesClientSideFallback()
    Returns
    Type Description
    Task

    GetAroundAsync_PositionalStoreCapability_DelegatesToQueryWindowAroundAsync()

    Declaration
    public Task GetAroundAsync_PositionalStoreCapability_DelegatesToQueryWindowAroundAsync()
    Returns
    Type Description
    Task

    GetPlayerBestAsync_UnknownBoard_WarnsAndDefaultsToDescending()

    Declaration
    public Task GetPlayerBestAsync_UnknownBoard_WarnsAndDefaultsToDescending()
    Returns
    Type Description
    Task

    GetRankAsync_PlayerAbsent_ReturnsZeroWithoutCounting()

    Declaration
    public Task GetRankAsync_PlayerAbsent_ReturnsZeroWithoutCounting()
    Returns
    Type Description
    Task

    GetRankAsync_TiedScores_ShareTheSameRank()

    Declaration
    public Task GetRankAsync_TiedScores_ShareTheSameRank()
    Returns
    Type Description
    Task

    GetRankAsync_UnderlyingCancellation_PropagatesUnwrapped()

    Declaration
    public Task GetRankAsync_UnderlyingCancellation_PropagatesUnwrapped()
    Returns
    Type Description
    Task

    GetRankAsync_UnderlyingStoreFailure_DoesNotDoubleWrap()

    Declaration
    public Task GetRankAsync_UnderlyingStoreFailure_DoesNotDoubleWrap()
    Returns
    Type Description
    Task

    GetTopAsync_AllEntries_ReturnsEveryStoredRowUnmergedIncludingRepeatedPlayers()

    Declaration
    public Task GetTopAsync_AllEntries_ReturnsEveryStoredRowUnmergedIncludingRepeatedPlayers()
    Returns
    Type Description
    Task

    GetTopAsync_BestPerPlayer_CollapsesRepeatedPlayersToTheirBestRow()

    Declaration
    public Task GetTopAsync_BestPerPlayer_CollapsesRepeatedPlayersToTheirBestRow()
    Returns
    Type Description
    Task

    GetTopAsync_CountZeroOrNegative_ReturnsEmptyWithoutTouchingStore()

    Declaration
    public Task GetTopAsync_CountZeroOrNegative_ReturnsEmptyWithoutTouchingStore()
    Returns
    Type Description
    Task

    GetTopAsync_ThreeArgumentOverload_BehavesLikeExplicitBestPerPlayer()

    Declaration
    public Task GetTopAsync_ThreeArgumentOverload_BehavesLikeExplicitBestPerPlayer()
    Returns
    Type Description
    Task

    HealthCheckAsync_PassesThroughToUnderlyingStore()

    Declaration
    public Task HealthCheckAsync_PassesThroughToUnderlyingStore()
    Returns
    Type Description
    Task

    SubmitAsync_FullHistoryDuplicatePlayer_InsertsAndGrowsRawStorage()

    Declaration
    public Task SubmitAsync_FullHistoryDuplicatePlayer_InsertsAndGrowsRawStorage()
    Returns
    Type Description
    Task

    SubmitAsync_FullHistoryWithMaxEntries_FoldedTrimBoundsRawStorageLiterally()

    Declaration
    public Task SubmitAsync_FullHistoryWithMaxEntries_FoldedTrimBoundsRawStorageLiterally()
    Returns
    Type Description
    Task

    SubmitAsync_NonFiniteValue_ThrowsBeforeTouchingStore()

    Declaration
    public Task SubmitAsync_NonFiniteValue_ThrowsBeforeTouchingStore()
    Returns
    Type Description
    Task

    SubmitAsync_UnderlyingStoreFailure_RewrapsAsLeaderboardStoreExceptionOnce()

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