Class ServiceExtensionLayoutTests
EditMode tests for PlanLayout(Input): the name the author typed is kept when the extension-point suffix is off, every name the extension carries derives from one root that is never the type name itself, each extension owns a child folder of the target, and the files a run writes are exactly the files its plan lists.
Inherited Members
Namespace: Serenity.ServiceExtensionCreator.Tests.Editor
Assembly: Serenity.ServiceExtensionCreator.Tests.Editor.dll
Syntax
public class ServiceExtensionLayoutTests : MetaFileRaceGuardedFixture
Constructors
ServiceExtensionLayoutTests()
Declaration
public ServiceExtensionLayoutTests()
Methods
Create_ServiceWithPipelineReplace_WhenAnAssetAlreadySitsAtThePlannedTaskPath_RefusesAtPlanTimeNamingIt()
Declaration
public void Create_ServiceWithPipelineReplace_WhenAnAssetAlreadySitsAtThePlannedTaskPath_RefusesAtPlanTimeNamingIt()
Create_ServiceWithPipelineReplace_WritesExactlyThePlannedFiles()
Declaration
public void Create_ServiceWithPipelineReplace_WritesExactlyThePlannedFiles()
Create_StoreExtension_WritesExactlyThePlannedFiles()
Declaration
public void Create_StoreExtension_WritesExactlyThePlannedFiles()
DescribeRefusal_AfterTheExtensionWasGenerated_NamesWhatIsAlreadyThere()
Declaration
public void DescribeRefusal_AfterTheExtensionWasGenerated_NamesWhatIsAlreadyThere()
PlanLayout_ANameWithNoKindSuffix_GetsARootDistinctFromTheTypeSoItsNamespaceNeverShadowsIt()
Declaration
public void PlanLayout_ANameWithNoKindSuffix_GetsARootDistinctFromTheTypeSoItsNamespaceNeverShadowsIt()
PlanLayout_ExtensionPointWithTheSuffixOffAndANameWithoutTheKindSuffix_BuildsEveryAssemblyFromARootDistinctFromTheType(ExtensionPointKind, string, Style, string, string[])
Declaration
public void PlanLayout_ExtensionPointWithTheSuffixOffAndANameWithoutTheKindSuffix_BuildsEveryAssemblyFromARootDistinctFromTheType(ExtensionPointKind kind, string extensionPointName, ServiceExtensionCreator.Style style, string typedName, string[] expectedAssemblyNames)
Parameters
| Type | Name | Description |
|---|---|---|
| ExtensionPointKind | kind | |
| string | extensionPointName | |
| ServiceExtensionCreator.Style | style | |
| string | typedName | |
| string[] | expectedAssemblyNames |
PlanLayout_StoreWithTheSuffixOff_NamesItsWiringAndBackendAfterTheTypedName()
Declaration
public void PlanLayout_StoreWithTheSuffixOff_NamesItsWiringAndBackendAfterTheTypedName()
PlanLayout_WithTheSuffixOff_KeepsTheNameAsTypedAndBuildsTheFolderAndAssembliesFromItsRoot()
Declaration
public void PlanLayout_WithTheSuffixOff_KeepsTheNameAsTypedAndBuildsTheFolderAndAssembliesFromItsRoot()
PlanLayout_WithTheSuffixOn_KeepsTheNamesEveryEarlierRunGenerated()
Declaration
public void PlanLayout_WithTheSuffixOn_KeepsTheNamesEveryEarlierRunGenerated()
SetUp()
Declaration
public void SetUp()
TearDown()
Declaration
public void TearDown()