Class SteamPushPumpTests
EditMode tests for Serenity.Achievements.Infrastructure.Editor.Sync.Steam.SteamPushPump. Every fixture injects the HTTP send through the test
seam — nothing here touches a real socket — and injects the inter-request delay so no test actually
waits.
Inheritance
SteamPushPumpTests
Assembly: Tests.Editor.dll
Syntax
public class SteamPushPumpTests
Constructors
SteamPushPumpTests()
Declaration
public SteamPushPumpTests()
Methods
RunAsync_CancellationRequestedBetweenItems_ThrowsAndSendsNoFurtherRequests()
Declaration
public void RunAsync_CancellationRequestedBetweenItems_ThrowsAndSendsNoFurtherRequests()
RunAsync_CreationAnsweredWithoutIds_FailsBeforeAnySaveIsPosted()
Declaration
public Task RunAsync_CreationAnsweredWithoutIds_FailsBeforeAnySaveIsPosted()
Returns
RunAsync_EditorPageAnsweredWithTheSignInPage_ReportsAnExpiredSessionNotMissingIds()
Declaration
public Task RunAsync_EditorPageAnsweredWithTheSignInPage_ReportsAnExpiredSessionNotMissingIds()
Returns
RunAsync_EditorPageBouncedToSignIn_ReportsAnExpiredSession()
Declaration
public Task RunAsync_EditorPageBouncedToSignIn_ReportsAnExpiredSession()
Returns
RunAsync_EditorPageWithoutTheHighestIds_FailsBeforeCreatingAnything()
Declaration
public Task RunAsync_EditorPageWithoutTheHighestIds_FailsBeforeCreatingAnything()
Returns
RunAsync_ExistingAchievementCarryingThreeLanguagesAndARawOne_SavesTheCompleteMap()
Declaration
public Task RunAsync_ExistingAchievementCarryingThreeLanguagesAndARawOne_SavesTheCompleteMap()
Returns
RunAsync_ExistingAchievement_NeverReadsTheEditorPage()
Declaration
public Task RunAsync_ExistingAchievement_NeverReadsTheEditorPage()
Returns
RunAsync_HonorsInterRequestDelayBetweenItemsButNotAfterTheLast()
Declaration
public Task RunAsync_HonorsInterRequestDelayBetweenItemsButNotAfterTheLast()
Returns
RunAsync_IconUpload500WithAnEmptyBody_SaysTheAnswerWasEmpty()
Declaration
public Task RunAsync_IconUpload500WithAnEmptyBody_SaysTheAnswerWasEmpty()
Returns
RunAsync_IconUploadAnsweredWithARedirectToASuccessPage_IsAPlainFailureNamingTheTarget()
Declaration
public Task RunAsync_IconUploadAnsweredWithARedirectToASuccessPage_IsAPlainFailureNamingTheTarget()
Returns
RunAsync_IconUploadAnswersAnExplicitFailure_FailsAndSurfacesTheDetail()
Declaration
public Task RunAsync_IconUploadAnswersAnExplicitFailure_FailsAndSurfacesTheDetail()
Returns
RunAsync_IconUploadAnswersNoFailureIndicator_Succeeds(string)
Declaration
public Task RunAsync_IconUploadAnswersNoFailureIndicator_Succeeds(string responseBody)
Parameters
| Type |
Name |
Description |
| string |
responseBody |
|
Returns
RunAsync_IconUploadBouncedToALoginPath_AbortsWithAuthenticationExpired()
Declaration
public Task RunAsync_IconUploadBouncedToALoginPath_AbortsWithAuthenticationExpired()
Returns
RunAsync_IconUpload_MultipartRequestCarriesIdsAndPngBytesWithoutTheSecretCookie()
Declaration
public Task RunAsync_IconUpload_MultipartRequestCarriesIdsAndPngBytesWithoutTheSecretCookie()
Returns
RunAsync_IconWithNoBytes_SkipsUploadWithoutFailing()
Declaration
public Task RunAsync_IconWithNoBytes_SkipsUploadWithoutFailing()
Returns
RunAsync_LoginPageMidPump_AbortsWithAuthenticationExpiredAndPartialSavedApiNames()
Declaration
public Task RunAsync_LoginPageMidPump_AbortsWithAuthenticationExpiredAndPartialSavedApiNames()
Returns
RunAsync_MultipleSaveItems_SendsRequestsInGivenOrder()
Declaration
public Task RunAsync_MultipleSaveItems_SendsRequestsInGivenOrder()
Returns
RunAsync_NewAchievementAnsweredWithARedirectToAnotherHost_IsAPlainFailureNamingTheTarget()
Declaration
public Task RunAsync_NewAchievementAnsweredWithARedirectToAnotherHost_IsAPlainFailureNamingTheTarget()
Returns
RunAsync_NewAchievementBouncedToSignInWithARelativeLocation_AbortsWithAuthenticationExpired()
Declaration
public Task RunAsync_NewAchievementBouncedToSignInWithARelativeLocation_AbortsWithAuthenticationExpired()
Returns
RunAsync_NewAchievementWithNoDisplayNameInAnyLanguage_IsRefusedBeforeAnythingIsSent()
Declaration
public Task RunAsync_NewAchievementWithNoDisplayNameInAnyLanguage_IsRefusedBeforeAnythingIsSent()
Returns
RunAsync_NewAchievement_ReadsTheEditorPageThenCreatesThenSavesWithTheAssignedIds()
Declaration
public Task RunAsync_NewAchievement_ReadsTheEditorPageThenCreatesThenSavesWithTheAssignedIds()
Returns
RunAsync_NonAuthFailureOnFirstOfThree_AbortsAndNamesRemainingNotAttempted()
Declaration
public Task RunAsync_NonAuthFailureOnFirstOfThree_AbortsAndNamesRemainingNotAttempted()
Returns
RunAsync_RealEditorPage_IsNotTakenForTheSignInPageDespiteBeingHtml()
Declaration
public Task RunAsync_RealEditorPage_IsNotTakenForTheSignInPageDespiteBeingHtml()
Returns
RunAsync_RedirectWithNoLocation_IsAPlainFailure()
Declaration
public Task RunAsync_RedirectWithNoLocation_IsAPlainFailure()
Returns
RunAsync_ReportsProgressForEachWorkItem()
Declaration
public Task RunAsync_ReportsProgressForEachWorkItem()
Returns
RunAsync_SaveAnsweredWithARedirectToASuccessPage_IsAPlainFailureNamingTheTarget()
Declaration
public Task RunAsync_SaveAnsweredWithARedirectToASuccessPage_IsAPlainFailureNamingTheTarget()
Returns
RunAsync_SaveAnsweredWithAnEmptyObject_IsAFailureNotASave()
Declaration
public Task RunAsync_SaveAnsweredWithAnEmptyObject_IsAFailureNotASave()
Returns
RunAsync_SaveBouncedToSignInAfterACreation_StillReportsThePlaceholder()
Declaration
public Task RunAsync_SaveBouncedToSignInAfterACreation_StillReportsThePlaceholder()
Returns
RunAsync_SaveBouncedToSignIn_AbortsWithAuthenticationExpired()
Declaration
public Task RunAsync_SaveBouncedToSignIn_AbortsWithAuthenticationExpired()
Returns
RunAsync_SaveFailingAfterACreation_NamesThePlaceholderAndKeepsItsIdsInTheOutcome()
Declaration
public Task RunAsync_SaveFailingAfterACreation_NamesThePlaceholderAndKeepsItsIdsInTheOutcome()
Returns
RunAsync_SaveSucceedingAfterACreation_LeavesNothingUnfinished()
Declaration
public Task RunAsync_SaveSucceedingAfterACreation_LeavesNothingUnfinished()
Returns
RunAsync_ServerErrorAnsweringASave_IsStillAPlainFailureNotAnExpiredSession()
Declaration
public Task RunAsync_ServerErrorAnsweringASave_IsStillAPlainFailureNotAnExpiredSession()
Returns
RunAsync_TwoNewAchievements_ReadsThePageOnceAndReservesTheSecondAfterTheFirstAnswersHighestIds()
Declaration
public Task RunAsync_TwoNewAchievements_ReadsThePageOnceAndReservesTheSecondAfterTheFirstAnswersHighestIds()
Returns