public class GenerateReleasePomsPhaseTest extends AbstractRewritingReleasePhaseTestCase
localRepository, phase, projectBuilder
Constructor and Description |
---|
GenerateReleasePomsPhaseTest() |
createDefaultConfiguration, createDescriptorFromBasicPom, createMappedConfiguration, createReactorProjects, createReactorProjectsFromBasicPom, createUnmappedConfiguration, 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
comparePomFiles, comparePomFiles, comparePomFiles, comparePomFiles, comparePomFiles, comparePomFiles, comparePomFiles, createReactorProjects, createReactorProjects, getPath, getProjectsAsMap, tearDown
createContainerInstance, customizeContext, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getContainer, getCustomConfiguration, getResourceAsStream, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, release
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
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
protected void setUp() throws Exception
setUp
in class AbstractReleaseTestCase
Exception
public void testRewriteExternalRangeDependency() throws Exception
Exception
public void testSuppressCommitBeforeTagOrBranch() throws Exception
Exception
public void testSuppressCommitBeforeTagOrBranchAndReomoteTagging() throws Exception
Exception
protected ReleaseDescriptor createDescriptorFromProjects(List<MavenProject> reactorProjects)
createDescriptorFromProjects
in class AbstractRewritingReleasePhaseTestCase
protected List<MavenProject> prepareReactorProjects(String path, boolean copyFiles) throws Exception
prepareReactorProjects
in class AbstractRewritingReleasePhaseTestCase
Exception
protected void verifyReactorProjects(String path, boolean copyFiles) throws Exception
verifyReactorProjects
in class AbstractRewritingReleasePhaseTestCase
Exception
protected void mapNextVersion(ReleaseDescriptor config, String projectId)
mapNextVersion
in class AbstractRewritingReleasePhaseTestCase
protected void mapAlternateNextVersion(ReleaseDescriptor config, String projectId)
mapAlternateNextVersion
in class AbstractRewritingReleasePhaseTestCase
protected void unmapNextVersion(ReleaseDescriptor config, String projectId)
unmapNextVersion
in class AbstractRewritingReleasePhaseTestCase
protected ReleaseDescriptor createConfigurationForPomWithParentAlternateNextVersion(List<MavenProject> reactorProjects) throws Exception
createConfigurationForPomWithParentAlternateNextVersion
in class AbstractRewritingReleasePhaseTestCase
Exception
protected ReleaseDescriptor createConfigurationForWithParentNextVersion(List<MavenProject> reactorProjects) throws Exception
createConfigurationForWithParentNextVersion
in class AbstractRewritingReleasePhaseTestCase
Exception
protected String readTestProjectFile(String fileName) throws IOException
readTestProjectFile
in class AbstractRewritingReleasePhaseTestCase
IOException
protected void comparePomFiles(MavenProject project, String expectedFileSuffix, boolean normalizeLineEndings) throws IOException
comparePomFiles
in class AbstractReleaseTestCase
IOException
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.