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
LeaderboardBackendFactoryTests
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
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()
Declaration
public void ResolveTable_ConfiguredName_IsUsedVerbatim()
SetUp()
Declaration
TearDown()
Declaration