logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class SerenityValidationReportTests

    Tests for Serenity.Global.Infrastructure.Editor.Validation.SerenityValidationReport.ToJson — the machine-readable validation result an agent reads to confirm a project is wired correctly. The report's JSON DTOs are private, so these tests parse the JSON into local mirror types and assert on content.

    Inheritance
    object
    SerenityValidationReportTests
    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 SerenityValidationReportTests

    Constructors

    SerenityValidationReportTests()

    Declaration
    public SerenityValidationReportTests()

    Methods

    HasErrors_TrueOnlyWhenAnErrorIsPresent()

    Declaration
    public void HasErrors_TrueOnlyWhenAnErrorIsPresent()

    ToJson_EmptyReport_HasNoErrorsAndZeroCounts()

    Declaration
    public void ToJson_EmptyReport_HasNoErrorsAndZeroCounts()

    ToJson_SerializesSeverityAsStringName()

    Declaration
    public void ToJson_SerializesSeverityAsStringName()

    ToJson_WithMixedSeverities_ReportsCountsFlagsAndValidators()

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