Class SerenityPackageExporterTests
Tests for the customer-project guard in SerenityPackageExporter: both public entry points must no-op — never regenerating the shipped-assets snapshot, never exporting a package — when Serenity.Editor.PackageBootstrapper.SerenityPackageExporter.IsDevelopmentProjectCheck reports a customer project.
Inherited Members
Namespace: Serenity.PackageBootstrapper.Tests.Editor
Assembly: Tests.Editor.dll
Syntax
public class SerenityPackageExporterTests
Constructors
SerenityPackageExporterTests()
Declaration
public SerenityPackageExporterTests()
Methods
AbortIfAnyMovedGuidOldPathIsReoccupied_GuidPreservingMoveAlone_DoesNotThrow()
Declaration
public void AbortIfAnyMovedGuidOldPathIsReoccupied_GuidPreservingMoveAlone_DoesNotThrow()
AbortIfAnyMovedGuidOldPathIsReoccupied_OldPathHeldByDifferentGuid_ThrowsNamingThePair()
Declaration
public void AbortIfAnyMovedGuidOldPathIsReoccupied_OldPathHeldByDifferentGuid_ThrowsNamingThePair()
AbortIfAnyTombstoneWouldOverwriteLiveSource_TargetHoldingRealSource_ThrowsAndLeavesFileUntouched()
Declaration
public void AbortIfAnyTombstoneWouldOverwriteLiveSource_TargetHoldingRealSource_ThrowsAndLeavesFileUntouched()
AbortIfAnyTombstoneWouldOverwriteLiveSource_TargetsThatHoldNoFile_DoesNotThrow()
Declaration
public void AbortIfAnyTombstoneWouldOverwriteLiveSource_TargetsThatHoldNoFile_DoesNotThrow()
CollectExportedAssetPaths_ExcludesYamlDotNetExamples()
Declaration
public void CollectExportedAssetPaths_ExcludesYamlDotNetExamples()
CollectExportedAssetPaths_IncludesBothThirdPartyRoots()
Declaration
public void CollectExportedAssetPaths_IncludesBothThirdPartyRoots()
CollectExportedAssetPaths_IncludesEverythingCollectShippedAssetPathsDoes()
Declaration
public void CollectExportedAssetPaths_IncludesEverythingCollectShippedAssetPathsDoes()
CollectShippedAssetPaths_RemainsSerenityOnly()
Declaration
public void CollectShippedAssetPaths_RemainsSerenityOnly()
ExportPackage_OutsideDevelopmentProject_DoesNotExportPackageOrTouchSnapshot()
Declaration
public void ExportPackage_OutsideDevelopmentProject_DoesNotExportPackageOrTouchSnapshot()
IsThirdPartyExportExcluded_MatchesFolderChildrenAndExactSiblingFileButNotASiblingWithTheSamePrefix()
Declaration
public void IsThirdPartyExportExcluded_MatchesFolderChildrenAndExactSiblingFileButNotASiblingWithTheSamePrefix()
RefreshUpgradeArtifacts_OutsideDevelopmentProject_DoesNotTouchSnapshot()
Declaration
public void RefreshUpgradeArtifacts_OutsideDevelopmentProject_DoesNotTouchSnapshot()
SetUp()
Declaration
public void SetUp()
TearDown()
Declaration
public void TearDown()
ThirdPartyExportRoots_NeverMatchesSerenityDbDrivers()
Declaration
public void ThirdPartyExportRoots_NeverMatchesSerenityDbDrivers()