org.apache.maven.shared.release.util
Class ReleaseUtilTest

java.lang.Object
  extended by org.apache.maven.shared.release.util.ReleaseUtilTest

public class ReleaseUtilTest
extends Object

Tests for ReleaseUtil methods


Constructor Summary
ReleaseUtilTest()
           
 
Method Summary
 void testGetBaseScmUrlOfFlatMultiModule()
           
 void testGetBaseScmUrlOfFlatMultiModuleMultipleLevels()
           
 void testGetBaseScmUrlReturnOriginal()
           
 void testGetBaseScmUrlSingleLevel()
           
 void testGetBaseWorkingDirectoryParentCountDifferentCase()
           
 void testGetBaseWorkingDirectoryParentCountParentDirectory()
           
 void testGetBaseWorkingDirectoryParentCountParentDirectoryMultiple()
           
 void testGetBaseWorkingDirectoryParentCountSameDirectory()
           
 void testGetBaseWorkingDirectoryParentCountSubdirectory()
           
 void testGetCommonBasedirOfFlatMultiModule()
           
 void testGetCommonBasedirOfFlatMultiModuleSimilarArtifactIds()
           
 void testGetCommonBasedirOfFlatMultiModuleSimilarArtifactIdsWindows()
           
 void testGetCommonBasedirOfFlatMultiModuleWindows()
           
 void testGetCommonBasedirOfFlatMultiModuleWithDescendingHierarchy()
           
 void testGetCommonBasedirOfFlatMultiModuleWithMultipleLevels()
           
 void testGetCommonBasedirOfRegularMultiModule()
           
 void testGetCommonBasedirOfRegularMultiModuleParentNotBeeingFirstInReactor()
           
 void testGetCommonBasedirOfRegularMultiModuleWindowsPath()
           
 void testGetCommonBasedirSingleProject()
           
 void testGetCommonBasedirSingleProjectWindows()
           
 void testGetCommonBasedirUppercaseLowerCaseWindows()
           
 void testGetWindowsRootBaseWorkingDirectoryParentCountDifferentCase()
          MRELEASE-663
 void testProjectIsNull()
          MRELEASE-273 : Tests if there no pom passed as parameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReleaseUtilTest

public ReleaseUtilTest()
Method Detail

testProjectIsNull

public void testProjectIsNull()
MRELEASE-273 : Tests if there no pom passed as parameter


testGetCommonBasedirSingleProject

public void testGetCommonBasedirSingleProject()
                                       throws Exception
Throws:
Exception

testGetCommonBasedirSingleProjectWindows

public void testGetCommonBasedirSingleProjectWindows()
                                              throws Exception
Throws:
Exception

testGetCommonBasedirOfFlatMultiModule

public void testGetCommonBasedirOfFlatMultiModule()
                                           throws Exception
Throws:
Exception

testGetCommonBasedirOfFlatMultiModuleWindows

public void testGetCommonBasedirOfFlatMultiModuleWindows()
                                                  throws Exception
Throws:
Exception

testGetCommonBasedirUppercaseLowerCaseWindows

public void testGetCommonBasedirUppercaseLowerCaseWindows()
                                                   throws Exception
Throws:
Exception

testGetCommonBasedirOfFlatMultiModuleSimilarArtifactIds

public void testGetCommonBasedirOfFlatMultiModuleSimilarArtifactIds()
                                                             throws Exception
Throws:
Exception

testGetCommonBasedirOfFlatMultiModuleSimilarArtifactIdsWindows

public void testGetCommonBasedirOfFlatMultiModuleSimilarArtifactIdsWindows()
                                                                    throws Exception
Throws:
Exception

testGetCommonBasedirOfRegularMultiModule

public void testGetCommonBasedirOfRegularMultiModule()
                                              throws Exception
Throws:
Exception

testGetCommonBasedirOfRegularMultiModuleParentNotBeeingFirstInReactor

public void testGetCommonBasedirOfRegularMultiModuleParentNotBeeingFirstInReactor()
                                                                           throws Exception
Throws:
Exception

testGetCommonBasedirOfRegularMultiModuleWindowsPath

public void testGetCommonBasedirOfRegularMultiModuleWindowsPath()
                                                         throws Exception
Throws:
Exception

testGetCommonBasedirOfFlatMultiModuleWithMultipleLevels

public void testGetCommonBasedirOfFlatMultiModuleWithMultipleLevels()
                                                             throws Exception
Throws:
Exception

testGetCommonBasedirOfFlatMultiModuleWithDescendingHierarchy

public void testGetCommonBasedirOfFlatMultiModuleWithDescendingHierarchy()
                                                                  throws Exception
Throws:
Exception

testGetBaseScmUrlSingleLevel

public void testGetBaseScmUrlSingleLevel()
                                  throws Exception
Throws:
Exception

testGetBaseScmUrlReturnOriginal

public void testGetBaseScmUrlReturnOriginal()
                                     throws Exception
Throws:
Exception

testGetBaseScmUrlOfFlatMultiModule

public void testGetBaseScmUrlOfFlatMultiModule()
                                        throws Exception
Throws:
Exception

testGetBaseScmUrlOfFlatMultiModuleMultipleLevels

public void testGetBaseScmUrlOfFlatMultiModuleMultipleLevels()
                                                      throws Exception
Throws:
Exception

testGetBaseWorkingDirectoryParentCountSameDirectory

public void testGetBaseWorkingDirectoryParentCountSameDirectory()

testGetBaseWorkingDirectoryParentCountSubdirectory

public void testGetBaseWorkingDirectoryParentCountSubdirectory()

testGetBaseWorkingDirectoryParentCountParentDirectory

public void testGetBaseWorkingDirectoryParentCountParentDirectory()

testGetBaseWorkingDirectoryParentCountParentDirectoryMultiple

public void testGetBaseWorkingDirectoryParentCountParentDirectoryMultiple()

testGetBaseWorkingDirectoryParentCountDifferentCase

public void testGetBaseWorkingDirectoryParentCountDifferentCase()

testGetWindowsRootBaseWorkingDirectoryParentCountDifferentCase

public void testGetWindowsRootBaseWorkingDirectoryParentCountDifferentCase()
MRELEASE-663



Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.