logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class AchievementConditionNodeGuiTests

    EditMode tests for the two decisions the condition tree drawer makes per node before it draws anything: what the node's header says, and whether the node has a complaint of its own worth showing. The drawing is not under test — IMGUI is not a unit.

    Inheritance
    object
    AchievementConditionNodeGuiTests
    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.Editor
    Assembly: Tests.Editor.dll
    Syntax
    public class AchievementConditionNodeGuiTests

    Constructors

    AchievementConditionNodeGuiTests()

    Declaration
    public AchievementConditionNodeGuiTests()

    Methods

    HeaderLabelOf_ReadsAsTheNodeTypeFollowedByWhatItDemands()

    Declaration
    public void HeaderLabelOf_ReadsAsTheNodeTypeFollowedByWhatItDemands()

    HeaderLabelOf_SaysAnEmptySlotIsEmpty()

    Declaration
    public void HeaderLabelOf_SaysAnEmptySlotIsEmpty()

    HeaderLabelOf_SummarisesTheWholeSubtreeOfACompositeNode()

    Declaration
    public void HeaderLabelOf_SummarisesTheWholeSubtreeOfACompositeNode()

    OwnComplaintOf_HasNothingToSayAboutAValidTree()

    Declaration
    public void OwnComplaintOf_HasNothingToSayAboutAValidTree()

    OwnComplaintOf_HasNothingToSayAboutAnEmptySlot()

    Declaration
    public void OwnComplaintOf_HasNothingToSayAboutAnEmptySlot()

    OwnComplaintOf_LeavesAChildsProblemToTheChild()

    The rule that keeps the tree readable: Validate() reports a child's problem through its parent, so a parent that repeats one stays quiet and lets the child say it where the author can fix it.

    Declaration
    public void OwnComplaintOf_LeavesAChildsProblemToTheChild()

    OwnComplaintOf_ReportsACompositeThatCombinesTooLittleToMeanAnything()

    Declaration
    public void OwnComplaintOf_ReportsACompositeThatCombinesTooLittleToMeanAnything()

    OwnComplaintOf_ReportsAWrapperWithNothingToWrap()

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