logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class AchievementAuthoringRulesConditionMessageTests

    The three shapes a real condition node reports as invalid through its own Validate(), surfaced by AchievementAuthoringRules as a Condition issue: a composite that combines too few children, a Not with nothing to invert, and a Score Threshold naming no metric.

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

    Driven through the real Infrastructure nodes — AndCondition, NotCondition and ScoreThresholdCondition — rather than a stubbed message, because these are the shapes those nodes' own Validate methods actually produce; the Business-side suite proves the pass-through mechanism once, generically, with a fake.

    Constructors

    AchievementAuthoringRulesConditionMessageTests()

    Declaration
    public AchievementAuthoringRulesConditionMessageTests()

    Methods

    ACompositeWithOneChild_IsAConditionError()

    Declaration
    public void ACompositeWithOneChild_IsAConditionError()

    ANotWithNothingToInvert_IsAConditionError()

    Declaration
    public void ANotWithNothingToInvert_IsAConditionError()

    AScoreThresholdWithNoMetric_IsAConditionError()

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