logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class SerenityWizardIdFieldTests

    Tests for Serenity.Global.Infrastructure.Editor.SerenityWizardIdFieldResult and the pure validation pass-through behind Serenity.Global.Infrastructure.Editor.SerenityWizardIdField.Draw(UnityEngine.GUIContent,System.String,System.Func{System.String,System.String}) (Serenity.Global.Infrastructure.Editor.SerenityWizardIdField.Evaluate(System.String,System.Func{System.String,System.String}), reached here via its [InternalsVisibleTo("Tests.Editor")] grant). Draw itself calls UnityEditor.EditorGUILayout and needs an active IMGUI layout pass, so it is not exercised here.

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

    Constructors

    SerenityWizardIdFieldTests()

    Declaration
    public SerenityWizardIdFieldTests()

    Methods

    Evaluate_PassesTheValueToValidate()

    Declaration
    public void Evaluate_PassesTheValueToValidate()

    Evaluate_RoundTripsTheValueRegardlessOfValidity()

    Declaration
    public void Evaluate_RoundTripsTheValueRegardlessOfValidity()

    Evaluate_ValidateReturnsNull_ResultErrorIsNull()

    Declaration
    public void Evaluate_ValidateReturnsNull_ResultErrorIsNull()

    Evaluate_ValidateReturnsText_ResultErrorIsThatText()

    Declaration
    public void Evaluate_ValidateReturnsText_ResultErrorIsThatText()

    Result_NonNullError_IsNotValid()

    Declaration
    public void Result_NonNullError_IsNotValid()

    Result_NullError_IsValid()

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