|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.codehaus.plexus.PlexusTestCase
org.apache.maven.plugin.dependency.its.AbstractDependencyPluginITCase
public abstract class AbstractDependencyPluginITCase
Field Summary | |
---|---|
protected static java.lang.String |
ARTIFACT_ID
Artifact-Id for running test builds. |
protected static java.lang.String |
GROUP_ID
Group-Id for running test builds. |
protected static java.io.File |
localRepositoryDirectory
Test repository directory. |
protected static java.io.File |
PomFile
Pom File |
protected static java.lang.String |
VERSION
Version under which the plugin was installed to the test-time local repository for running test builds. |
Fields inherited from class org.codehaus.plexus.PlexusTestCase |
---|
basedir, container |
Constructor Summary | |
---|---|
AbstractDependencyPluginITCase()
|
Method Summary | |
---|---|
protected void |
executeMaven(java.io.File pom,
java.util.Properties properties,
java.util.List goals)
|
protected void |
executeMaven(java.io.File pom,
java.util.Properties properties,
java.util.List goals,
boolean switchLocalRepo)
|
protected java.io.File |
getOutputDirectory(java.lang.String projectName)
|
protected java.lang.String |
getPluginCLISpecification()
|
protected org.apache.maven.project.MavenProject |
readProject(java.io.File pom)
|
protected void |
setUp()
|
protected void |
tearDown()
|
protected void |
testProject(java.lang.String projectName,
java.util.Properties properties,
java.lang.String goalList)
Execute the plugin. |
protected void |
testProject(java.lang.String projectName,
java.lang.String goalList)
Execute the plugin with no properties |
Methods inherited from class org.codehaus.plexus.PlexusTestCase |
---|
createContainerInstance, customizeContext, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getContainer, getCustomConfiguration, getResourceAsStream, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, release |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static java.io.File localRepositoryDirectory
protected static java.io.File PomFile
protected static final java.lang.String GROUP_ID
protected static final java.lang.String ARTIFACT_ID
protected static final java.lang.String VERSION
Constructor Detail |
---|
public AbstractDependencyPluginITCase()
Method Detail |
---|
protected void setUp() throws java.lang.Exception
setUp
in class org.codehaus.plexus.PlexusTestCase
java.lang.Exception
PlexusTestCase.setUp()
protected void tearDown() throws java.lang.Exception
tearDown
in class org.codehaus.plexus.PlexusTestCase
java.lang.Exception
PlexusTestCase.tearDown()
protected void testProject(java.lang.String projectName, java.lang.String goalList) throws java.lang.Exception
projectName
- project directorygoalList
- comma separated list of goals to
execute
java.lang.Exception
- any exception generated during testprotected void testProject(java.lang.String projectName, java.util.Properties properties, java.lang.String goalList) throws java.lang.Exception
projectName
- project directoryproperties
- additional propertiesgoalList
- comma separated list of goals to
execute
java.lang.Exception
- any exception generated during testprotected java.io.File getOutputDirectory(java.lang.String projectName)
protected void executeMaven(java.io.File pom, java.util.Properties properties, java.util.List goals) throws org.apache.maven.shared.test.plugin.TestToolsException, ExecutionFailedException
org.apache.maven.shared.test.plugin.TestToolsException
ExecutionFailedException
protected void executeMaven(java.io.File pom, java.util.Properties properties, java.util.List goals, boolean switchLocalRepo) throws org.apache.maven.shared.test.plugin.TestToolsException, ExecutionFailedException
org.apache.maven.shared.test.plugin.TestToolsException
ExecutionFailedException
protected org.apache.maven.project.MavenProject readProject(java.io.File pom) throws org.apache.maven.shared.test.plugin.TestToolsException
org.apache.maven.shared.test.plugin.TestToolsException
protected java.lang.String getPluginCLISpecification()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |