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, 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, formatprotected MavenProjectBuilder projectBuilder
protected ArtifactRepository localRepository
protected ReleasePhase phase
protected void setUp()
throws Exception
setUp in class org.codehaus.plexus.PlexusTestCaseExceptionprotected void tearDown()
throws Exception
tearDown in class org.codehaus.plexus.PlexusTestCaseExceptionprotected List<MavenProject> createReactorProjects(String path, String subpath) throws Exception
Exceptionprotected List<MavenProject> createReactorProjects(String path, String targetPath, String subpath) throws Exception
Exceptionprotected static Map<String,MavenProject> getProjectsAsMap(List<MavenProject> reactorProjects)
protected boolean comparePomFiles(List<MavenProject> reactorProjects) throws IOException
IOExceptionprotected boolean comparePomFiles(List<MavenProject> reactorProjects, boolean normalizeLineEndings) throws IOException
IOExceptionprotected void comparePomFiles(List<MavenProject> reactorProjects, String expectedFileSuffix) throws IOException
IOExceptionprotected void comparePomFiles(List<MavenProject> reactorProjects, String expectedFileSuffix, boolean normalizeLineEndings) throws IOException
IOExceptionprotected void comparePomFiles(MavenProject project, String expectedFileSuffix) throws IOException
IOExceptionprotected void comparePomFiles(MavenProject project, String expectedFileSuffix, boolean normalizeLineEndings) throws IOException
IOExceptionprotected void comparePomFiles(File expectedFile, File actualFile) throws IOException
IOExceptionprotected void comparePomFiles(File expectedFile, File actualFile, boolean normalizeLineEndings) throws IOException
IOExceptionpublic static String getPath(File file) throws IOException
IOExceptionCopyright © 2002–2015 The Apache Software Foundation. All rights reserved.