logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class HudRepresentationRulesTests

    Inheritance
    object
    HudRepresentationRulesTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.GameUi.Tests.Application
    Assembly: Tests.dll
    Syntax
    public class HudRepresentationRulesTests

    Constructors

    HudRepresentationRulesTests()

    Declaration
    public HudRepresentationRulesTests()

    Methods

    Boolean_DefaultsToIconSet()

    Declaration
    public void Boolean_DefaultsToIconSet()

    Decimal_AllowsBothPartRepresentations()

    Declaration
    public void Decimal_AllowsBothPartRepresentations()

    Decimal_DoesNotAllowSegmented()

    Declaration
    public void Decimal_DoesNotAllowSegmented()

    Decimal_DoesNotAllowStack()

    Declaration
    public void Decimal_DoesNotAllowStack()

    Decoration_ReadsNoValue(HudRepresentationKind)

    Declaration
    public void Decoration_ReadsNoValue(HudRepresentationKind representation)
    Parameters
    Type Name Description
    HudRepresentationKind representation

    EveryDefault_IsItselfAllowed()

    Declaration
    public void EveryDefault_IsItselfAllowed()

    EveryValueKind_HasAtLeastOneRepresentation()

    Declaration
    public void EveryValueKind_HasAtLeastOneRepresentation()

    Integer_AllowsEveryRepeatingRepresentation()

    Declaration
    public void Integer_AllowsEveryRepeatingRepresentation()

    Integer_AllowsIntegerPartButNotFractionPart()

    Declaration
    public void Integer_AllowsIntegerPartButNotFractionPart()

    Numbers_DefaultToNumberRepresentation(HudValueKind, HudRepresentationKind)

    Declaration
    public void Numbers_DefaultToNumberRepresentation(HudValueKind valueKind, HudRepresentationKind expected)
    Parameters
    Type Name Description
    HudValueKind valueKind
    HudRepresentationKind expected

    RepeatingRepresentations_RequireCapacity(HudRepresentationKind)

    Declaration
    public void RepeatingRepresentations_RequireCapacity(HudRepresentationKind representation)
    Parameters
    Type Name Description
    HudRepresentationKind representation

    ScalarRepresentations_DoNotRequireCapacity(HudRepresentationKind)

    Declaration
    public void ScalarRepresentations_DoNotRequireCapacity(HudRepresentationKind representation)
    Parameters
    Type Name Description
    HudRepresentationKind representation

    Sprite_IsNeverOfferedForAValueKind(HudValueKind)

    SPRITE consumes no value, so it must never be offered as a way to render one — a value silently swallowed by its representation is the kind of misconfiguration these lists exist to prevent.

    Declaration
    public void Sprite_IsNeverOfferedForAValueKind(HudValueKind valueKind)
    Parameters
    Type Name Description
    HudValueKind valueKind

    Text_AllowsOnlyText()

    Declaration
    public void Text_AllowsOnlyText()

    Unknown_DegradesToText()

    Declaration
    public void Unknown_DegradesToText()

    Validate_AcceptsIntegerStackWithCapacity()

    Declaration
    public void Validate_AcceptsIntegerStackWithCapacity()

    Validate_RejectsRepresentationTheValueCannotFeed()

    Declaration
    public void Validate_RejectsRepresentationTheValueCannotFeed()

    Validate_RejectsStackWithoutCapacity()

    Declaration
    public void Validate_RejectsStackWithoutCapacity()

    Validate_ReportsBothProblemsAtOnce()

    Declaration
    public void Validate_ReportsBothProblemsAtOnce()

    ValueRepresentations_RequireAValue(HudRepresentationKind)

    Declaration
    public void ValueRepresentations_RequireAValue(HudRepresentationKind representation)
    Parameters
    Type Name Description
    HudRepresentationKind representation
    In this article
    © 2026 Serenity. All Rights Reserved