public abstract class AbstractReleaseTestCase
extends org.codehaus.plexus.PlexusTestCase
Modifier and Type | Field and Description |
---|---|
protected ArtifactRepository |
localRepository |
protected ReleasePhase |
phase |
protected MavenProjectBuilder |
projectBuilder |
Constructor and Description |
---|
AbstractReleaseTestCase() |
Modifier and Type | Method and Description |
---|---|
protected void |
comparePomFiles(File expectedFile,
File actualFile) |
protected void |
comparePomFiles(File expectedFile,
File actualFile,
boolean normalizeLineEndings) |
protected boolean |
comparePomFiles(List<MavenProject> reactorProjects) |
protected boolean |
comparePomFiles(List<MavenProject> reactorProjects,
boolean normalizeLineEndings) |
protected void |
comparePomFiles(List<MavenProject> reactorProjects,
String expectedFileSuffix) |
protected void |
comparePomFiles(List<MavenProject> reactorProjects,
String expectedFileSuffix,
boolean normalizeLineEndings) |
protected void |
comparePomFiles(MavenProject project,
String expectedFileSuffix) |
protected void |
comparePomFiles(MavenProject project,
String expectedFileSuffix,
boolean normalizeLineEndings) |
protected List<MavenProject> |
createReactorProjects(String path,
String subpath) |
protected List<MavenProject> |
createReactorProjects(String path,
String targetPath,
String subpath) |
static String |
getPath(File file) |
protected static Map<String,MavenProject> |
getProjectsAsMap(List<MavenProject> reactorProjects) |
protected void |
setUp() |
protected void |
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 MavenProjectBuilder projectBuilder
protected ArtifactRepository localRepository
protected ReleasePhase phase
protected void setUp() throws Exception
setUp
in class org.codehaus.plexus.PlexusTestCase
Exception
protected void tearDown() throws Exception
tearDown
in class org.codehaus.plexus.PlexusTestCase
Exception
protected List<MavenProject> createReactorProjects(String path, String subpath) throws Exception
Exception
protected List<MavenProject> createReactorProjects(String path, String targetPath, String subpath) throws Exception
Exception
protected static Map<String,MavenProject> getProjectsAsMap(List<MavenProject> reactorProjects)
protected boolean comparePomFiles(List<MavenProject> reactorProjects) throws IOException
IOException
protected boolean comparePomFiles(List<MavenProject> reactorProjects, boolean normalizeLineEndings) throws IOException
IOException
protected void comparePomFiles(List<MavenProject> reactorProjects, String expectedFileSuffix) throws IOException
IOException
protected void comparePomFiles(List<MavenProject> reactorProjects, String expectedFileSuffix, boolean normalizeLineEndings) throws IOException
IOException
protected void comparePomFiles(MavenProject project, String expectedFileSuffix) throws IOException
IOException
protected void comparePomFiles(MavenProject project, String expectedFileSuffix, boolean normalizeLineEndings) throws IOException
IOException
protected void comparePomFiles(File expectedFile, File actualFile) throws IOException
IOException
protected void comparePomFiles(File expectedFile, File actualFile, boolean normalizeLineEndings) throws IOException
IOException
public static String getPath(File file) throws IOException
IOException
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.