logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    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
    object
    SteamPushPumpTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.UnityAchievements.Tests.Editor
    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
    Type Description
    Task

    RunAsync_EditorPageAnsweredWithTheSignInPage_ReportsAnExpiredSessionNotMissingIds()

    Declaration
    public Task RunAsync_EditorPageAnsweredWithTheSignInPage_ReportsAnExpiredSessionNotMissingIds()
    Returns
    Type Description
    Task

    RunAsync_EditorPageBouncedToSignIn_ReportsAnExpiredSession()

    Declaration
    public Task RunAsync_EditorPageBouncedToSignIn_ReportsAnExpiredSession()
    Returns
    Type Description
    Task

    RunAsync_EditorPageWithoutTheHighestIds_FailsBeforeCreatingAnything()

    Declaration
    public Task RunAsync_EditorPageWithoutTheHighestIds_FailsBeforeCreatingAnything()
    Returns
    Type Description
    Task

    RunAsync_ExistingAchievementCarryingThreeLanguagesAndARawOne_SavesTheCompleteMap()

    Declaration
    public Task RunAsync_ExistingAchievementCarryingThreeLanguagesAndARawOne_SavesTheCompleteMap()
    Returns
    Type Description
    Task

    RunAsync_ExistingAchievement_NeverReadsTheEditorPage()

    Declaration
    public Task RunAsync_ExistingAchievement_NeverReadsTheEditorPage()
    Returns
    Type Description
    Task

    RunAsync_HonorsInterRequestDelayBetweenItemsButNotAfterTheLast()

    Declaration
    public Task RunAsync_HonorsInterRequestDelayBetweenItemsButNotAfterTheLast()
    Returns
    Type Description
    Task

    RunAsync_IconUpload500WithAnEmptyBody_SaysTheAnswerWasEmpty()

    Declaration
    public Task RunAsync_IconUpload500WithAnEmptyBody_SaysTheAnswerWasEmpty()
    Returns
    Type Description
    Task

    RunAsync_IconUploadAnsweredWithARedirectToASuccessPage_IsAPlainFailureNamingTheTarget()

    Declaration
    public Task RunAsync_IconUploadAnsweredWithARedirectToASuccessPage_IsAPlainFailureNamingTheTarget()
    Returns
    Type Description
    Task

    RunAsync_IconUploadAnswersAnExplicitFailure_FailsAndSurfacesTheDetail()

    Declaration
    public Task RunAsync_IconUploadAnswersAnExplicitFailure_FailsAndSurfacesTheDetail()
    Returns
    Type Description
    Task

    RunAsync_IconUploadAnswersNoFailureIndicator_Succeeds(string)

    Declaration
    public Task RunAsync_IconUploadAnswersNoFailureIndicator_Succeeds(string responseBody)
    Parameters
    Type Name Description
    string responseBody
    Returns
    Type Description
    Task

    RunAsync_IconUploadBouncedToALoginPath_AbortsWithAuthenticationExpired()

    Declaration
    public Task RunAsync_IconUploadBouncedToALoginPath_AbortsWithAuthenticationExpired()
    Returns
    Type Description
    Task

    RunAsync_IconUpload_MultipartRequestCarriesIdsAndPngBytesWithoutTheSecretCookie()

    Declaration
    public Task RunAsync_IconUpload_MultipartRequestCarriesIdsAndPngBytesWithoutTheSecretCookie()
    Returns
    Type Description
    Task

    RunAsync_IconWithNoBytes_SkipsUploadWithoutFailing()

    Declaration
    public Task RunAsync_IconWithNoBytes_SkipsUploadWithoutFailing()
    Returns
    Type Description
    Task

    RunAsync_LoginPageMidPump_AbortsWithAuthenticationExpiredAndPartialSavedApiNames()

    Declaration
    public Task RunAsync_LoginPageMidPump_AbortsWithAuthenticationExpiredAndPartialSavedApiNames()
    Returns
    Type Description
    Task

    RunAsync_MultipleSaveItems_SendsRequestsInGivenOrder()

    Declaration
    public Task RunAsync_MultipleSaveItems_SendsRequestsInGivenOrder()
    Returns
    Type Description
    Task

    RunAsync_NewAchievementAnsweredWithARedirectToAnotherHost_IsAPlainFailureNamingTheTarget()

    Declaration
    public Task RunAsync_NewAchievementAnsweredWithARedirectToAnotherHost_IsAPlainFailureNamingTheTarget()
    Returns
    Type Description
    Task

    RunAsync_NewAchievementBouncedToSignInWithARelativeLocation_AbortsWithAuthenticationExpired()

    Declaration
    public Task RunAsync_NewAchievementBouncedToSignInWithARelativeLocation_AbortsWithAuthenticationExpired()
    Returns
    Type Description
    Task

    RunAsync_NewAchievementWithNoDisplayNameInAnyLanguage_IsRefusedBeforeAnythingIsSent()

    Declaration
    public Task RunAsync_NewAchievementWithNoDisplayNameInAnyLanguage_IsRefusedBeforeAnythingIsSent()
    Returns
    Type Description
    Task

    RunAsync_NewAchievement_ReadsTheEditorPageThenCreatesThenSavesWithTheAssignedIds()

    Declaration
    public Task RunAsync_NewAchievement_ReadsTheEditorPageThenCreatesThenSavesWithTheAssignedIds()
    Returns
    Type Description
    Task

    RunAsync_NonAuthFailureOnFirstOfThree_AbortsAndNamesRemainingNotAttempted()

    Declaration
    public Task RunAsync_NonAuthFailureOnFirstOfThree_AbortsAndNamesRemainingNotAttempted()
    Returns
    Type Description
    Task

    RunAsync_RealEditorPage_IsNotTakenForTheSignInPageDespiteBeingHtml()

    Declaration
    public Task RunAsync_RealEditorPage_IsNotTakenForTheSignInPageDespiteBeingHtml()
    Returns
    Type Description
    Task

    RunAsync_RedirectWithNoLocation_IsAPlainFailure()

    Declaration
    public Task RunAsync_RedirectWithNoLocation_IsAPlainFailure()
    Returns
    Type Description
    Task

    RunAsync_ReportsProgressForEachWorkItem()

    Declaration
    public Task RunAsync_ReportsProgressForEachWorkItem()
    Returns
    Type Description
    Task

    RunAsync_SaveAnsweredWithARedirectToASuccessPage_IsAPlainFailureNamingTheTarget()

    Declaration
    public Task RunAsync_SaveAnsweredWithARedirectToASuccessPage_IsAPlainFailureNamingTheTarget()
    Returns
    Type Description
    Task

    RunAsync_SaveAnsweredWithAnEmptyObject_IsAFailureNotASave()

    Declaration
    public Task RunAsync_SaveAnsweredWithAnEmptyObject_IsAFailureNotASave()
    Returns
    Type Description
    Task

    RunAsync_SaveBouncedToSignInAfterACreation_StillReportsThePlaceholder()

    Declaration
    public Task RunAsync_SaveBouncedToSignInAfterACreation_StillReportsThePlaceholder()
    Returns
    Type Description
    Task

    RunAsync_SaveBouncedToSignIn_AbortsWithAuthenticationExpired()

    Declaration
    public Task RunAsync_SaveBouncedToSignIn_AbortsWithAuthenticationExpired()
    Returns
    Type Description
    Task

    RunAsync_SaveFailingAfterACreation_NamesThePlaceholderAndKeepsItsIdsInTheOutcome()

    Declaration
    public Task RunAsync_SaveFailingAfterACreation_NamesThePlaceholderAndKeepsItsIdsInTheOutcome()
    Returns
    Type Description
    Task

    RunAsync_SaveSucceedingAfterACreation_LeavesNothingUnfinished()

    Declaration
    public Task RunAsync_SaveSucceedingAfterACreation_LeavesNothingUnfinished()
    Returns
    Type Description
    Task

    RunAsync_ServerErrorAnsweringASave_IsStillAPlainFailureNotAnExpiredSession()

    Declaration
    public Task RunAsync_ServerErrorAnsweringASave_IsStillAPlainFailureNotAnExpiredSession()
    Returns
    Type Description
    Task

    RunAsync_TwoNewAchievements_ReadsThePageOnceAndReservesTheSecondAfterTheFirstAnswersHighestIds()

    Declaration
    public Task RunAsync_TwoNewAchievements_ReadsThePageOnceAndReservesTheSecondAfterTheFirstAnswersHighestIds()
    Returns
    Type Description
    Task
    In this article
    © 2026 Serenity. All Rights Reserved