|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.codehaus.plexus.PlexusTestCase org.apache.maven.plugin.dependency.its.AbstractDependencyPluginITCase org.apache.maven.plugin.dependency.its.DependencyPluginTest
public class DependencyPluginTest
This class executes the IT tests. The setup will create a pom-test.xml from the plugin pom. The version is changed to "test" and the tests themselves turned off to avoid an infinite loop. The test version of the plugin is then built and installed to a new temporary local repo used to execute the tests. This only occurs once for the suite of tests. Each test below just uses the tools to execute Maven on the named project with the passed in goals.
Field Summary |
---|
Fields inherited from class org.apache.maven.plugin.dependency.its.AbstractDependencyPluginITCase |
---|
ARTIFACT_ID, GROUP_ID, localRepositoryDirectory, PomFile, VERSION |
Fields inherited from class org.codehaus.plexus.PlexusTestCase |
---|
basedir, container |
Constructor Summary | |
---|---|
DependencyPluginTest()
|
Method Summary | |
---|---|
protected void |
setUp()
|
protected void |
tearDown()
|
void |
testHarness()
Test that build failures are reported. |
void |
testResolve()
Test Resolve Mojo. |
void |
testSibling()
Test Resolve Mojo. |
Methods inherited from class org.apache.maven.plugin.dependency.its.AbstractDependencyPluginITCase |
---|
executeMaven, executeMaven, getOutputDirectory, getPluginCLISpecification, readProject, testProject, testProject |
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 |
Constructor Detail |
---|
public DependencyPluginTest()
Method Detail |
---|
protected void setUp() throws Exception
setUp
in class AbstractDependencyPluginITCase
Exception
PlexusTestCase.setUp()
protected void tearDown() throws Exception
tearDown
in class AbstractDependencyPluginITCase
Exception
PlexusTestCase.tearDown()
public void testHarness()
public void testSibling() throws Exception
Exception
- any exception thrown during testpublic void testResolve() throws Exception
Exception
- any exception thrown during test
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |