logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class AssetPathFieldReflectionTests

    Tests for Serenity.Global.Infrastructure.Editor.Validation.AssetPathFieldReflection: a top-level match, a depth-1 nested match, a list-element match (Array.data[N] path), a depth-2 field that must never be recursed into, and a [NonSerialized] field that must be skipped even though it carries the attribute.

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

    Constructors

    AssetPathFieldReflectionTests()

    Declaration
    public AssetPathFieldReflectionTests()

    Methods

    Collect_FieldTwoLevelsDeep_IsNeverRecursedInto()

    Declaration
    public void Collect_FieldTwoLevelsDeep_IsNeverRecursedInto()

    Collect_ListElementField_ReturnsAnArrayDataFieldPath()

    Declaration
    public void Collect_ListElementField_ReturnsAnArrayDataFieldPath()

    Collect_NestedSerializableField_ReturnsADottedFieldPath()

    Declaration
    public void Collect_NestedSerializableField_ReturnsADottedFieldPath()

    Collect_NonSerializedField_IsSkippedEvenWhenAttributed()

    Declaration
    public void Collect_NonSerializedField_IsSkippedEvenWhenAttributed()

    Collect_TopLevelField_ReturnsItsValueAndAssetType()

    Declaration
    public void Collect_TopLevelField_ReturnsItsValueAndAssetType()

    HasAnyField_TypeWithATopLevelField_ReturnsTrue()

    Declaration
    public void HasAnyField_TypeWithATopLevelField_ReturnsTrue()

    HasAnyField_TypeWithNoAssetPathFields_ReturnsFalse()

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