logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UiOptionTypedValueBehaviorTests

    Cross-cutting edge cases for the typed UiOptionValue subclasses not covered by their per-type test files: invalid value-string with an otherwise valid UI element, culture handling of numeric parsing/formatting, negatives, and base-string-value population.

    Inheritance
    object
    UiOptionTypedValueBehaviorTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Ui.Tests.Domain
    Assembly: Tests.dll
    Syntax
    public class UiOptionTypedValueBehaviorTests

    Constructors

    UiOptionTypedValueBehaviorTests()

    Declaration
    public UiOptionTypedValueBehaviorTests()

    Methods

    Bool_BoolCtor_PopulatesBaseStringValue()

    Declaration
    public void Bool_BoolCtor_PopulatesBaseStringValue()

    Bool_StringCtor_ParsesAllAcceptedTokens(string, bool)

    Declaration
    public void Bool_StringCtor_ParsesAllAcceptedTokens(string token, bool expected)
    Parameters
    Type Name Description
    string token
    bool expected

    Float_FloatCtor_PopulatesBaseStringWithInvariantCulture()

    Declaration
    public void Float_FloatCtor_PopulatesBaseStringWithInvariantCulture()

    Float_GetStringValue_UsesInvariantCulture()

    Declaration
    public void Float_GetStringValue_UsesInvariantCulture()

    Float_StringCtor_AcceptsCommaDecimalViaNormalization()

    Declaration
    public void Float_StringCtor_AcceptsCommaDecimalViaNormalization()

    Integer_IntCtor_PopulatesBaseStringValue()

    Declaration
    public void Integer_IntCtor_PopulatesBaseStringValue()

    Integer_StringCtor_ParsesNegative()

    Declaration
    public void Integer_StringCtor_ParsesNegative()

    MenuAction_SetValue_UpdatesValue()

    Declaration
    public void MenuAction_SetValue_UpdatesValue()

    MenuTransition_StoresBaseUiElement()

    Declaration
    public void MenuTransition_StoresBaseUiElement()

    Selectable_MatchesByValue_WhenKeyDiffers()

    Declaration
    public void Selectable_MatchesByValue_WhenKeyDiffers()

    String_NonZeroCharacterLimit_IsStored()

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