logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityAchievementSettingsTests

    PlayMode tests for UnityAchievementSettings: that a freshly created asset ships exactly the shared AchievementSettingsDefaults, and the explicit IAchievementSettings / IFoundationSettings projections the runtime reads it through.

    Inheritance
    object
    UnityAchievementSettingsTests
    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.Infrastructure
    Assembly: Tests.dll
    Syntax
    public class UnityAchievementSettingsTests
    Remarks

    The defaults are asserted against the constants rather than against literals on purpose: a literal here is a second copy of the default, and a second copy is exactly how the asset and DefaultAchievementSettings once disagreed about capturing a screenshot.

    Constructors

    UnityAchievementSettingsTests()

    Declaration
    public UnityAchievementSettingsTests()

    Methods

    AchievementSettings_ProjectsEveryAuthoredFlag()

    Declaration
    public void AchievementSettings_ProjectsEveryAuthoredFlag()

    FoundationSettings_ProjectsIdAndGuidBothWays()

    Declaration
    public void FoundationSettings_ProjectsIdAndGuidBothWays()

    NewAsset_AgreesWithTheUnconfiguredReadModelFieldForField()

    Declaration
    public void NewAsset_AgreesWithTheUnconfiguredReadModelFieldForField()

    NewAsset_CarriesAGeneratedGuid()

    Declaration
    public void NewAsset_CarriesAGeneratedGuid()

    NewAsset_ShipsTheSharedDefaults()

    Declaration
    public void NewAsset_ShipsTheSharedDefaults()

    SetUp()

    Declaration
    public void SetUp()

    TearDown()

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