logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityLeaderboardScoreSubmitterTests

    PlayMode tests for UnityLeaderboardScoreSubmitter: a configured board with a valued source metric submits (after saving the score snapshot first), an unknown board id is a silent no-op, an empty board id warns exactly once across repeated calls without touching any service, unresolved dependencies warn without throwing, and SubmitNow() stays the void shape a UnityEvent can bind to.

    Inheritance
    object
    UnityLeaderboardScoreSubmitterTests
    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 UnityLeaderboardScoreSubmitterTests

    Constructors

    UnityLeaderboardScoreSubmitterTests()

    Declaration
    public UnityLeaderboardScoreSubmitterTests()

    Methods

    SubmitNow_ConfiguredBoardWithMetricValue_SavesSnapshotThenSubmitsTheMetricValue()

    Declaration
    public void SubmitNow_ConfiguredBoardWithMetricValue_SavesSnapshotThenSubmitsTheMetricValue()

    SubmitNow_EmptyBoardId_WarnsOnceAcrossRepeatedCalls_ServiceNeverTouched()

    Declaration
    public void SubmitNow_EmptyBoardId_WarnsOnceAcrossRepeatedCalls_ServiceNeverTouched()

    SubmitNow_IsAPublicVoidMethod_SoItStaysUnityEventBindable()

    Declaration
    public void SubmitNow_IsAPublicVoidMethod_SoItStaysUnityEventBindable()

    SubmitNow_UnknownBoardId_NoSubmissionAndDoesNotThrow()

    Declaration
    public void SubmitNow_UnknownBoardId_NoSubmissionAndDoesNotThrow()

    SubmitNow_UnresolvedServices_WarnsAndDoesNotThrow()

    Declaration
    public void SubmitNow_UnresolvedServices_WarnsAndDoesNotThrow()

    TearDown()

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