logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityLeaderboardViewRankingModeTests

    PlayMode tests proving UnityLeaderboardView's TopEntries query threads RankingMode through to the four-argument GetTopAsync(BoardId, int, LeaderboardRankingMode, CancellationToken) overload — the read path an AllEntries-authored view (wizard or Leaderboard View Designer) relies on to actually show every stored row instead of the collapsed one.

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

    Constructors

    UnityLeaderboardViewRankingModeTests()

    Declaration
    public UnityLeaderboardViewRankingModeTests()

    Methods

    Show_AroundPlayerWithUnresolvablePlayerAndAllEntries_FallsBackToTheNonCollapsedQuery()

    The AroundPlayer-with-unresolvable-player fallback (no UnityLeaderboardSettings configured, so the local player identity can never resolve) is itself a top-entries listing and must thread RankingMode the same way the TopEntries path does, instead of silently collapsing to BestPerPlayer via the three-argument overload.

    Declaration
    public IEnumerator Show_AroundPlayerWithUnresolvablePlayerAndAllEntries_FallsBackToTheNonCollapsedQuery()
    Returns
    Type Description
    IEnumerator

    Show_TopEntriesWithAllEntries_RequestsTheNonCollapsedQuery()

    Declaration
    public IEnumerator Show_TopEntriesWithAllEntries_RequestsTheNonCollapsedQuery()
    Returns
    Type Description
    IEnumerator

    Show_TopEntriesWithBestPerPlayer_RequestsTheCollapsedQuery()

    Declaration
    public IEnumerator Show_TopEntriesWithBestPerPlayer_RequestsTheCollapsedQuery()
    Returns
    Type Description
    IEnumerator

    TearDown()

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