logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class AchievementSyncSessionLifecycleTests

    Unity calls a window's OnDisable on every script recompile and Play Mode entry, not only when the window closes — so a live sign-in must survive that, be forgotten when the window really closes, and the connection identity (app id, storefront, transport) must come back with it.

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

    Constructors

    AchievementSyncSessionLifecycleTests()

    Declaration
    public AchievementSyncSessionLifecycleTests()

    Methods

    EndSession_ErasesThePersistedConnectionIdentity()

    Declaration
    public void EndSession_ErasesThePersistedConnectionIdentity()

    EndSession_ForgetOnClose_ErasesTheSignInToken()

    Declaration
    public void EndSession_ForgetOnClose_ErasesTheSignInToken()

    EndSession_ForgettingCookies_ClearsEveryAppId()

    Declaration
    public void EndSession_ForgettingCookies_ClearsEveryAppId()

    EndSession_KeepOnClose_KeepsTheSignInToken()

    Declaration
    public void EndSession_KeepOnClose_KeepsTheSignInToken()

    EndSession_NotForgettingCookies_KeepsThem()

    Declaration
    public void EndSession_NotForgettingCookies_KeepsThem()

    EndSession_WhenClearingTheCookiesThrows_StillErasesTheTypedScratch()

    Declaration
    public void EndSession_WhenClearingTheCookiesThrows_StillErasesTheTypedScratch()

    PersistAndRestore_KeepsSignInMethod()

    Declaration
    public void PersistAndRestore_KeepsSignInMethod()

    PersistForDomainReload_KeepsTheStoredCookies()

    Declaration
    public void PersistForDomainReload_KeepsTheStoredCookies()

    PersistThenRestore_CarriesTheConnectionIdentityOverADomainReload()

    Declaration
    public void PersistThenRestore_CarriesTheConnectionIdentityOverADomainReload()

    Restore_WhenNoSignInConnectorWasSelected_DoesNotInventOne()

    Declaration
    public void Restore_WhenNoSignInConnectorWasSelected_DoesNotInventOne()

    Restore_WithNothingPersisted_LeavesAFreshSessionUntouched()

    Declaration
    public void Restore_WithNothingPersisted_LeavesAFreshSessionUntouched()

    Restore_WithPersistedIdentityButNoStoredForgetValue_YieldsKeepOnClose()

    Declaration
    public void Restore_WithPersistedIdentityButNoStoredForgetValue_YieldsKeepOnClose()

    SetUp()

    Declaration
    public void SetUp()

    Window_DestroyedBeforeItsFirstDraw_ForgettingCookies_LeavesNothingBehind()

    Declaration
    public void Window_DestroyedBeforeItsFirstDraw_ForgettingCookies_LeavesNothingBehind()

    Window_DestroyedBeforeItsFirstDraw_KeepingCookies_KeepsThemButDropsTheIdentity()

    Declaration
    public void Window_DestroyedBeforeItsFirstDraw_KeepingCookies_KeepsThemButDropsTheIdentity()

    Window_Disabled_DoesNotForgetTheCookiesButDestroyedDoes()

    Declaration
    public void Window_Disabled_DoesNotForgetTheCookiesButDestroyedDoes()

    Window_Disabled_KeepsTheCookiesAndTheTypedAppIdForTheNextEnable()

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