logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class AchievementProjectRulesTests

    One test per rule in AchievementProjectRules: what each finding says, how serious it is, and — just as importantly — the configurations that must produce no finding at all, because a project-level warning is printed once for the whole project and a false one has nowhere to hide.

    Inheritance
    object
    AchievementProjectRulesTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Achievements.Tests.Authoring
    Assembly: Tests.dll
    Syntax
    public class AchievementProjectRulesTests

    Constructors

    AchievementProjectRulesTests()

    Declaration
    public AchievementProjectRulesTests()

    Methods

    AFullyWiredProject_ProducesNoFindings()

    Declaration
    public void AFullyWiredProject_ProducesNoFindings()

    ANullProject_ProducesNoFindings()

    Declaration
    public void ANullProject_ProducesNoFindings()

    AProjectWithNoAchievements_ProducesNoFindings()

    Declaration
    public void AProjectWithNoAchievements_ProducesNoFindings()

    ARepeatedPlatform_IsAPlatformWarningOnTheLaterSlot()

    Declaration
    public void ARepeatedPlatform_IsAPlatformWarningOnTheLaterSlot()

    AchievementsWithNoSettingsAsset_IsASettingsError()

    Declaration
    public void AchievementsWithNoSettingsAsset_IsASettingsError()

    AnEmptyPlatformSlot_IsAPlatformWarningThatNamesTheSlot()

    Declaration
    public void AnEmptyPlatformSlot_IsAPlatformWarningThatNamesTheSlot()

    AnEnabledPlatformAtLeastOneAchievementNames_IsNotReported()

    Declaration
    public void AnEnabledPlatformAtLeastOneAchievementNames_IsNotReported()

    AnEnabledPlatformIsNotReportedWhenTheProjectAuthorsNothingYet()

    Declaration
    public void AnEnabledPlatformIsNotReportedWhenTheProjectAuthorsNothingYet()

    AnEnabledPlatformNoAchievementNames_IsAPlatformWarning()

    Declaration
    public void AnEnabledPlatformNoAchievementNames_IsAPlatformWarning()

    AnUnnamedInstallMethod_StillProducesAReadableFinding()

    Declaration
    public void AnUnnamedInstallMethod_StillProducesAReadableFinding()

    DistinctAssignedPlatforms_ProduceNoFindings()

    Declaration
    public void DistinctAssignedPlatforms_ProduceNoFindings()

    MoreThanOneSettingsAsset_IsASettingsWarning()

    Declaration
    public void MoreThanOneSettingsAsset_IsASettingsWarning()

    MoreThanOneSettingsAsset_IsReportedEvenWithNoAchievements()

    Two settings assets is a finding even with nothing authored yet: the duplicate itself is what is wrong, and it is wrong before the first achievement exists.

    Declaration
    public void MoreThanOneSettingsAsset_IsReportedEvenWithNoAchievements()

    NoPlatformSlotsAtAll_ProducesNoFindings()

    Declaration
    public void NoPlatformSlotsAtAll_ProducesNoFindings()

    NoProfileRunningTheInstallTask_IsAnInstallationErrorThatNamesTheMethod()

    Declaration
    public void NoProfileRunningTheInstallTask_IsAnInstallationErrorThatNamesTheMethod()

    OnlyTheTwoFatalFindings_AreErrors()

    The severity policy in one test: only the two findings that mean "no unlock is ever recorded" are Errors. A CI gate fails on errors, so a project that merely ships to a storefront it never authored for must not be one.

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