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

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

public class ScmTagPhaseTest
extends AbstractReleaseTestCase

Test the SCM tag 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
ScmTagPhaseTest()
           
 
Method Summary
static String getPath(File file)
           
protected  void setUp()
           
 void testCommitForFlatMultiModule()
           
 void testCommitMultiModule()
           
 void testCommitMultiModuleDeepFolders()
           
 void testNoSuchScmProviderExceptionThrown()
           
 void testScmExceptionThrown()
           
 void testScmRepositoryExceptionThrown()
           
 void testScmResultFailure()
           
 void testSimulateTag()
           
 void testSimulateTagNoReleaseLabel()
           
 void testTag()
           
 void testTagNoReleaseLabel()
           
 
Methods inherited from class org.apache.maven.shared.release.phase.AbstractReleaseTestCase
comparePomFiles, comparePomFiles, comparePomFiles, comparePomFiles, comparePomFiles, comparePomFiles, comparePomFiles, comparePomFiles, createReactorProjects, createReactorProjects, 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

ScmTagPhaseTest

public ScmTagPhaseTest()
Method Detail

setUp

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

getPath

public static String getPath(File file)
                      throws IOException
Throws:
IOException

testTag

public void testTag()
             throws Exception
Throws:
Exception

testCommitMultiModuleDeepFolders

public void testCommitMultiModuleDeepFolders()
                                      throws Exception
Throws:
Exception

testCommitForFlatMultiModule

public void testCommitForFlatMultiModule()
                                  throws Exception
Throws:
Exception

testCommitMultiModule

public void testCommitMultiModule()
                           throws Exception
Throws:
Exception

testTagNoReleaseLabel

public void testTagNoReleaseLabel()
                           throws Exception
Throws:
Exception

testSimulateTag

public void testSimulateTag()
                     throws Exception
Throws:
Exception

testSimulateTagNoReleaseLabel

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


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