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.
Inherited Members
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()