Class AssemblyFormatUtilsTest

java.lang.Object
org.apache.maven.plugins.assembly.utils.AssemblyFormatUtilsTest

public class AssemblyFormatUtilsTest extends Object
  • Constructor Details

    • AssemblyFormatUtilsTest

      public AssemblyFormatUtilsTest()
  • Method Details

    • testFixRelativePathRefs_ShouldRemoveRelativeRefToCurrentDir

      public void testFixRelativePathRefs_ShouldRemoveRelativeRefToCurrentDir() throws Exception
      Throws:
      Exception
    • testFixRelativePathRefs_ShouldRemoveEmbeddedSameDirRef

      public void testFixRelativePathRefs_ShouldRemoveEmbeddedSameDirRef() throws Exception
      Throws:
      Exception
    • testFixRelativePathRefs_ShouldRemoveEmbeddedParentDirRef

      public void testFixRelativePathRefs_ShouldRemoveEmbeddedParentDirRef() throws Exception
      Throws:
      Exception
    • testFixRelativePathRefs_ShouldTruncateRelativeRefToParentDir

      public void testFixRelativePathRefs_ShouldTruncateRelativeRefToParentDir() throws Exception
      Throws:
      Exception
    • testGetDistroName_ShouldUseJustFinalNameWithNoAppendAssemblyIdOrClassifier

      public void testGetDistroName_ShouldUseJustFinalNameWithNoAppendAssemblyIdOrClassifier()
    • testGetDistroName_ShouldUseFinalNamePlusAssemblyIdIsNull

      public void testGetDistroName_ShouldUseFinalNamePlusAssemblyIdIsNull()
    • testGetOutputDir_ShouldResolveGroupIdInOutDir_UseArtifactInfo

      public void testGetOutputDir_ShouldResolveGroupIdInOutDir_UseArtifactInfo() throws Exception
      Throws:
      Exception
    • testGetOutputDir_ShouldResolveArtifactIdInOutDir_UseArtifactInfo

      public void testGetOutputDir_ShouldResolveArtifactIdInOutDir_UseArtifactInfo() throws Exception
      Throws:
      Exception
    • testGetOutputDir_ShouldResolveVersionInOutDir_UseArtifactInfo

      public void testGetOutputDir_ShouldResolveVersionInOutDir_UseArtifactInfo() throws Exception
      Throws:
      Exception
    • testGetOutputDir_ShouldResolveBuildFinalNameInOutDir_UseArtifactInfo

      public void testGetOutputDir_ShouldResolveBuildFinalNameInOutDir_UseArtifactInfo() throws Exception
      Throws:
      Exception
    • testGetOutputDir_ShouldResolveGroupIdInOutDir_UseModuleInfo

      public void testGetOutputDir_ShouldResolveGroupIdInOutDir_UseModuleInfo() throws Exception
      Throws:
      Exception
    • testGetOutputDir_ShouldResolveArtifactIdInOutDir_UseModuleInfo

      public void testGetOutputDir_ShouldResolveArtifactIdInOutDir_UseModuleInfo() throws Exception
      Throws:
      Exception
    • testGetOutputDir_ShouldResolveVersionInOutDir_UseModuleInfo

      public void testGetOutputDir_ShouldResolveVersionInOutDir_UseModuleInfo() throws Exception
      Throws:
      Exception
    • testGetOutputDir_ShouldResolveBuildFinalNameInOutDir_UseModuleInfo

      public void testGetOutputDir_ShouldResolveBuildFinalNameInOutDir_UseModuleInfo() throws Exception
      Throws:
      Exception
    • testGetOutputDir_ShouldResolveGroupIdInOutDir_UseExplicitMainProject

      public void testGetOutputDir_ShouldResolveGroupIdInOutDir_UseExplicitMainProject() throws Exception
      Throws:
      Exception
    • testGetOutputDir_ShouldResolveArtifactIdInOutDir_UseExplicitMainProject

      public void testGetOutputDir_ShouldResolveArtifactIdInOutDir_UseExplicitMainProject() throws Exception
      Throws:
      Exception
    • testGetOutputDir_ShouldResolveVersionInOutDir_UseExplicitMainProject

      public void testGetOutputDir_ShouldResolveVersionInOutDir_UseExplicitMainProject() throws Exception
      Throws:
      Exception
    • testGetOutputDir_ShouldResolveBuildFinalNameInOutDir_UseExplicitMainProject

      public void testGetOutputDir_ShouldResolveBuildFinalNameInOutDir_UseExplicitMainProject() throws Exception
      Throws:
      Exception
    • testGetOutputDir_ShouldResolveGroupIdInOutDir_UseExplicitMainProject_projectRef

      public void testGetOutputDir_ShouldResolveGroupIdInOutDir_UseExplicitMainProject_projectRef() throws Exception
      Throws:
      Exception
    • testGetOutputDir_ShouldResolveArtifactIdInOutDir_UseExplicitMainProject_projectRef

      public void testGetOutputDir_ShouldResolveArtifactIdInOutDir_UseExplicitMainProject_projectRef() throws Exception
      Throws:
      Exception
    • testGetOutputDir_ShouldResolveVersionInOutDir_UseExplicitMainProject_projectRef

      public void testGetOutputDir_ShouldResolveVersionInOutDir_UseExplicitMainProject_projectRef() throws Exception
      Throws:
      Exception
    • testGetOutputDir_ShouldResolveBuildFinalNameInOutDir_UseExplicitMainProject_projectRef

      public void testGetOutputDir_ShouldResolveBuildFinalNameInOutDir_UseExplicitMainProject_projectRef() throws Exception
      Throws:
      Exception
    • testGetOutputDir_ShouldNotAlterOutDirWhenIncludeBaseFalseAndNoExpressions

      public void testGetOutputDir_ShouldNotAlterOutDirWhenIncludeBaseFalseAndNoExpressions() throws Exception
      Throws:
      Exception
    • testGetOutputDir_ShouldNotAlterOutDirWhenIncludeBaseFalseAndNoExpressions_CheckWithBackslash

      public void testGetOutputDir_ShouldNotAlterOutDirWhenIncludeBaseFalseAndNoExpressions_CheckWithBackslash() throws Exception
      Throws:
      Exception
    • testGetOutputDir_ShouldAppendSlashToOutDirWhenMissingAndIncludeBaseFalseAndNoExpressions

      public void testGetOutputDir_ShouldAppendSlashToOutDirWhenMissingAndIncludeBaseFalseAndNoExpressions() throws Exception
      Throws:
      Exception
    • testGetOutputDir_ShouldResolveGroupIdInOutDir

      public void testGetOutputDir_ShouldResolveGroupIdInOutDir() throws Exception
      Throws:
      Exception
    • testGetOutputDir_ShouldResolveArtifactIdInOutDir

      public void testGetOutputDir_ShouldResolveArtifactIdInOutDir() throws Exception
      Throws:
      Exception
    • testGetOutputDir_ShouldResolveVersionInOutDir

      public void testGetOutputDir_ShouldResolveVersionInOutDir() throws Exception
      Throws:
      Exception
    • testGetOutputDir_ShouldResolveVersionInLargerOutDirExpr

      public void testGetOutputDir_ShouldResolveVersionInLargerOutDirExpr() throws Exception
      Throws:
      Exception
    • testGetOutputDir_ShouldResolveFinalNameInOutDir

      public void testGetOutputDir_ShouldResolveFinalNameInOutDir() throws Exception
      Throws:
      Exception
    • testGetOutputDir_ShouldResolveBuildFinalNameInOutDir

      public void testGetOutputDir_ShouldResolveBuildFinalNameInOutDir() throws Exception
      Throws:
      Exception
    • testGetOutputDir_ShouldReturnEmptyPathWhenAllInputIsEmptyAndIncludeBaseFalse

      public void testGetOutputDir_ShouldReturnEmptyPathWhenAllInputIsEmptyAndIncludeBaseFalse() throws Exception
      Throws:
      Exception
    • testGetOutputDir_ShouldRemoveRelativeRefToCurrentDir

      public void testGetOutputDir_ShouldRemoveRelativeRefToCurrentDir() throws Exception
      Throws:
      Exception
    • testGetOutputDir_ShouldRemoveEmbeddedSameDirRef

      public void testGetOutputDir_ShouldRemoveEmbeddedSameDirRef() throws Exception
      Throws:
      Exception
    • testGetOutputDir_ShouldRemoveEmbeddedParentDirRef

      public void testGetOutputDir_ShouldRemoveEmbeddedParentDirRef() throws Exception
      Throws:
      Exception
    • testGetOutputDir_ShouldTruncateRelativeRefToParentDir

      public void testGetOutputDir_ShouldTruncateRelativeRefToParentDir() throws Exception
      Throws:
      Exception
    • testGetOutputDir_ShouldResolveProjectProperty

      public void testGetOutputDir_ShouldResolveProjectProperty() throws Exception
      Throws:
      Exception
    • testGetOutputDir_ShouldResolveProjectPropertyAltExpr

      public void testGetOutputDir_ShouldResolveProjectPropertyAltExpr() throws Exception
      Throws:
      Exception
    • testEvalFileNameMapping_ShouldResolveArtifactIdAndBaseVersionInOutDir_UseArtifactInfo_WithValidMainProject

      public void testEvalFileNameMapping_ShouldResolveArtifactIdAndBaseVersionInOutDir_UseArtifactInfo_WithValidMainProject() throws Exception
      Throws:
      Exception
    • testEvalFileNameMapping_ShouldResolveGroupIdInOutDir_UseArtifactInfo

      public void testEvalFileNameMapping_ShouldResolveGroupIdInOutDir_UseArtifactInfo() throws Exception
      Throws:
      Exception
    • testEvalFileNameMapping_ShouldResolveArtifactIdInOutDir_UseArtifactInfo

      public void testEvalFileNameMapping_ShouldResolveArtifactIdInOutDir_UseArtifactInfo() throws Exception
      Throws:
      Exception
    • testEvalFileNameMapping_ShouldResolveVersionInOutDir_UseArtifactInfo

      public void testEvalFileNameMapping_ShouldResolveVersionInOutDir_UseArtifactInfo() throws Exception
      Throws:
      Exception
    • testEvalFileNameMapping_ShouldResolveGroupIdInOutDir_UseArtifactInfoAndModulePrefix

      public void testEvalFileNameMapping_ShouldResolveGroupIdInOutDir_UseArtifactInfoAndModulePrefix() throws Exception
      Throws:
      Exception
    • testEvalFileNameMapping_ShouldResolveArtifactIdInOutDir_UseArtifactInfoAndModulePrefix

      public void testEvalFileNameMapping_ShouldResolveArtifactIdInOutDir_UseArtifactInfoAndModulePrefix() throws Exception
      Throws:
      Exception
    • testEvalFileNameMapping_ShouldResolveVersionInOutDir_UseArtifactInfoAndModulePrefix

      public void testEvalFileNameMapping_ShouldResolveVersionInOutDir_UseArtifactInfoAndModulePrefix() throws Exception
      Throws:
      Exception
    • testEvalFileNameMapping_ShouldResolveGroupIdInOutDir_UseExplicitMainProject

      public void testEvalFileNameMapping_ShouldResolveGroupIdInOutDir_UseExplicitMainProject() throws Exception
      Throws:
      Exception
    • testEvalFileNameMapping_ShouldResolveArtifactIdInOutDir_UseExplicitMainProject

      public void testEvalFileNameMapping_ShouldResolveArtifactIdInOutDir_UseExplicitMainProject() throws Exception
      Throws:
      Exception
    • testEvalFileNameMapping_ShouldResolveVersionInOutDir_UseExplicitMainProject

      public void testEvalFileNameMapping_ShouldResolveVersionInOutDir_UseExplicitMainProject() throws Exception
      Throws:
      Exception
    • testEvalFileNameMapping_ShouldResolveGroupIdInOutDir_UseExplicitMainProject_projectRef

      public void testEvalFileNameMapping_ShouldResolveGroupIdInOutDir_UseExplicitMainProject_projectRef() throws Exception
      Throws:
      Exception
    • testEvalFileNameMapping_ShouldResolveArtifactIdInOutDir_UseExplicitMainProject_projectRef

      public void testEvalFileNameMapping_ShouldResolveArtifactIdInOutDir_UseExplicitMainProject_projectRef() throws Exception
      Throws:
      Exception
    • testEvalFileNameMapping_ShouldResolveVersionInOutDir_UseExplicitMainProject_projectRef

      public void testEvalFileNameMapping_ShouldResolveVersionInOutDir_UseExplicitMainProject_projectRef() throws Exception
      Throws:
      Exception
    • testEvalFileNameMapping_ShouldRemoveRelativeRefToCurrentDir

      public void testEvalFileNameMapping_ShouldRemoveRelativeRefToCurrentDir() throws Exception
      Throws:
      Exception
    • testEvalFileNameMapping_ShouldRemoveEmbeddedSameDirRef

      public void testEvalFileNameMapping_ShouldRemoveEmbeddedSameDirRef() throws Exception
      Throws:
      Exception
    • testEvalFileNameMapping_ShouldRemoveEmbeddedParentDirRef

      public void testEvalFileNameMapping_ShouldRemoveEmbeddedParentDirRef() throws Exception
      Throws:
      Exception
    • testEvalFileNameMapping_ShouldTruncateRelativeRefToParentDir

      public void testEvalFileNameMapping_ShouldTruncateRelativeRefToParentDir() throws Exception
      Throws:
      Exception
    • testEvalFileNameMapping_ShouldPassExpressionThroughUnchanged

      public void testEvalFileNameMapping_ShouldPassExpressionThroughUnchanged() throws Exception
      Throws:
      Exception
    • testEvalFileNameMapping_ShouldInsertClassifierAheadOfExtension

      public void testEvalFileNameMapping_ShouldInsertClassifierAheadOfExtension() throws Exception
      Throws:
      Exception
    • testEvalFileNameMapping_ShouldAppendDashClassifierWhenClassifierPresent

      public void testEvalFileNameMapping_ShouldAppendDashClassifierWhenClassifierPresent() throws Exception
      Throws:
      Exception
    • testEvalFileNameMapping_ShouldNotAppendDashClassifierWhenClassifierMissing

      public void testEvalFileNameMapping_ShouldNotAppendDashClassifierWhenClassifierMissing() throws Exception
      Throws:
      Exception
    • testEvalFileNameMapping_ShouldNotAppendDashClassifierWhenClassifierEmpty

      public void testEvalFileNameMapping_ShouldNotAppendDashClassifierWhenClassifierEmpty() throws Exception
      Throws:
      Exception
    • testEvalFileNameMapping_ShouldResolveGroupId

      public void testEvalFileNameMapping_ShouldResolveGroupId() throws Exception
      Throws:
      Exception
    • testEvalFileNameMapping_ShouldResolveArtifactId

      public void testEvalFileNameMapping_ShouldResolveArtifactId() throws Exception
      Throws:
      Exception
    • testEvalFileNameMapping_ShouldResolveVersion

      public void testEvalFileNameMapping_ShouldResolveVersion() throws Exception
      Throws:
      Exception
    • testEvalFileNameMapping_ShouldResolveExtension

      public void testEvalFileNameMapping_ShouldResolveExtension() throws Exception
      Throws:
      Exception
    • testEvalFileNameMapping_ShouldResolveProjectProperty

      public void testEvalFileNameMapping_ShouldResolveProjectProperty() throws Exception
      Throws:
      Exception
    • testEvalFileNameMapping_ShouldResolveProjectPropertyAltExpr

      public void testEvalFileNameMapping_ShouldResolveProjectPropertyAltExpr() throws Exception
      Throws:
      Exception
    • testEvalFileNameMapping_ShouldResolveSystemPropertyWithoutMainProjectPresent

      public void testEvalFileNameMapping_ShouldResolveSystemPropertyWithoutMainProjectPresent() throws Exception
      Throws:
      Exception
    • testWindowsPath

      public void testWindowsPath()
    • testLinuxRootReferencePath

      public void testLinuxRootReferencePath()
    • groupIdPath_artifactProjectInterpolator

      public void groupIdPath_artifactProjectInterpolator()
    • groupIdPath_artifactInterpolator

      public void groupIdPath_artifactInterpolator()