Class AchievementSyncStagedConfirmationTests
EditMode tests for Serenity.Achievements.Infrastructure.Editor.Sync.AchievementSyncStagedConfirmation: staging records the scope it was requested for, confirming runs the action once, and a changed scope drops the staged box.
Inherited Members
Namespace: Serenity.UnityAchievements.Tests.Editor
Assembly: Tests.Editor.dll
Syntax
public class AchievementSyncStagedConfirmationTests
Constructors
AchievementSyncStagedConfirmationTests()
Declaration
public AchievementSyncStagedConfirmationTests()
Methods
CancelIfStale_DirectionChanged_DropsTheStagedAction()
Declaration
public void CancelIfStale_DirectionChanged_DropsTheStagedAction()
CancelIfStale_NothingChanged_KeepsTheStagedAction()
Declaration
public void CancelIfStale_NothingChanged_KeepsTheStagedAction()
CancelIfStale_OneAcceptedRowSwappedForAnotherWithTheSameCount_DropsTheStagedAction()
Declaration
public void CancelIfStale_OneAcceptedRowSwappedForAnotherWithTheSameCount_DropsTheStagedAction()
CancelIfStale_TheSameRowsStillAccepted_KeepsTheStagedAction()
Declaration
public void CancelIfStale_TheSameRowsStillAccepted_KeepsTheStagedAction()
CancelIfStale_TransportChanged_DropsTheStagedAction(AchievementSyncTransportMode)
Declaration
public void CancelIfStale_TransportChanged_DropsTheStagedAction(AchievementSyncTransportMode newTransport)
Parameters
| Type | Name | Description |
|---|---|---|
| AchievementSyncTransportMode | newTransport |
Cancel_DropsTheStagedActionAndANeverConfirmedOneNeverRuns()
Declaration
public void Cancel_DropsTheStagedActionAndANeverConfirmedOneNeverRuns()
Confirm_RunsTheStagedActionExactlyOnce()
Declaration
public void Confirm_RunsTheStagedActionExactlyOnce()
SetUp()
Declaration
public void SetUp()
StageApply_StatesTheAcceptedChangeCount()
Declaration
public void StageApply_StatesTheAcceptedChangeCount()
StageLocaleCreation_SaysTheAddedLanguageStaysInTheProjectEvenIfTheRunIsCancelled()
Declaration
public void StageLocaleCreation_SaysTheAddedLanguageStaysInTheProjectEvenIfTheRunIsCancelled()
StageLocaleCreation_TheProjectAlreadyHasTheLocale_SaysOnlyATableIsAddedToIt()
Declaration
public void StageLocaleCreation_TheProjectAlreadyHasTheLocale_SaysOnlyATableIsAddedToIt()
StagePush_StatesThePushCountAndThatPublishingStaysManual_AndRunsNothingYet()
Declaration
public void StagePush_StatesThePushCountAndThatPublishingStaysManual_AndRunsNothingYet()