Class SerenityDiscoveryRegistryTests
Tests for BuildJson() — the machine-readable "what exists" dump an agent reads to author valid recipes. The registry DTOs are private, so these tests parse the JSON into local mirror types and assert on content discovered live from the project.
Inherited Members
Namespace: Serenity.ProjectRecipe.Tests.Editor
Assembly: Serenity.ProjectRecipe.Tests.Editor.dll
Syntax
public class SerenityDiscoveryRegistryTests
Constructors
SerenityDiscoveryRegistryTests()
Declaration
public SerenityDiscoveryRegistryTests()
Methods
BuildJson_CountsMatchArrayLengths()
Declaration
public void BuildJson_CountsMatchArrayLengths()
BuildJson_EmitsRecipeEnumVocabularies()
Declaration
public void BuildJson_EmitsRecipeEnumVocabularies()
BuildJson_IdContracts_RepresentAllSixHistoricalEntries()
The six id contracts this registry used to curate by hand are now a projection of
FoundationReferenceContracts (see SerenityDiscoveryRegistry.CuratedIdContracts);
every one of them must still be represented after that change, even though the projection may
now split one historical entry across several rows (e.g. ACTION/TRANSITION options).
Declaration
public void BuildJson_IdContracts_RepresentAllSixHistoricalEntries()
BuildJson_IncludesCuratedIdContracts()
Declaration
public void BuildJson_IncludesCuratedIdContracts()
BuildJson_ListsBuiltInActionsWithTheirSignal()
Declaration
public void BuildJson_ListsBuiltInActionsWithTheirSignal()
BuildJson_ListsConcreteSignalsWithAssemblyQualifiedName()
Declaration
public void BuildJson_ListsConcreteSignalsWithAssemblyQualifiedName()
BuildJson_MapsAuthorableTypesToTheirSection()
Declaration
public void BuildJson_MapsAuthorableTypesToTheirSection()