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

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

public class ScmCheckModificationsPhaseTest
extends org.codehaus.plexus.PlexusTestCase

Test the SCM modification check phase.

Author:
Brett Porter

Field Summary
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir, container
 
Constructor Summary
ScmCheckModificationsPhaseTest()
           
 
Method Summary
protected  void setUp()
           
 void testModificationsToAdditionalExcludedFiles()
           
 void testModificationsToCustomExcludedFilesOnly()
           
 void testModificationsToExcludedFilesOnly()
           
 void testModificationsToIncludedAndExcludedFiles()
           
 void testModificationsToIncludedFilesOnly()
           
 void testModificationsToPoms()
           
 void testNoModifications()
           
 void testNoSuchScmProviderExceptionThrown()
           
 void testScmExceptionThrown()
           
 void testScmRepositoryExceptionThrown()
           
 void testScmResultFailure()
           
 
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

ScmCheckModificationsPhaseTest

public ScmCheckModificationsPhaseTest()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class org.codehaus.plexus.PlexusTestCase
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

testNoModifications

public void testNoModifications()
                         throws Exception
Throws:
Exception

testModificationsToExcludedFilesOnly

public void testModificationsToExcludedFilesOnly()
                                          throws Exception
Throws:
Exception

testModificationsToCustomExcludedFilesOnly

public void testModificationsToCustomExcludedFilesOnly()
                                                throws Exception
Throws:
Exception

testModificationsToPoms

public void testModificationsToPoms()
                             throws Exception
Throws:
Exception

testModificationsToIncludedFilesOnly

public void testModificationsToIncludedFilesOnly()
                                          throws Exception
Throws:
Exception

testModificationsToIncludedAndExcludedFiles

public void testModificationsToIncludedAndExcludedFiles()
                                                 throws Exception
Throws:
Exception

testModificationsToAdditionalExcludedFiles

public void testModificationsToAdditionalExcludedFiles()
                                                throws Exception
Throws:
Exception


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