org.apache.maven.shared.release.phase
Class MapVersionsPhaseTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.codehaus.plexus.PlexusTestCase
              extended by org.apache.maven.shared.release.phase.MapVersionsPhaseTest
All Implemented Interfaces:
Test

public class MapVersionsPhaseTest
extends org.codehaus.plexus.PlexusTestCase

Test the version mapping phase.

Author:
Brett Porter

Field Summary
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir, container
 
Constructor Summary
MapVersionsPhaseTest()
           
 
Method Summary
 void testAdjustVersionInteractive()
           
 void testAdjustVersionNonInteractive()
           
 void testMapDevVersionsInteractive()
           
 void testMapDevVersionsInteractiveDoNotUpdateWorkingCopy()
          MRELEASE-760: updateWorkingCopyVersions=false still bumps up pom versions to next development version
 void testMapDevVersionsNonInteractive()
           
 void testMapDevVersionsNonInteractiveWithExplicitVersion()
          MRELEASE-524: ignores commandline versions in batch mode
 void testMapReleaseVersionsInteractive()
           
 void testMapReleaseVersionsInteractiveAddZeroIncremental()
           
 void testMapReleaseVersionsInteractiveWithSnaphotVersion()
          Test to release "SNAPSHOT" version MRELEASE-90
 void testMapReleaseVersionsNonInteractive()
           
 void testMapReleaseVersionsNonInteractiveWithExplicitVersion()
          MRELEASE-524: ignores commandline versions in batch mode
 void testPrompterException()
           
 
Methods inherited from class org.codehaus.plexus.PlexusTestCase
createContainerInstance, customizeContext, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getContainer, getCustomConfiguration, getResourceAsStream, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, release, setUp, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MapVersionsPhaseTest

public MapVersionsPhaseTest()
Method Detail

testMapReleaseVersionsInteractive

public void testMapReleaseVersionsInteractive()
                                       throws Exception
Throws:
Exception

testMapReleaseVersionsInteractiveAddZeroIncremental

public void testMapReleaseVersionsInteractiveAddZeroIncremental()
                                                         throws Exception
Throws:
Exception

testMapReleaseVersionsInteractiveWithSnaphotVersion

public void testMapReleaseVersionsInteractiveWithSnaphotVersion()
                                                         throws Exception
Test to release "SNAPSHOT" version MRELEASE-90

Throws:
Exception

testMapReleaseVersionsNonInteractiveWithExplicitVersion

public void testMapReleaseVersionsNonInteractiveWithExplicitVersion()
                                                             throws Exception
MRELEASE-524: ignores commandline versions in batch mode

Throws:
Exception

testMapReleaseVersionsNonInteractive

public void testMapReleaseVersionsNonInteractive()
                                          throws Exception
Throws:
Exception

testMapDevVersionsInteractive

public void testMapDevVersionsInteractive()
                                   throws Exception
Throws:
Exception

testMapDevVersionsInteractiveDoNotUpdateWorkingCopy

public void testMapDevVersionsInteractiveDoNotUpdateWorkingCopy()
                                                         throws Exception
MRELEASE-760: updateWorkingCopyVersions=false still bumps up pom versions to next development version

Throws:
Exception

testMapDevVersionsNonInteractive

public void testMapDevVersionsNonInteractive()
                                      throws Exception
Throws:
Exception

testMapDevVersionsNonInteractiveWithExplicitVersion

public void testMapDevVersionsNonInteractiveWithExplicitVersion()
                                                         throws Exception
MRELEASE-524: ignores commandline versions in batch mode

Throws:
Exception

testPrompterException

public void testPrompterException()
                           throws Exception
Throws:
Exception

testAdjustVersionInteractive

public void testAdjustVersionInteractive()
                                  throws Exception
Throws:
Exception

testAdjustVersionNonInteractive

public void testAdjustVersionNonInteractive()
                                     throws Exception
Throws:
Exception


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