org.apache.maven.plugin.assembly.utils
Class AssemblyFormatUtilsTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.apache.maven.plugin.assembly.utils.AssemblyFormatUtilsTest
- All Implemented Interfaces:
- junit.framework.Test
public class AssemblyFormatUtilsTest
- extends junit.framework.TestCase
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
AssemblyFormatUtilsTest
public AssemblyFormatUtilsTest()
testGetDistroName_ShouldUseJustFinalNameWithNoAppendAssemblyIdOrClassifier
public void testGetDistroName_ShouldUseJustFinalNameWithNoAppendAssemblyIdOrClassifier()
testGetDistroName_ShouldUseFinalNamePlusClassifierWhenAppendAssemblyIdIsNull
public void testGetDistroName_ShouldUseFinalNamePlusClassifierWhenAppendAssemblyIdIsNull()
testGetOutputDir_ShouldResolveGroupIdInOutDir_UseArtifactInfo
public void testGetOutputDir_ShouldResolveGroupIdInOutDir_UseArtifactInfo()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testGetOutputDir_ShouldResolveArtifactIdInOutDir_UseArtifactInfo
public void testGetOutputDir_ShouldResolveArtifactIdInOutDir_UseArtifactInfo()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testGetOutputDir_ShouldResolveVersionInOutDir_UseArtifactInfo
public void testGetOutputDir_ShouldResolveVersionInOutDir_UseArtifactInfo()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testGetOutputDir_ShouldResolveBuildFinalNameInOutDir_UseArtifactInfo
public void testGetOutputDir_ShouldResolveBuildFinalNameInOutDir_UseArtifactInfo()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testGetOutputDir_ShouldResolveGroupIdInOutDir_UseModuleInfo
public void testGetOutputDir_ShouldResolveGroupIdInOutDir_UseModuleInfo()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testGetOutputDir_ShouldResolveArtifactIdInOutDir_UseModuleInfo
public void testGetOutputDir_ShouldResolveArtifactIdInOutDir_UseModuleInfo()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testGetOutputDir_ShouldResolveVersionInOutDir_UseModuleInfo
public void testGetOutputDir_ShouldResolveVersionInOutDir_UseModuleInfo()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testGetOutputDir_ShouldResolveBuildFinalNameInOutDir_UseModuleInfo
public void testGetOutputDir_ShouldResolveBuildFinalNameInOutDir_UseModuleInfo()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testGetOutputDir_ShouldResolveGroupIdInOutDir_UseExplicitMainProject
public void testGetOutputDir_ShouldResolveGroupIdInOutDir_UseExplicitMainProject()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testGetOutputDir_ShouldResolveArtifactIdInOutDir_UseExplicitMainProject
public void testGetOutputDir_ShouldResolveArtifactIdInOutDir_UseExplicitMainProject()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testGetOutputDir_ShouldResolveVersionInOutDir_UseExplicitMainProject
public void testGetOutputDir_ShouldResolveVersionInOutDir_UseExplicitMainProject()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testGetOutputDir_ShouldResolveBuildFinalNameInOutDir_UseExplicitMainProject
public void testGetOutputDir_ShouldResolveBuildFinalNameInOutDir_UseExplicitMainProject()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testGetOutputDir_ShouldResolveGroupIdInOutDir_UseExplicitMainProject_projectRef
public void testGetOutputDir_ShouldResolveGroupIdInOutDir_UseExplicitMainProject_projectRef()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testGetOutputDir_ShouldResolveArtifactIdInOutDir_UseExplicitMainProject_projectRef
public void testGetOutputDir_ShouldResolveArtifactIdInOutDir_UseExplicitMainProject_projectRef()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testGetOutputDir_ShouldResolveVersionInOutDir_UseExplicitMainProject_projectRef
public void testGetOutputDir_ShouldResolveVersionInOutDir_UseExplicitMainProject_projectRef()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testGetOutputDir_ShouldResolveBuildFinalNameInOutDir_UseExplicitMainProject_projectRef
public void testGetOutputDir_ShouldResolveBuildFinalNameInOutDir_UseExplicitMainProject_projectRef()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testGetOutputDir_ShouldNotAlterOutDirWhenIncludeBaseFalseAndNoExpressions
public void testGetOutputDir_ShouldNotAlterOutDirWhenIncludeBaseFalseAndNoExpressions()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testGetOutputDir_ShouldNotAlterOutDirWhenIncludeBaseFalseAndNoExpressions_CheckWithBackslash
public void testGetOutputDir_ShouldNotAlterOutDirWhenIncludeBaseFalseAndNoExpressions_CheckWithBackslash()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testGetOutputDir_ShouldAppendSlashToOutDirWhenMissingAndIncludeBaseFalseAndNoExpressions
public void testGetOutputDir_ShouldAppendSlashToOutDirWhenMissingAndIncludeBaseFalseAndNoExpressions()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testGetOutputDir_ShouldResolveGroupIdInOutDir
public void testGetOutputDir_ShouldResolveGroupIdInOutDir()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testGetOutputDir_ShouldResolveArtifactIdInOutDir
public void testGetOutputDir_ShouldResolveArtifactIdInOutDir()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testGetOutputDir_ShouldResolveVersionInOutDir
public void testGetOutputDir_ShouldResolveVersionInOutDir()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testGetOutputDir_ShouldResolveVersionInLargerOutDirExpr
public void testGetOutputDir_ShouldResolveVersionInLargerOutDirExpr()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testGetOutputDir_ShouldResolveFinalNameInOutDir
public void testGetOutputDir_ShouldResolveFinalNameInOutDir()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testGetOutputDir_ShouldResolveBuildFinalNameInOutDir
public void testGetOutputDir_ShouldResolveBuildFinalNameInOutDir()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testGetOutputDir_ShouldReturnEmptyPathWhenAllInputIsEmptyAndIncludeBaseFalse
public void testGetOutputDir_ShouldReturnEmptyPathWhenAllInputIsEmptyAndIncludeBaseFalse()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testGetOutputDir_ShouldResolveProjectProperty
public void testGetOutputDir_ShouldResolveProjectProperty()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testGetOutputDir_ShouldResolveProjectPropertyAltExpr
public void testGetOutputDir_ShouldResolveProjectPropertyAltExpr()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testEvalFileNameMapping_ShouldResolveArtifactIdAndBaseVersionInOutDir_UseArtifactInfo_WithValidMainProject
public void testEvalFileNameMapping_ShouldResolveArtifactIdAndBaseVersionInOutDir_UseArtifactInfo_WithValidMainProject()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testEvalFileNameMapping_ShouldResolveGroupIdInOutDir_UseArtifactInfo
public void testEvalFileNameMapping_ShouldResolveGroupIdInOutDir_UseArtifactInfo()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testEvalFileNameMapping_ShouldResolveArtifactIdInOutDir_UseArtifactInfo
public void testEvalFileNameMapping_ShouldResolveArtifactIdInOutDir_UseArtifactInfo()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testEvalFileNameMapping_ShouldResolveVersionInOutDir_UseArtifactInfo
public void testEvalFileNameMapping_ShouldResolveVersionInOutDir_UseArtifactInfo()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testEvalFileNameMapping_ShouldResolveGroupIdInOutDir_UseArtifactInfoAndModulePrefix
public void testEvalFileNameMapping_ShouldResolveGroupIdInOutDir_UseArtifactInfoAndModulePrefix()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testEvalFileNameMapping_ShouldResolveArtifactIdInOutDir_UseArtifactInfoAndModulePrefix
public void testEvalFileNameMapping_ShouldResolveArtifactIdInOutDir_UseArtifactInfoAndModulePrefix()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testEvalFileNameMapping_ShouldResolveVersionInOutDir_UseArtifactInfoAndModulePrefix
public void testEvalFileNameMapping_ShouldResolveVersionInOutDir_UseArtifactInfoAndModulePrefix()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testEvalFileNameMapping_ShouldResolveGroupIdInOutDir_UseExplicitMainProject
public void testEvalFileNameMapping_ShouldResolveGroupIdInOutDir_UseExplicitMainProject()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testEvalFileNameMapping_ShouldResolveArtifactIdInOutDir_UseExplicitMainProject
public void testEvalFileNameMapping_ShouldResolveArtifactIdInOutDir_UseExplicitMainProject()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testEvalFileNameMapping_ShouldResolveVersionInOutDir_UseExplicitMainProject
public void testEvalFileNameMapping_ShouldResolveVersionInOutDir_UseExplicitMainProject()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testEvalFileNameMapping_ShouldResolveGroupIdInOutDir_UseExplicitMainProject_projectRef
public void testEvalFileNameMapping_ShouldResolveGroupIdInOutDir_UseExplicitMainProject_projectRef()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testEvalFileNameMapping_ShouldResolveArtifactIdInOutDir_UseExplicitMainProject_projectRef
public void testEvalFileNameMapping_ShouldResolveArtifactIdInOutDir_UseExplicitMainProject_projectRef()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testEvalFileNameMapping_ShouldResolveVersionInOutDir_UseExplicitMainProject_projectRef
public void testEvalFileNameMapping_ShouldResolveVersionInOutDir_UseExplicitMainProject_projectRef()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testEvalFileNameMapping_ShouldPassExpressionThroughUnchanged
public void testEvalFileNameMapping_ShouldPassExpressionThroughUnchanged()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testEvalFileNameMapping_ShouldInsertClassifierAheadOfExtension
public void testEvalFileNameMapping_ShouldInsertClassifierAheadOfExtension()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testEvalFileNameMapping_ShouldAppendDashClassifierWhenClassifierPresent
public void testEvalFileNameMapping_ShouldAppendDashClassifierWhenClassifierPresent()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testEvalFileNameMapping_ShouldNotAppendDashClassifierWhenClassifierMissing
public void testEvalFileNameMapping_ShouldNotAppendDashClassifierWhenClassifierMissing()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testEvalFileNameMapping_ShouldResolveGroupId
public void testEvalFileNameMapping_ShouldResolveGroupId()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testEvalFileNameMapping_ShouldResolveArtifactId
public void testEvalFileNameMapping_ShouldResolveArtifactId()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testEvalFileNameMapping_ShouldResolveVersion
public void testEvalFileNameMapping_ShouldResolveVersion()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testEvalFileNameMapping_ShouldResolveExtension
public void testEvalFileNameMapping_ShouldResolveExtension()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testEvalFileNameMapping_ShouldResolveProjectProperty
public void testEvalFileNameMapping_ShouldResolveProjectProperty()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testEvalFileNameMapping_ShouldResolveProjectPropertyAltExpr
public void testEvalFileNameMapping_ShouldResolveProjectPropertyAltExpr()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
testEvalFileNameMapping_ShouldResolveSystemPropertyWithoutMainProjectPresent
public void testEvalFileNameMapping_ShouldResolveSystemPropertyWithoutMainProjectPresent()
throws AssemblyFormattingException
- Throws:
AssemblyFormattingException
Copyright © 2002-2010 The Apache Software Foundation. All Rights Reserved.