public abstract class AbstractRewritingReleasePhaseTestCase extends AbstractReleaseTestCase
localRepository, phase, projectBuilder
Constructor and Description |
---|
AbstractRewritingReleasePhaseTestCase(String modelETL) |
comparePomFiles, comparePomFiles, comparePomFiles, comparePomFiles, comparePomFiles, comparePomFiles, comparePomFiles, comparePomFiles, createReactorProjects, createReactorProjects, createReleaseDescriptorBuilder, getPath, getProjectsAsMap, getWorkingDirectory
customizeComponentConfiguration, customizeContainerConfiguration, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getConfigurationName, getContainer, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, setupContainer, tearDown
public AbstractRewritingReleasePhaseTestCase(String modelETL)
public static Collection<Object[]> data()
public void setUp() throws Exception
setUp
in class AbstractReleaseTestCase
Exception
protected abstract String getRoleHint()
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(ReleaseDescriptorBuilder config, String projectId)
public void testRewritePomWithInheritedVersion() throws Exception
Exception
public void testRewritePomWithChangedInheritedVersion() throws Exception
Exception
protected abstract ReleaseDescriptorBuilder createConfigurationForPomWithParentAlternateNextVersion(List<MavenProject> reactorProjects, String workingDirectory) 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 ReleaseDescriptorBuilder createUnmappedConfiguration(List<MavenProject> reactorProjects, String workingDirectory) throws Exception
Exception
protected List<MavenProject> createReactorProjects(String path) throws Exception
Exception
protected ReleaseDescriptorBuilder createDefaultConfiguration(List<MavenProject> reactorProjects, String workingDirectory) throws Exception
Exception
protected ReleaseDescriptorBuilder createMappedConfiguration(List<MavenProject> reactorProjects, String workingDirectory) throws Exception
Exception
protected abstract ReleaseDescriptorBuilder createConfigurationForWithParentNextVersion(List<MavenProject> reactorProjects, String workingDirectory) throws Exception
Exception
protected abstract void unmapNextVersion(ReleaseDescriptorBuilder config, String projectId)
protected abstract void mapNextVersion(ReleaseDescriptorBuilder config, String projectId)
protected ReleaseDescriptorBuilder createDescriptorFromBasicPom(List<MavenProject> reactorProjects, String workingDirectory) 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) throws Exception
Exception
protected void verifyReactorProjects(String path, boolean copyFiles) throws Exception
Exception
protected ReleaseDescriptorBuilder createDescriptorFromProjects(List<MavenProject> reactorProjects, String workingDirectory)
Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.