logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class WebGLLocalizationReflectionReaderTests

    Characterization tests for Serenity.Global.Infrastructure.Editor.Utils.WebGL.WebGLLocalizationReflectionReader, which reads Unity Localization's tables by property name so the exporter never has to bind that package as a type.

    Inheritance
    object
    WebGLLocalizationReflectionReaderTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Global.Tests.Editor.WebGL
    Assembly: Tests.Editor.dll
    Syntax
    public class WebGLLocalizationReflectionReaderTests
    Remarks

    Stand-ins are used deliberately rather than real StringTable instances: the reader's contract is that it reads whatever carries the right property shape, and a test that needed the package installed would be testing the package instead of the reader.

    Constructors

    WebGLLocalizationReflectionReaderTests()

    Declaration
    public WebGLLocalizationReflectionReaderTests()

    Methods

    ExtractLocaleCode_ALocaleWithNoCode_YieldsNothing()

    Declaration
    public void ExtractLocaleCode_ALocaleWithNoCode_YieldsNothing()

    ExtractLocaleCode_ATableCarryingALocale_YieldsItsCode()

    Declaration
    public void ExtractLocaleCode_ATableCarryingALocale_YieldsItsCode()

    ExtractLocaleCode_ATableWithNoLocale_YieldsNothing()

    Declaration
    public void ExtractLocaleCode_ATableWithNoLocale_YieldsNothing()

    ReadEnumerableProperty_APresentSequence_IsRead()

    Declaration
    public void ReadEnumerableProperty_APresentSequence_IsRead()

    ReadEnumerableProperty_APropertyThatIsNotASequence_ReadsAsAbsent()

    Declaration
    public void ReadEnumerableProperty_APropertyThatIsNotASequence_ReadsAsAbsent()

    ReadEnumerableProperty_AnAbsentPropertyOrNullTarget_ReadsAsAbsent()

    Declaration
    public void ReadEnumerableProperty_AnAbsentPropertyOrNullTarget_ReadsAsAbsent()

    ReadStringProperty_ANullTarget_ReadsAsAbsent()

    Declaration
    public void ReadStringProperty_ANullTarget_ReadsAsAbsent()

    ReadStringProperty_APresentStringProperty_IsRead()

    Declaration
    public void ReadStringProperty_APresentStringProperty_IsRead()

    ReadStringProperty_APropertyOfTheWrongType_ReadsAsAbsent()

    Declaration
    public void ReadStringProperty_APropertyOfTheWrongType_ReadsAsAbsent()

    ReadStringProperty_AThrowingGetter_ReadsAsAbsent()

    Declaration
    public void ReadStringProperty_AThrowingGetter_ReadsAsAbsent()

    ReadStringProperty_AnAbsentOrUnnamedProperty_ReadsAsAbsent(string)

    Declaration
    public void ReadStringProperty_AnAbsentOrUnnamedProperty_ReadsAsAbsent(string name)
    Parameters
    Type Name Description
    string name
    In this article
    © 2026 Serenity. All Rights Reserved