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

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.AbstractReleaseTestCase
                  extended by org.apache.maven.shared.release.phase.ScmCommitPreparationPhaseTest
All Implemented Interfaces:
Test

public class ScmCommitPreparationPhaseTest
extends AbstractReleaseTestCase

Test the release or branch preparation SCM commit phase.

Author:
Brett Porter

Field Summary
 
Fields inherited from class org.apache.maven.shared.release.phase.AbstractReleaseTestCase
localRepository, phase, projectBuilder
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir, container
 
Constructor Summary
ScmCommitPreparationPhaseTest()
           
 
Method Summary
protected  void setUp()
           
 void testCommit()
           
 void testCommitDevelopment()
           
 void testCommitGenerateReleasePoms()
           
 void testCommitMultiModule()
           
 void testCommitNoReleaseLabel()
           
 void testIsCorrectImplementation()
           
 void testNoSuchScmProviderExceptionThrown()
           
 void testResolvesCorrectBranchImplementation()
           
 void testScmExceptionThrown()
           
 void testScmRepositoryExceptionThrown()
           
 void testScmResultFailure()
           
 void testSimulateCommit()
           
 void testSimulateCommitNoReleaseLabel()
           
 void testSuppressCommitAfterBranch()
           
 void testSuppressCommitWithRemoteTaggingFails()
           
 
Methods inherited from class org.apache.maven.shared.release.phase.AbstractReleaseTestCase
comparePomFiles, comparePomFiles, comparePomFiles, comparePomFiles, comparePomFiles, comparePomFiles, comparePomFiles, comparePomFiles, createReactorProjects, createReactorProjects, getPath, getProjectsAsMap, tearDown
 
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
 
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

ScmCommitPreparationPhaseTest

public ScmCommitPreparationPhaseTest()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class AbstractReleaseTestCase
Throws:
Exception

testIsCorrectImplementation

public void testIsCorrectImplementation()

testResolvesCorrectBranchImplementation

public void testResolvesCorrectBranchImplementation()
                                             throws Exception
Throws:
Exception

testCommit

public void testCommit()
                throws Exception
Throws:
Exception

testCommitMultiModule

public void testCommitMultiModule()
                           throws Exception
Throws:
Exception

testCommitDevelopment

public void testCommitDevelopment()
                           throws Exception
Throws:
Exception

testCommitNoReleaseLabel

public void testCommitNoReleaseLabel()
                              throws Exception
Throws:
Exception

testCommitGenerateReleasePoms

public void testCommitGenerateReleasePoms()
                                   throws Exception
Throws:
Exception

testSimulateCommit

public void testSimulateCommit()
                        throws Exception
Throws:
Exception

testSimulateCommitNoReleaseLabel

public void testSimulateCommitNoReleaseLabel()
                                      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

testSuppressCommitWithRemoteTaggingFails

public void testSuppressCommitWithRemoteTaggingFails()
                                              throws Exception
Throws:
Exception

testSuppressCommitAfterBranch

public void testSuppressCommitAfterBranch()
                                   throws Exception
Throws:
Exception


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