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, 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
public AbstractRewritingReleasePhaseTestCase()
public void testRewriteBasicPomEntities() throws Exception
Exception
public void testRewriteBasicPomNamespace() throws Exception
Exception
public void testRewriteBasicPomWithEncoding() throws Exception
Exception
public void testRewritePomWithUnmappedParent() throws Exception
Exception
public void testRewritePomWithReleasedParent() throws Exception
Exception
protected abstract void mapAlternateNextVersion(ReleaseDescriptor config, String projectId)
public void testRewritePomWithInheritedVersion() throws Exception
Exception
public void testRewritePomWithChangedInheritedVersion() throws Exception
Exception
protected abstract ReleaseDescriptor createConfigurationForPomWithParentAlternateNextVersion(List<MavenProject> reactorProjects) throws Exception
Exception
public void testRewritePomDependencies() throws Exception
Exception
public void testRewritePomUnmappedDependencies() throws Exception
Exception
public void testRewritePomDependenciesDifferentVersion() throws Exception
Exception
public void testRewriteManagedPomDependencies() throws Exception
Exception
public void testRewriteManagedPomUnmappedDependencies() throws Exception
Exception
public void testRewritePomUnmappedPlugins() throws Exception
Exception
public void testRewritePomPluginsDifferentVersion() throws Exception
Exception
public void testRewriteManagedPomPlugins() throws Exception
Exception
public void testRewriteManagedPomUnmappedPlugins() throws Exception
Exception
public void testRewritePomReportPlugins() throws Exception
Exception
public void testRewritePomUnmappedReportPlugins() throws Exception
Exception
public void testRewritePomReportPluginsDifferentVersion() throws Exception
Exception
public void testRewritePomUnmappedExtension() throws Exception
Exception
public void testRewritePomExtensionDifferentVersion() throws Exception
Exception
public void testRewritePomExtensionUndefinedVersion() throws Exception
Exception
public void testSimulateRewriteEditModeSkipped() throws Exception
Exception
public void testRewriteBasicPomWithScmRepoException() throws Exception
Exception
public void testRewriteBasicPomWithNoSuchProviderException() throws Exception
Exception
public void testRewriteWhitespaceAroundValues() throws Exception
Exception
public void testRewriteCommentsAroundValues() throws Exception
Exception
public void testRewriteCDataAroundValues() throws Exception
Exception
protected ReleaseDescriptor createUnmappedConfiguration(List<MavenProject> reactorProjects) throws Exception
Exception
protected List<MavenProject> createReactorProjects(String path) throws Exception
Exception
protected ReleaseDescriptor createDefaultConfiguration(List<MavenProject> reactorProjects) throws Exception
Exception
protected ReleaseDescriptor createMappedConfiguration(List<MavenProject> reactorProjects) throws Exception
Exception
protected List<MavenProject> createReactorProjectsFromBasicPom() throws Exception
Exception
protected abstract ReleaseDescriptor createConfigurationForWithParentNextVersion(List<MavenProject> reactorProjects) throws Exception
Exception
protected abstract void unmapNextVersion(ReleaseDescriptor config, String projectId)
protected abstract void mapNextVersion(ReleaseDescriptor config, String projectId)
protected ReleaseDescriptor createDescriptorFromBasicPom(List<MavenProject> reactorProjects) throws Exception
Exception
protected abstract String readTestProjectFile(String fileName) throws IOException
IOException
public void testRewritePomDependenciesWithNamespace() throws Exception
Exception
protected abstract List<MavenProject> prepareReactorProjects(String path, boolean copyFiles) throws Exception
Exception
protected void verifyReactorProjects(String path, boolean copyFiles) throws Exception
Exception
protected ReleaseDescriptor createDescriptorFromProjects(List<MavenProject> reactorProjects)
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.