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

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.AbstractRewritingReleasePhaseTestCase
                      extended by org.apache.maven.shared.release.phase.AbstractEditModeRewritingReleasePhaseTestCase
All Implemented Interfaces:
Test
Direct Known Subclasses:
RewritePomsForDevelopmentPhaseTest, RewritePomsForReleasePhaseTest

public abstract class AbstractEditModeRewritingReleasePhaseTestCase
extends AbstractRewritingReleasePhaseTestCase

Base class with tests for rewriting POMs with edit mode.

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
AbstractEditModeRewritingReleasePhaseTestCase()
           
 
Method Summary
 void testRewriteBasicPomWithEditMode()
           
 void testRewriteBasicPomWithEditModeException()
           
 void testRewriteBasicPomWithEditModeFailure()
           
 void testRewritePomPluginDependencies()
           
 void testRewritePomProfile()
           
 void testRewritePomUnmappedPluginDependencies()
           
 void testRewritePomUnmappedProfile()
           
 
Methods inherited from class org.apache.maven.shared.release.phase.AbstractRewritingReleasePhaseTestCase
createConfigurationForPomWithParentAlternateNextVersion, createConfigurationForWithParentNextVersion, createDefaultConfiguration, createDescriptorFromBasicPom, createDescriptorFromProjects, createMappedConfiguration, createReactorProjects, createReactorProjectsFromBasicPom, createUnmappedConfiguration, mapAlternateNextVersion, mapNextVersion, prepareReactorProjects, readTestProjectFile, testCleanNoProjects, testRewriteAddSchema, testRewriteBasicPom, testRewriteBasicPomEntities, testRewriteBasicPomNamespace, testRewriteBasicPomWithEncoding, testRewriteBasicPomWithNoSuchProviderException, testRewriteBasicPomWithScmRepoException, testRewriteCDataAroundValues, testRewriteCommentsAroundValues, testRewriteManagedPomDependencies, testRewriteManagedPomPlugins, testRewriteManagedPomUnmappedDependencies, testRewriteManagedPomUnmappedPlugins, testRewritePomDependencies, testRewritePomDependenciesDifferentVersion, testRewritePomDependenciesWithNamespace, testRewritePomExtension, testRewritePomExtensionDifferentVersion, testRewritePomExtensionUndefinedVersion, testRewritePomPlugins, testRewritePomPluginsDifferentVersion, testRewritePomReportPlugins, testRewritePomReportPluginsDifferentVersion, testRewritePomUnmappedDependencies, testRewritePomUnmappedExtension, testRewritePomUnmappedPlugins, testRewritePomUnmappedReportPlugins, testRewritePomWithChangedInheritedVersion, testRewritePomWithInheritedVersion, testRewritePomWithParent, testRewritePomWithReleasedParent, testRewritePomWithUnmappedParent, testRewriteUnmappedPom, testRewriteWhitespaceAroundValues, testSimulateRewriteEditModeSkipped, unmapNextVersion, verifyReactorProjects
 
Methods inherited from class org.apache.maven.shared.release.phase.AbstractReleaseTestCase
comparePomFiles, comparePomFiles, comparePomFiles, comparePomFiles, comparePomFiles, comparePomFiles, comparePomFiles, comparePomFiles, createReactorProjects, createReactorProjects, getPath, getProjectsAsMap, setUp, 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

AbstractEditModeRewritingReleasePhaseTestCase

public AbstractEditModeRewritingReleasePhaseTestCase()
Method Detail

testRewriteBasicPomWithEditMode

public void testRewriteBasicPomWithEditMode()
                                     throws Exception
Throws:
Exception

testRewriteBasicPomWithEditModeFailure

public void testRewriteBasicPomWithEditModeFailure()
                                            throws Exception
Throws:
Exception

testRewriteBasicPomWithEditModeException

public void testRewriteBasicPomWithEditModeException()
                                              throws Exception
Throws:
Exception

testRewritePomPluginDependencies

public void testRewritePomPluginDependencies()
                                      throws Exception
Throws:
Exception

testRewritePomUnmappedPluginDependencies

public void testRewritePomUnmappedPluginDependencies()
                                              throws Exception
Throws:
Exception

testRewritePomProfile

public void testRewritePomProfile()
                           throws Exception
Throws:
Exception

testRewritePomUnmappedProfile

public void testRewritePomUnmappedProfile()
                                   throws Exception
Throws:
Exception


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