logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class AchievementBackendFactoryTests

    PlayMode tests for AchievementBackendFactory: table resolution, the never-throw PlayerPrefs fallback a project with no configured backend relies on, and custom-backend precedence.

    Inheritance
    object
    AchievementBackendFactoryTests
    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.Installation
    Assembly: Tests.dll
    Syntax
    public class AchievementBackendFactoryTests

    Constructors

    AchievementBackendFactoryTests()

    Declaration
    public AchievementBackendFactoryTests()

    Methods

    Create_CustomBackendReturnsNull_FallsBackToPlayerPrefsWithWarning()

    Declaration
    public void Create_CustomBackendReturnsNull_FallsBackToPlayerPrefsWithWarning()

    Create_CustomBackend_ReturnedStoreWinsWithoutWarning()

    Declaration
    public void Create_CustomBackend_ReturnedStoreWinsWithoutWarning()

    Create_NullBackend_FallsBackToPlayerPrefsWithoutWarning()

    Declaration
    public void Create_NullBackend_FallsBackToPlayerPrefsWithoutWarning()

    Create_NullBackend_ProducesAHealthyStore()

    Declaration
    public Task Create_NullBackend_ProducesAHealthyStore()
    Returns
    Type Description
    Task

    Create_NullBackend_RoundTripsAnUnlockThroughPlayerPrefs()

    Declaration
    public Task Create_NullBackend_RoundTripsAnUnlockThroughPlayerPrefs()
    Returns
    Type Description
    Task

    ResolveTables_BlankNames_UseTheDefaults()

    Declaration
    public void ResolveTables_BlankNames_UseTheDefaults()

    ResolveTables_ConfiguredNames_AreUsedVerbatim()

    Declaration
    public void ResolveTables_ConfiguredNames_AreUsedVerbatim()

    ResolveTables_RejectedName_DoesNotThrow()

    Declaration
    public void ResolveTables_RejectedName_DoesNotThrow()

    ResolveTables_RejectedName_FallsBackToTheDefaultWithAWarning()

    Declaration
    public void ResolveTables_RejectedName_FallsBackToTheDefaultWithAWarning()

    SetUp()

    Declaration
    public void SetUp()

    TearDown()

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