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.
Inherited Members
Namespace: Serenity.UnityValidation.Tests.Editor
Assembly: Serenity.UnityValidation.Tests.Editor.dll
Syntax
public class SerenityValidationReportTests
Constructors
SerenityValidationReportTests()
Declaration
public SerenityValidationReportTests()
Methods
AddRange_CarriesTheSubjectEachAuthoringFindingCameFrom()
Declaration
public void AddRange_CarriesTheSubjectEachAuthoringFindingCameFrom()
AddRange_MapsSeverityWithoutRelyingOnEnumOrdering()
Declaration
public void AddRange_MapsSeverityWithoutRelyingOnEnumOrdering()
HasErrors_TrueOnlyWhenAnErrorIsPresent()
Declaration
public void HasErrors_TrueOnlyWhenAnErrorIsPresent()
ToJson_CarriesTheSubjectSoAReaderCanReachTheEntryAtFault()
Declaration
public void ToJson_CarriesTheSubjectSoAReaderCanReachTheEntryAtFault()
ToJson_EmptyReport_HasNoErrorsAndZeroCounts()
Declaration
public void ToJson_EmptyReport_HasNoErrorsAndZeroCounts()
ToJson_IssuesAddedTheOldWayStillReadAsWholeAsset()
Declaration
public void ToJson_IssuesAddedTheOldWayStillReadAsWholeAsset()
ToJson_SerializesSeverityAsStringName()
Declaration
public void ToJson_SerializesSeverityAsStringName()
ToJson_WithMixedSeverities_ReportsCountsFlagsAndValidators()
Declaration
public void ToJson_WithMixedSeverities_ReportsCountsFlagsAndValidators()