Class UnityLeaderboardScoreSubmitterEditorTests
EditMode tests for the UnityLeaderboardScoreSubmitter field migration and the pure
popup-vs-plain-field decision logic behind UnityLeaderboardScoreSubmitterEditor. The
editor's OnInspectorGUI itself is not driven here (see CreateLeaderboardWindowDoneStepTests
for why this project tests IMGUI logic through its extracted static seams instead).
Inherited Members
Namespace: Serenity.Leaderboard.Tests.Editor
Assembly: Serenity.Leaderboard.Tests.Editor.dll
Syntax
public class UnityLeaderboardScoreSubmitterEditorTests
Constructors
UnityLeaderboardScoreSubmitterEditorTests()
Declaration
public UnityLeaderboardScoreSubmitterEditorTests()
Methods
BuildDisplayOptions_PrependsTheCustomSentinelBeforeTheDetectedIds()
Declaration
public void BuildDisplayOptions_PrependsTheCustomSentinelBeforeTheDetectedIds()
PlayerDisplayNameField_CarriesFormerlySerializedAsTheOldDisplayNameName()
Declaration
public void PlayerDisplayNameField_CarriesFormerlySerializedAsTheOldDisplayNameName()
ResolveSelectedIndex_CurrentBoardIdMatchesADetectedId_ReturnsItsDisplayIndex()
Declaration
public void ResolveSelectedIndex_CurrentBoardIdMatchesADetectedId_ReturnsItsDisplayIndex()
ResolveSelectedIndex_CurrentBoardIdNotAmongDetectedIds_ReturnsTheCustomSentinelIndex()
Declaration
public void ResolveSelectedIndex_CurrentBoardIdNotAmongDetectedIds_ReturnsTheCustomSentinelIndex()
ResolveSelectedIndex_EmptyCurrentBoardId_ReturnsTheCustomSentinelIndex()
Declaration
public void ResolveSelectedIndex_EmptyCurrentBoardId_ReturnsTheCustomSentinelIndex()
ShouldRenderPopup_NoDetectedBoardIds_ReturnsFalse()
Declaration
public void ShouldRenderPopup_NoDetectedBoardIds_ReturnsFalse()
ShouldRenderPopup_SomeDetectedBoardIds_ReturnsTrue()
Declaration
public void ShouldRenderPopup_SomeDetectedBoardIds_ReturnsTrue()