public class AssemblyFormatUtilsTest
extends junit.framework.TestCase
Constructor and Description |
---|
AssemblyFormatUtilsTest() |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
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
public void testFixRelativePathRefs_ShouldRemoveRelativeRefToCurrentDir() throws AssemblyFormattingException
AssemblyFormattingException
public void testFixRelativePathRefs_ShouldRemoveEmbeddedSameDirRef() throws AssemblyFormattingException
AssemblyFormattingException
public void testFixRelativePathRefs_ShouldRemoveEmbeddedParentDirRef() throws AssemblyFormattingException
AssemblyFormattingException
public void testFixRelativePathRefs_ShouldTruncateRelativeRefToParentDir() throws AssemblyFormattingException
AssemblyFormattingException
public void testGetDistroName_ShouldUseJustFinalNameWithNoAppendAssemblyIdOrClassifier()
public void testGetDistroName_ShouldUseFinalNamePlusClassifierWhenAppendAssemblyIdIsNull()
public void testGetOutputDir_ShouldResolveGroupIdInOutDir_UseArtifactInfo() throws AssemblyFormattingException
AssemblyFormattingException
public void testGetOutputDir_ShouldResolveArtifactIdInOutDir_UseArtifactInfo() throws AssemblyFormattingException
AssemblyFormattingException
public void testGetOutputDir_ShouldResolveVersionInOutDir_UseArtifactInfo() throws AssemblyFormattingException
AssemblyFormattingException
public void testGetOutputDir_ShouldResolveBuildFinalNameInOutDir_UseArtifactInfo() throws AssemblyFormattingException
AssemblyFormattingException
public void testGetOutputDir_ShouldResolveGroupIdInOutDir_UseModuleInfo() throws AssemblyFormattingException
AssemblyFormattingException
public void testGetOutputDir_ShouldResolveArtifactIdInOutDir_UseModuleInfo() throws AssemblyFormattingException
AssemblyFormattingException
public void testGetOutputDir_ShouldResolveVersionInOutDir_UseModuleInfo() throws AssemblyFormattingException
AssemblyFormattingException
public void testGetOutputDir_ShouldResolveBuildFinalNameInOutDir_UseModuleInfo() throws AssemblyFormattingException
AssemblyFormattingException
public void testGetOutputDir_ShouldResolveGroupIdInOutDir_UseExplicitMainProject() throws AssemblyFormattingException
AssemblyFormattingException
public void testGetOutputDir_ShouldResolveArtifactIdInOutDir_UseExplicitMainProject() throws AssemblyFormattingException
AssemblyFormattingException
public void testGetOutputDir_ShouldResolveVersionInOutDir_UseExplicitMainProject() throws AssemblyFormattingException
AssemblyFormattingException
public void testGetOutputDir_ShouldResolveBuildFinalNameInOutDir_UseExplicitMainProject() throws AssemblyFormattingException
AssemblyFormattingException
public void testGetOutputDir_ShouldResolveGroupIdInOutDir_UseExplicitMainProject_projectRef() throws AssemblyFormattingException
AssemblyFormattingException
public void testGetOutputDir_ShouldResolveArtifactIdInOutDir_UseExplicitMainProject_projectRef() throws AssemblyFormattingException
AssemblyFormattingException
public void testGetOutputDir_ShouldResolveVersionInOutDir_UseExplicitMainProject_projectRef() throws AssemblyFormattingException
AssemblyFormattingException
public void testGetOutputDir_ShouldResolveBuildFinalNameInOutDir_UseExplicitMainProject_projectRef() throws AssemblyFormattingException
AssemblyFormattingException
public void testGetOutputDir_ShouldNotAlterOutDirWhenIncludeBaseFalseAndNoExpressions() throws AssemblyFormattingException
AssemblyFormattingException
public void testGetOutputDir_ShouldNotAlterOutDirWhenIncludeBaseFalseAndNoExpressions_CheckWithBackslash() throws AssemblyFormattingException
AssemblyFormattingException
public void testGetOutputDir_ShouldAppendSlashToOutDirWhenMissingAndIncludeBaseFalseAndNoExpressions() throws AssemblyFormattingException
AssemblyFormattingException
public void testGetOutputDir_ShouldResolveGroupIdInOutDir() throws AssemblyFormattingException
AssemblyFormattingException
public void testGetOutputDir_ShouldResolveArtifactIdInOutDir() throws AssemblyFormattingException
AssemblyFormattingException
public void testGetOutputDir_ShouldResolveVersionInOutDir() throws AssemblyFormattingException
AssemblyFormattingException
public void testGetOutputDir_ShouldResolveVersionInLargerOutDirExpr() throws AssemblyFormattingException
AssemblyFormattingException
public void testGetOutputDir_ShouldResolveFinalNameInOutDir() throws AssemblyFormattingException
AssemblyFormattingException
public void testGetOutputDir_ShouldResolveBuildFinalNameInOutDir() throws AssemblyFormattingException
AssemblyFormattingException
public void testGetOutputDir_ShouldReturnEmptyPathWhenAllInputIsEmptyAndIncludeBaseFalse() throws AssemblyFormattingException
AssemblyFormattingException
public void testGetOutputDir_ShouldRemoveRelativeRefToCurrentDir() throws AssemblyFormattingException
AssemblyFormattingException
public void testGetOutputDir_ShouldRemoveEmbeddedSameDirRef() throws AssemblyFormattingException
AssemblyFormattingException
public void testGetOutputDir_ShouldRemoveEmbeddedParentDirRef() throws AssemblyFormattingException
AssemblyFormattingException
public void testGetOutputDir_ShouldTruncateRelativeRefToParentDir() throws AssemblyFormattingException
AssemblyFormattingException
public void testGetOutputDir_ShouldResolveProjectProperty() throws AssemblyFormattingException
AssemblyFormattingException
public void testGetOutputDir_ShouldResolveProjectPropertyAltExpr() throws AssemblyFormattingException
AssemblyFormattingException
public void testEvalFileNameMapping_ShouldResolveArtifactIdAndBaseVersionInOutDir_UseArtifactInfo_WithValidMainProject() throws AssemblyFormattingException
AssemblyFormattingException
public void testEvalFileNameMapping_ShouldResolveGroupIdInOutDir_UseArtifactInfo() throws AssemblyFormattingException
AssemblyFormattingException
public void testEvalFileNameMapping_ShouldResolveArtifactIdInOutDir_UseArtifactInfo() throws AssemblyFormattingException
AssemblyFormattingException
public void testEvalFileNameMapping_ShouldResolveVersionInOutDir_UseArtifactInfo() throws AssemblyFormattingException
AssemblyFormattingException
public void testEvalFileNameMapping_ShouldResolveGroupIdInOutDir_UseArtifactInfoAndModulePrefix() throws AssemblyFormattingException
AssemblyFormattingException
public void testEvalFileNameMapping_ShouldResolveArtifactIdInOutDir_UseArtifactInfoAndModulePrefix() throws AssemblyFormattingException
AssemblyFormattingException
public void testEvalFileNameMapping_ShouldResolveVersionInOutDir_UseArtifactInfoAndModulePrefix() throws AssemblyFormattingException
AssemblyFormattingException
public void testEvalFileNameMapping_ShouldResolveGroupIdInOutDir_UseExplicitMainProject() throws AssemblyFormattingException
AssemblyFormattingException
public void testEvalFileNameMapping_ShouldResolveArtifactIdInOutDir_UseExplicitMainProject() throws AssemblyFormattingException
AssemblyFormattingException
public void testEvalFileNameMapping_ShouldResolveVersionInOutDir_UseExplicitMainProject() throws AssemblyFormattingException
AssemblyFormattingException
public void testEvalFileNameMapping_ShouldResolveGroupIdInOutDir_UseExplicitMainProject_projectRef() throws AssemblyFormattingException
AssemblyFormattingException
public void testEvalFileNameMapping_ShouldResolveArtifactIdInOutDir_UseExplicitMainProject_projectRef() throws AssemblyFormattingException
AssemblyFormattingException
public void testEvalFileNameMapping_ShouldResolveVersionInOutDir_UseExplicitMainProject_projectRef() throws AssemblyFormattingException
AssemblyFormattingException
public void testEvalFileNameMapping_ShouldRemoveRelativeRefToCurrentDir() throws AssemblyFormattingException
AssemblyFormattingException
public void testEvalFileNameMapping_ShouldRemoveEmbeddedSameDirRef() throws AssemblyFormattingException
AssemblyFormattingException
public void testEvalFileNameMapping_ShouldRemoveEmbeddedParentDirRef() throws AssemblyFormattingException
AssemblyFormattingException
public void testEvalFileNameMapping_ShouldTruncateRelativeRefToParentDir() throws AssemblyFormattingException
AssemblyFormattingException
public void testEvalFileNameMapping_ShouldPassExpressionThroughUnchanged() throws AssemblyFormattingException
AssemblyFormattingException
public void testEvalFileNameMapping_ShouldInsertClassifierAheadOfExtension() throws AssemblyFormattingException
AssemblyFormattingException
public void testEvalFileNameMapping_ShouldAppendDashClassifierWhenClassifierPresent() throws AssemblyFormattingException
AssemblyFormattingException
public void testEvalFileNameMapping_ShouldNotAppendDashClassifierWhenClassifierMissing() throws AssemblyFormattingException
AssemblyFormattingException
public void testEvalFileNameMapping_ShouldNotAppendDashClassifierWhenClassifierEmpty() throws AssemblyFormattingException
AssemblyFormattingException
public void testEvalFileNameMapping_ShouldResolveGroupId() throws AssemblyFormattingException
AssemblyFormattingException
public void testEvalFileNameMapping_ShouldResolveArtifactId() throws AssemblyFormattingException
AssemblyFormattingException
public void testEvalFileNameMapping_ShouldResolveVersion() throws AssemblyFormattingException
AssemblyFormattingException
public void testEvalFileNameMapping_ShouldResolveExtension() throws AssemblyFormattingException
AssemblyFormattingException
public void testEvalFileNameMapping_ShouldResolveProjectProperty() throws AssemblyFormattingException
AssemblyFormattingException
public void testEvalFileNameMapping_ShouldResolveProjectPropertyAltExpr() throws AssemblyFormattingException
AssemblyFormattingException
public void testEvalFileNameMapping_ShouldResolveSystemPropertyWithoutMainProjectPresent() throws AssemblyFormattingException
AssemblyFormattingException
public void testWindowsPath()
public void testLinuxRootReferencePath()
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.