public abstract class AbstractRewritingReleasePhaseTestCase extends AbstractReleaseTestCase
localRepository, phase, projectBuilder| Constructor and Description |
|---|
AbstractRewritingReleasePhaseTestCase() |
comparePomFiles, comparePomFiles, comparePomFiles, comparePomFiles, comparePomFiles, comparePomFiles, comparePomFiles, comparePomFiles, createReactorProjects, createReactorProjects, getPath, getProjectsAsMap, setUp, tearDowncreateContainerInstance, customizeContext, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getContainer, getCustomConfiguration, getResourceAsStream, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, releasecountTestCases, createResult, getName, run, run, runBare, runTest, setName, toStringassertEquals, 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, formatpublic AbstractRewritingReleasePhaseTestCase()
public void testRewriteBasicPomEntities()
throws Exception
Exceptionpublic void testRewriteBasicPomNamespace()
throws Exception
Exceptionpublic void testRewriteBasicPomWithEncoding()
throws Exception
Exceptionpublic void testRewritePomWithUnmappedParent()
throws Exception
Exceptionpublic void testRewritePomWithReleasedParent()
throws Exception
Exceptionprotected abstract void mapAlternateNextVersion(ReleaseDescriptor config, String projectId)
public void testRewritePomWithInheritedVersion()
throws Exception
Exceptionpublic void testRewritePomWithChangedInheritedVersion()
throws Exception
Exceptionprotected abstract ReleaseDescriptor createConfigurationForPomWithParentAlternateNextVersion(List<MavenProject> reactorProjects) throws Exception
Exceptionpublic void testRewritePomDependencies()
throws Exception
Exceptionpublic void testRewritePomUnmappedDependencies()
throws Exception
Exceptionpublic void testRewritePomDependenciesDifferentVersion()
throws Exception
Exceptionpublic void testRewriteManagedPomDependencies()
throws Exception
Exceptionpublic void testRewriteManagedPomUnmappedDependencies()
throws Exception
Exceptionpublic void testRewritePomUnmappedPlugins()
throws Exception
Exceptionpublic void testRewritePomPluginsDifferentVersion()
throws Exception
Exceptionpublic void testRewriteManagedPomPlugins()
throws Exception
Exceptionpublic void testRewriteManagedPomUnmappedPlugins()
throws Exception
Exceptionpublic void testRewritePomReportPlugins()
throws Exception
Exceptionpublic void testRewritePomUnmappedReportPlugins()
throws Exception
Exceptionpublic void testRewritePomReportPluginsDifferentVersion()
throws Exception
Exceptionpublic void testRewritePomUnmappedExtension()
throws Exception
Exceptionpublic void testRewritePomExtensionDifferentVersion()
throws Exception
Exceptionpublic void testRewritePomExtensionUndefinedVersion()
throws Exception
Exceptionpublic void testSimulateRewriteEditModeSkipped()
throws Exception
Exceptionpublic void testRewriteBasicPomWithScmRepoException()
throws Exception
Exceptionpublic void testRewriteBasicPomWithNoSuchProviderException()
throws Exception
Exceptionpublic void testRewriteWhitespaceAroundValues()
throws Exception
Exceptionpublic void testRewriteCommentsAroundValues()
throws Exception
Exceptionpublic void testRewriteCDataAroundValues()
throws Exception
Exceptionprotected ReleaseDescriptor createUnmappedConfiguration(List<MavenProject> reactorProjects) throws Exception
Exceptionprotected List<MavenProject> createReactorProjects(String path) throws Exception
Exceptionprotected ReleaseDescriptor createDefaultConfiguration(List<MavenProject> reactorProjects) throws Exception
Exceptionprotected ReleaseDescriptor createMappedConfiguration(List<MavenProject> reactorProjects) throws Exception
Exceptionprotected List<MavenProject> createReactorProjectsFromBasicPom() throws Exception
Exceptionprotected abstract ReleaseDescriptor createConfigurationForWithParentNextVersion(List<MavenProject> reactorProjects) throws Exception
Exceptionprotected abstract void unmapNextVersion(ReleaseDescriptor config, String projectId)
protected abstract void mapNextVersion(ReleaseDescriptor config, String projectId)
protected ReleaseDescriptor createDescriptorFromBasicPom(List<MavenProject> reactorProjects) throws Exception
Exceptionprotected abstract String readTestProjectFile(String fileName) throws IOException
IOExceptionpublic void testRewritePomDependenciesWithNamespace()
throws Exception
Exceptionprotected abstract List<MavenProject> prepareReactorProjects(String path, boolean copyFiles) throws Exception
Exceptionprotected void verifyReactorProjects(String path, boolean copyFiles) throws Exception
Exceptionprotected ReleaseDescriptor createDescriptorFromProjects(List<MavenProject> reactorProjects)
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.