logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class LeaderboardBackendFactoryTests

    PlayMode tests for LeaderboardBackendFactory's shared-backend-asset dispatch: per-subtype construction, environment-variable overrides, never-throw fallbacks to the PlayerPrefs key-value store, custom-backend precedence, table resolution, and shared-HttpClient reuse.

    Inheritance
    object
    LeaderboardBackendFactoryTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.UnityLeaderboard.Tests.Installation
    Assembly: Tests.dll
    Syntax
    public class LeaderboardBackendFactoryTests

    Constructors

    LeaderboardBackendFactoryTests()

    Declaration
    public LeaderboardBackendFactoryTests()

    Methods

    Create_CustomBackendReturnsNull_FallsBackToPlayerPrefsWithWarning()

    Declaration
    public void Create_CustomBackendReturnsNull_FallsBackToPlayerPrefsWithWarning()

    Create_CustomBackendThrows_FallsBackToPlayerPrefsWithWarning()

    Declaration
    public void Create_CustomBackendThrows_FallsBackToPlayerPrefsWithWarning()

    Create_CustomBackend_ReturnedStoreWinsWithoutWarning()

    Declaration
    public void Create_CustomBackend_ReturnedStoreWinsWithoutWarning()

    Create_DriverGatedBackendWithoutDefine_FallsBackToPlayerPrefsWithWarning(Type)

    Declaration
    public void Create_DriverGatedBackendWithoutDefine_FallsBackToPlayerPrefsWithWarning(Type backendType)
    Parameters
    Type Name Description
    Type backendType

    Create_HttpBackendWithBlankBaseUrl_FallsBackToPlayerPrefsWithWarning()

    Declaration
    public void Create_HttpBackendWithBlankBaseUrl_FallsBackToPlayerPrefsWithWarning()

    Create_HttpBackendWithEnvironmentOverride_EnvironmentValuesWin()

    Declaration
    public void Create_HttpBackendWithEnvironmentOverride_EnvironmentValuesWin()

    Create_HttpBackendWithSerializedValues_UsesAssetValuesWhenNoEnvironmentOverrideIsPresent()

    Declaration
    public void Create_HttpBackendWithSerializedValues_UsesAssetValuesWhenNoEnvironmentOverrideIsPresent()

    Create_LocalFileBackendWithBlankDirectoryName_ConstructsWithoutFallingBack()

    Declaration
    public void Create_LocalFileBackendWithBlankDirectoryName_ConstructsWithoutFallingBack()

    Create_LocalFileBackend_ProducesAWorkingStoreThatRoundTripsEntriesOverRealFiles()

    Declaration
    public Task Create_LocalFileBackend_ProducesAWorkingStoreThatRoundTripsEntriesOverRealFiles()
    Returns
    Type Description
    Task

    Create_NullBackend_FallsBackToPlayerPrefsWithoutWarning()

    Declaration
    public void Create_NullBackend_FallsBackToPlayerPrefsWithoutWarning()

    Create_PlayerPrefsBackend_ConstructsWithoutWarning()

    Declaration
    public void Create_PlayerPrefsBackend_ConstructsWithoutWarning()

    Create_TwoHttpStores_ShareTheSameHttpClientInstance()

    Declaration
    public void Create_TwoHttpStores_ShareTheSameHttpClientInstance()

    ResolveTable_BlankName_UsesDefaultTableName()

    Declaration
    public void ResolveTable_BlankName_UsesDefaultTableName()

    ResolveTable_ConfiguredName_IsUsedVerbatim()

    Declaration
    public void ResolveTable_ConfiguredName_IsUsedVerbatim()

    SetUp()

    Declaration
    public void SetUp()

    TearDown()

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