Class ServiceExtensionCreatorCollisionTests
EditMode tests for the rule that a generated extension never breaks the build of the project it lands in: a second run with the same name refuses instead of writing uniquified copies, a second extension into the same target gets its own folder so no folder ever holds two assembly definitions, an assembly name already declared anywhere in the project is refused, and no generated assembly definition ever pulls in a script the generator did not write.
Inherited Members
Namespace: Serenity.ServiceExtensionCreator.Tests.Editor
Assembly: Serenity.ServiceExtensionCreator.Tests.Editor.dll
Syntax
public class ServiceExtensionCreatorCollisionTests : MetaFileRaceGuardedFixture
Constructors
ServiceExtensionCreatorCollisionTests()
Declaration
public ServiceExtensionCreatorCollisionTests()
Methods
Create_IntoATargetWhoseInstallationFolderHoldsAnUnrelatedScript_NeverCapturesThatScript()
Declaration
public void Create_IntoATargetWhoseInstallationFolderHoldsAnUnrelatedScript_NeverCapturesThatScript()
Create_SameNameAndExtensionPointTwice_RefusesTheSecondRunNamingTheExistingFileAndWritesNothing()
Declaration
public void Create_SameNameAndExtensionPointTwice_RefusesTheSecondRunNamingTheExistingFileAndWritesNothing()
Create_TwoDifferentNamesIntoTheSameTarget_GivesEachExtensionItsOwnFolderAndOneAsmdefPerFolder()
Declaration
public void Create_TwoDifferentNamesIntoTheSameTarget_GivesEachExtensionItsOwnFolderAndOneAsmdefPerFolder()
Create_WhenAFolderThatWouldGetAnAsmdefAlreadyHoldsAForeignScript_RefusesListingThatScript()
Declaration
public void Create_WhenAFolderThatWouldGetAnAsmdefAlreadyHoldsAForeignScript_RefusesListingThatScript()
Create_WhenAnotherAsmdefAlreadyDeclaresTheAssemblyName_RefusesNamingThatAssembly()
Declaration
public void Create_WhenAnotherAsmdefAlreadyDeclaresTheAssemblyName_RefusesNamingThatAssembly()
DescribeRefusal_WhenACompiledRegistryPackageAlreadyDeclaresTheAssemblyName_RefusesNamingThatAssembly()
Declaration
public void DescribeRefusal_WhenACompiledRegistryPackageAlreadyDeclaresTheAssemblyName_RefusesNamingThatAssembly()
SetUp()
Declaration
public void SetUp()
TearDown()
Declaration
public void TearDown()