org.apache.maven.shared.release
Class DefaultReleaseManagerTest

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.DefaultReleaseManagerTest
All Implemented Interfaces:
Test

public class DefaultReleaseManagerTest
extends org.codehaus.plexus.PlexusTestCase

Test the default release manager.

Author:
Brett Porter

Field Summary
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir, container
 
Constructor Summary
DefaultReleaseManagerTest()
           
 
Method Summary
protected  void setUp()
           
 void testDetermineWorkingDirectory()
           
 void testNoScmUrlPerform()
           
 void testNoSuchScmProviderExceptionThrown()
           
 void testPerformWithDefaultClean()
           
 void testPrepareCompletedAllPhases()
           
 void testPrepareCompletedPhase()
           
 void testPrepareCompletedPhaseNoResume()
           
 void testPrepareInvalidCompletedPhase()
           
 void testPrepareNoCompletedPhase()
           
 void testPrepareSimulateCompletedAllPhases()
           
 void testPrepareSimulateCompletedPhase()
           
 void testPrepareSimulateInvalidCompletedPhase()
           
 void testPrepareSimulateNoCompletedPhase()
           
 void testPrepareUnknownPhaseConfigured()
           
 void testReleaseConfigurationStoreClean()
           
 void testReleaseConfigurationStoreReadFailure()
           
 void testReleaseConfigurationStoreReadFailureOnPerform()
           
 void testReleaseConfigurationStoreWriteFailure()
           
 void testReleasePerform()
           
 void testReleasePerformNoReleaseProfile()
           
 void testReleasePerformWithArguments()
           
 void testReleasePerformWithArgumentsNoReleaseProfile()
           
 void testReleasePerformWithIncompletePrepare()
           
 void testReleasePerformWithReleasePropertiesCompleted()
           
 void testReleasePerformWithResult()
           
 void testRollbackCall()
           
 void testScmExceptionThrown()
           
 void testScmRepositoryExceptionThrown()
           
 void testScmResultFailure()
           
 void testUpdateVersionsCall()
           
 
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, 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

DefaultReleaseManagerTest

public DefaultReleaseManagerTest()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class org.codehaus.plexus.PlexusTestCase
Throws:
Exception

testPrepareNoCompletedPhase

public void testPrepareNoCompletedPhase()
                                 throws Exception
Throws:
Exception

testPrepareCompletedPhase

public void testPrepareCompletedPhase()
                               throws Exception
Throws:
Exception

testPrepareCompletedPhaseNoResume

public void testPrepareCompletedPhaseNoResume()
                                       throws Exception
Throws:
Exception

testPrepareCompletedAllPhases

public void testPrepareCompletedAllPhases()
                                   throws Exception
Throws:
Exception

testPrepareInvalidCompletedPhase

public void testPrepareInvalidCompletedPhase()
                                      throws Exception
Throws:
Exception

testPrepareSimulateNoCompletedPhase

public void testPrepareSimulateNoCompletedPhase()
                                         throws Exception
Throws:
Exception

testPrepareSimulateCompletedPhase

public void testPrepareSimulateCompletedPhase()
                                       throws Exception
Throws:
Exception

testPrepareSimulateCompletedAllPhases

public void testPrepareSimulateCompletedAllPhases()
                                           throws Exception
Throws:
Exception

testPrepareSimulateInvalidCompletedPhase

public void testPrepareSimulateInvalidCompletedPhase()
                                              throws Exception
Throws:
Exception

testPrepareUnknownPhaseConfigured

public void testPrepareUnknownPhaseConfigured()
                                       throws Exception
Throws:
Exception

testReleaseConfigurationStoreReadFailure

public void testReleaseConfigurationStoreReadFailure()
                                              throws Exception
Throws:
Exception

testReleaseConfigurationStoreWriteFailure

public void testReleaseConfigurationStoreWriteFailure()
                                               throws Exception
Throws:
Exception

testReleaseConfigurationStoreClean

public void testReleaseConfigurationStoreClean()
                                        throws Exception
Throws:
Exception

testReleasePerform

public void testReleasePerform()
                        throws Exception
Throws:
Exception

testReleasePerformWithResult

public void testReleasePerformWithResult()
                                  throws Exception
Throws:
Exception

testReleasePerformNoReleaseProfile

public void testReleasePerformNoReleaseProfile()
                                        throws Exception
Throws:
Exception

testReleasePerformWithArguments

public void testReleasePerformWithArguments()
                                     throws Exception
Throws:
Exception

testReleasePerformWithArgumentsNoReleaseProfile

public void testReleasePerformWithArgumentsNoReleaseProfile()
                                                     throws Exception
Throws:
Exception

testReleasePerformWithReleasePropertiesCompleted

public void testReleasePerformWithReleasePropertiesCompleted()
                                                      throws Exception
Throws:
Exception

testReleaseConfigurationStoreReadFailureOnPerform

public void testReleaseConfigurationStoreReadFailureOnPerform()
                                                       throws Exception
Throws:
Exception

testReleasePerformWithIncompletePrepare

public void testReleasePerformWithIncompletePrepare()
                                             throws Exception
Throws:
Exception

testPerformWithDefaultClean

public void testPerformWithDefaultClean()
                                 throws Exception
Throws:
Exception

testNoScmUrlPerform

public void testNoScmUrlPerform()
                         throws Exception
Throws:
Exception

testNoSuchScmProviderExceptionThrown

public void testNoSuchScmProviderExceptionThrown()
                                          throws Exception
Throws:
Exception

testScmRepositoryExceptionThrown

public void testScmRepositoryExceptionThrown()
                                      throws Exception
Throws:
Exception

testScmExceptionThrown

public void testScmExceptionThrown()
                            throws Exception
Throws:
Exception

testScmResultFailure

public void testScmResultFailure()
                          throws Exception
Throws:
Exception

testDetermineWorkingDirectory

public void testDetermineWorkingDirectory()
                                   throws Exception
Throws:
Exception

testRollbackCall

public void testRollbackCall()
                      throws Exception
Throws:
Exception

testUpdateVersionsCall

public void testUpdateVersionsCall()
                            throws Exception
Throws:
Exception


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