Class SerenityWebGLResourcesExporterCharacterizationTests
Characterization tests for the pieces of Serenity.Global.Infrastructure.Editor.Utils.WebGL.SerenityWebGLResourcesExporter and
Serenity.Global.Infrastructure.Editor.Utils.WebGL.WebGLDependencyCopier that do not need a live Addressables setup: report-record
accumulation (AppendDependencyRecord and its Skipped/Failed callers, on the
copier), summary formatting on the exporter's nested ExportReport, and the no-dependency
path of ClassifyDirectDependencies (also on the copier).
Inherited Members
Namespace: Serenity.Global.Tests.Editor.WebGL
Assembly: Tests.Editor.dll
Syntax
public class SerenityWebGLResourcesExporterCharacterizationTests
Remarks
Export itself hard-requires live Addressables settings and is out of reach here. The per-branch
tagging inside ClassifyDirectDependencies ("non-copyable", "editor-only", "runtime-safe
candidate") is also out of reach: it needs a real dependency list from AssetDatabase, and every
asset that could supply one is either project content this slice must not depend on or a fixture this
slice must not write to disk. The decisions themselves are already pinned directly in
WebGLExportClassifierTests and WebGLExportClassifierPredicateTests — a split
only has to keep calling them the same way, which is what the report-record tests below pin.
Constructors
SerenityWebGLResourcesExporterCharacterizationTests()
Declaration
public SerenityWebGLResourcesExporterCharacterizationTests()
Methods
AppendDependencyFailed_RecordsStatusFailedWithTheGivenCategory()
Declaration
public void AppendDependencyFailed_RecordsStatusFailedWithTheGivenCategory()
AppendDependencyRecord_PopulatesTheEntryFromItsArguments()
Declaration
public void AppendDependencyRecord_PopulatesTheEntryFromItsArguments()
AppendDependencySkipped_RecordsStatusSkippedWithEmptyExportedPathAndCategory()
Declaration
public void AppendDependencySkipped_RecordsStatusSkippedWithEmptyExportedPathAndCategory()
ClassifyDirectDependencies_ASourcePathWithNoDependencies_ReturnsAnEmptyArray()
Declaration
public void ClassifyDirectDependencies_ASourcePathWithNoDependencies_ReturnsAnEmptyArray()
IncrementSkippedReason_ANewReason_StartsABucketAtOne()
Declaration
public void IncrementSkippedReason_ANewReason_StartsABucketAtOne()
IncrementSkippedReason_NullOrEmptyReason_IsIgnored(string)
Declaration
public void IncrementSkippedReason_NullOrEmptyReason_IsIgnored(string reason)
Parameters
| Type | Name | Description |
|---|---|---|
| string | reason |
IncrementSkippedReason_TheSameReasonTwice_Accumulates()
Declaration
public void IncrementSkippedReason_TheSameReasonTwice_Accumulates()
ToHumanReadable_ADistinctReport_ListsEveryCounterOnItsOwnLine()
Declaration
public void ToHumanReadable_ADistinctReport_ListsEveryCounterOnItsOwnLine()
ToHumanReadable_DependenciesByCategory_ListsEachCategoryInInsertionOrder()
Declaration
public void ToHumanReadable_DependenciesByCategory_ListsEachCategoryInInsertionOrder()
ToHumanReadable_DependenciesSkippedReasons_ListsEachReasonWithItsCount()
Declaration
public void ToHumanReadable_DependenciesSkippedReasons_ListsEachReasonWithItsCount()
ToShortSummary_ADistinctReport_FormatsEveryCounterInFieldOrder()
Declaration
public void ToShortSummary_ADistinctReport_FormatsEveryCounterInFieldOrder()
ToShortSummary_WithACleanPostExportValidation_AppendsItsOwnShortSummary()
Declaration
public void ToShortSummary_WithACleanPostExportValidation_AppendsItsOwnShortSummary()