logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityAchievementInstallerTests

    PlayMode tests for UnityAchievementInstaller. Verifies that installing produces a Unity-backed achievement service even with no UnityAchievementSettings asset registered, that re-installing replaces the module instead of doubling it, and that a collaborator that arrives late is still picked up.

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

    Constructors

    UnityAchievementInstallerTests()

    Declaration
    public UnityAchievementInstallerTests()

    Methods

    Dispose_DisposesTheServiceSoALateCallIsANoOp()

    Declaration
    public Task Dispose_DisposesTheServiceSoALateCallIsANoOp()
    Returns
    Type Description
    Task

    Dispose_RemovesTheRunner()

    Declaration
    public void Dispose_RemovesTheRunner()

    Dispose_TakesTheCapturerWithIt()

    Declaration
    public void Dispose_TakesTheCapturerWithIt()

    Dispose_TwiceInARow_IsSafe()

    Declaration
    public void Dispose_TwiceInARow_IsSafe()

    Install_NoSettingsAsset_FallsBackToTheSharedDefaults()

    Declaration
    public void Install_NoSettingsAsset_FallsBackToTheSharedDefaults()

    Install_NoSettingsAsset_StartsWithAnEmptyRegistry()

    Declaration
    public void Install_NoSettingsAsset_StartsWithAnEmptyRegistry()

    Install_NoSettingsAsset_StillCreatesExactlyOneRunner()

    Declaration
    public void Install_NoSettingsAsset_StillCreatesExactlyOneRunner()

    Install_PrefersTheWiredSettings_OverLabelDiscovery()

    Declaration
    public void Install_PrefersTheWiredSettings_OverLabelDiscovery()

    Install_ProgressOnAnUnknownAchievement_IsANoOpRatherThanAFailure()

    Declaration
    public Task Install_ProgressOnAnUnknownAchievement_IsANoOpRatherThanAFailure()
    Returns
    Type Description
    Task

    Install_Twice_DisposesThePreviousPlatformGateway()

    Declaration
    public void Install_Twice_DisposesThePreviousPlatformGateway()

    Install_Twice_LeavesExactlyOneCapturer()

    Declaration
    public void Install_Twice_LeavesExactlyOneCapturer()

    Install_Twice_LeavesExactlyOneRunner()

    Declaration
    public void Install_Twice_LeavesExactlyOneRunner()

    Install_Twice_ProducesAWorkingService()

    Declaration
    public void Install_Twice_ProducesAWorkingService()

    Install_Twice_WarnsAboutTheDuplicateInstall()

    Declaration
    public void Install_Twice_WarnsAboutTheDuplicateInstall()

    Install_UnlockingAnUnknownAchievement_IsANoOpRatherThanAFailure()

    Declaration
    public Task Install_UnlockingAnUnknownAchievement_IsANoOpRatherThanAFailure()
    Returns
    Type Description
    Task

    Install_WithAScreenshotStore_StartsTheRealCapturer()

    Declaration
    public void Install_WithAScreenshotStore_StartsTheRealCapturer()

    Install_WithAScreenshotStore_UsesTheWiredSettingsScreenshotMaxWidth()

    Declaration
    public void Install_WithAScreenshotStore_UsesTheWiredSettingsScreenshotMaxWidth()

    Install_WithFakeDependencies_SetsServiceToConcreteUnityType()

    Declaration
    public void Install_WithFakeDependencies_SetsServiceToConcreteUnityType()

    Install_WithNoScreenshotStore_StartsNoCapturer()

    Declaration
    public void Install_WithNoScreenshotStore_StartsNoCapturer()

    ProgressReader_ResolvesAgainUntilTheGameProgressServiceArrives()

    Declaration
    public void ProgressReader_ResolvesAgainUntilTheGameProgressServiceArrives()

    ScoreReader_ResolvesAgainUntilTheScoreServiceArrives()

    Declaration
    public void ScoreReader_ResolvesAgainUntilTheScoreServiceArrives()

    ShouldCaptureScreenshots_AskedForButNowhereToKeepThem_StaysOff()

    Declaration
    public void ShouldCaptureScreenshots_AskedForButNowhereToKeepThem_StaysOff()

    ShouldCaptureScreenshots_AskedForWithSomewhereToKeepThem_IsOn()

    Declaration
    public void ShouldCaptureScreenshots_AskedForWithSomewhereToKeepThem_IsOn()

    ShouldCaptureScreenshots_ProjectSwitchedThemOff_StaysOffEvenWithSomewhereToKeepThem()

    Declaration
    public void ShouldCaptureScreenshots_ProjectSwitchedThemOff_StaysOffEvenWithSomewhereToKeepThem()

    TearDown()

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