logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class AchievementSyncSteamSignInFlowTests

    The Steam QR sign-in flow, driven tick by tick against a scripted Steam, a scripted minter and a clock the test moves by hand. A scripted call answers with an already complete task, so a tick that starts a call is followed by one that handles its answer; a test that needs a call still in flight asks the scripted Steam or minter to hold its answers and completes the held task by hand.

    Inheritance
    object
    AchievementSyncSteamSignInFlowTests
    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 AchievementSyncSteamSignInFlowTests

    Constructors

    AchievementSyncSteamSignInFlowTests()

    Declaration
    public AchievementSyncSteamSignInFlowTests()

    Methods

    Cancel_KeepsTheStoredSignInAndCookies()

    Declaration
    public void Cancel_KeepsTheStoredSignInAndCookies()

    Cancel_StopsPolling_AndDestroysTheTexture()

    Declaration
    public void Cancel_StopsPolling_AndDestroysTheTexture()

    Cancel_ThenStartAgainWhileTheOldCodeRequestIsUnfinished_IgnoresTheOldAnswer()

    Declaration
    public void Cancel_ThenStartAgainWhileTheOldCodeRequestIsUnfinished_IgnoresTheOldAnswer()

    Cancel_WhileAMintIsInFlight_IgnoresTheAnswerThatArrivesLater()

    Declaration
    public void Cancel_WhileAMintIsInFlight_IgnoresTheAnswerThatArrivesLater()

    Cancel_WhileAPollIsInFlight_IgnoresTheAnswerThatArrivesLater()

    Declaration
    public void Cancel_WhileAPollIsInFlight_IgnoresTheAnswerThatArrivesLater()

    Mint_RefreshTokenRejected_ClearsTheToken_AndAsksForANewCode()

    Declaration
    public void Mint_RefreshTokenRejected_ClearsTheToken_AndAsksForANewCode()

    Mint_ThatThrows_FailsKeepingTheSignInAndSaysItMayPass()

    Declaration
    public void Mint_ThatThrows_FailsKeepingTheSignInAndSaysItMayPass()

    Mint_TransientFailure_FailsKeepingTheSignInAndSaysItMayPass()

    Declaration
    public void Mint_TransientFailure_FailsKeepingTheSignInAndSaysItMayPass()

    Mint_WhenTheMinterThrowsSynchronously_FailsKeepingTheSignIn()

    Declaration
    public void Mint_WhenTheMinterThrowsSynchronously_FailsKeepingTheSignIn()

    Minted_StoresCookiesForTheAppId_LogsAndRequestsTheTest()

    Declaration
    public void Minted_StoresCookiesForTheAppId_LogsAndRequestsTheTest()

    Minted_WithoutAnAppId_FailsAndKeepsTheSignIn()

    Declaration
    public void Minted_WithoutAnAppId_FailsAndKeepsTheSignIn()

    Poll_ApprovedWithoutAToken_Fails()

    Declaration
    public void Poll_ApprovedWithoutAToken_Fails()

    Poll_Approved_StoresTheToken_ThenMints()

    Declaration
    public void Poll_Approved_StoresTheToken_ThenMints()

    Poll_NewChallengeThatCannotBeDrawn_FailsAndDestroysTheTexture()

    Declaration
    public void Poll_NewChallengeThatCannotBeDrawn_FailsAndDestroysTheTexture()

    Poll_NewChallenge_ReplacesTheTextureAndKeepsPolling()

    Declaration
    public void Poll_NewChallenge_ReplacesTheTextureAndKeepsPolling()

    Poll_NonTransientFailure_Fails_WithTheReason()

    Declaration
    public void Poll_NonTransientFailure_Fails_WithTheReason()

    Poll_Rotations_DoNotSpendTheRestartBudget()

    Declaration
    public void Poll_Rotations_DoNotSpendTheRestartBudget()

    Poll_Scanned_MovesToAwaitingApproval()

    Declaration
    public void Poll_Scanned_MovesToAwaitingApproval()

    Poll_SessionLostAfterTheTimeBudget_ExpiresWithoutRestarting()

    Declaration
    public void Poll_SessionLostAfterTheTimeBudget_ExpiresWithoutRestarting()

    Poll_SessionLost_RestartsUntilTheBudgetIsSpent_ThenCodeExpired()

    Declaration
    public void Poll_SessionLost_RestartsUntilTheBudgetIsSpent_ThenCodeExpired()

    Poll_ThatThrowsEveryTime_CountsAsTransientFailuresThenFails()

    Declaration
    public void Poll_ThatThrowsEveryTime_CountsAsTransientFailuresThenFails()

    Poll_TransientFailures_BackOff_ThenFail()

    Declaration
    public void Poll_TransientFailures_BackOff_ThenFail()

    Poll_WhenTheClientThrowsSynchronously_Fails()

    Declaration
    public void Poll_WhenTheClientThrowsSynchronously_Fails()

    Renew_AfterTheRenewedCookiesHadTheirDay_MintsAgain()

    Declaration
    public void Renew_AfterTheRenewedCookiesHadTheirDay_MintsAgain()

    Renew_RunsOncePerCookies_ThenShowsThePartnerAccessNotice()

    Declaration
    public void Renew_RunsOncePerCookies_ThenShowsThePartnerAccessNotice()

    Renew_WhileASignInRuns_IsIgnored()

    Declaration
    public void Renew_WhileASignInRuns_IsIgnored()

    Renew_WithoutToken_DoesNothing()

    Declaration
    public void Renew_WithoutToken_DoesNothing()

    SetUp()

    Declaration
    public void SetUp()

    ShowNewCode_AfterTheCodeExpired_AsksSteamAgain()

    Declaration
    public void ShowNewCode_AfterTheCodeExpired_AsksSteamAgain()

    ShowNewCode_WithAStoredSignIn_MintsAgainInsteadOfAskingForAScan()

    Declaration
    public void ShowNewCode_WithAStoredSignIn_MintsAgainInsteadOfAskingForAScan()

    SignOut_ClearsEverything_AndReturnsToIdle()

    Declaration
    public void SignOut_ClearsEverything_AndReturnsToIdle()

    SignOut_DestroysTheTexture()

    Declaration
    public void SignOut_DestroysTheTexture()

    Start_RequestsACode_ThenAwaitsScan()

    Declaration
    public void Start_RequestsACode_ThenAwaitsScan()

    Start_WhenSteamCannotBeReached_FailsAndSaysItMayPass()

    Declaration
    public void Start_WhenSteamCannotBeReached_FailsAndSaysItMayPass()

    Start_WhenTheClientThrowsSynchronously_FailsAtOnceWithTheMessage()

    Declaration
    public void Start_WhenTheClientThrowsSynchronously_FailsAtOnceWithTheMessage()

    Start_WithACodeThatCannotBeDrawn_FailsWithoutATexture()

    Declaration
    public void Start_WithACodeThatCannotBeDrawn_FailsWithoutATexture()

    Start_WithAStoredToken_MintsWithoutAQr()

    Declaration
    public void Start_WithAStoredToken_MintsWithoutAQr()

    StatusMessage_NeverContainsTheToken()

    Declaration
    public void StatusMessage_NeverContainsTheToken()

    TearDown()

    Declaration
    public void TearDown()

    Tick_BeforeThePollInterval_DoesNotPoll()

    Declaration
    public void Tick_BeforeThePollInterval_DoesNotPoll()

    Tick_OverduePoll_PollsAtOnce()

    Declaration
    public void Tick_OverduePoll_PollsAtOnce()

    Tick_WhileAPollIsPending_NeverStartsASecondPoll()

    Declaration
    public void Tick_WhileAPollIsPending_NeverStartsASecondPoll()

    Tick_WithNothingNewToShow_ReportsNoChange()

    Declaration
    public void Tick_WithNothingNewToShow_ReportsNoChange()
    In this article
    © 2026 Serenity. All Rights Reserved