logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.Leaderboard.Tests.Infrastructure

    Classes

    LeaderboardButtonActionRunnerTests

    Tests for LeaderboardButtonActionRunner's three LeaderboardButtonActions: Back invokes the owner-supplied callback, Show View mirrors UnityLeaderboardView.ReturnToOpener's own direct IViewRouter guard/push/show, and Dispatch Signal mirrors UnityMenuSubmitService.DispatchOptionSignal. Uses a real ViewRouter (over a fake provider) the same way UnityLeaderboardViewCancelTests does, since the resolvability guard is the behavior under test.

    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.

    In this article
    © 2026 Serenity. All Rights Reserved