|
||||||||||
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.AbstractCoreMavenComponentTestCase org.apache.maven.plugin.PluginManagerTest
public class PluginManagerTest
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.maven.AbstractCoreMavenComponentTestCase |
---|
AbstractCoreMavenComponentTestCase.PluginBuilder, AbstractCoreMavenComponentTestCase.ProjectBuilder |
Field Summary |
---|
Fields inherited from class org.apache.maven.AbstractCoreMavenComponentTestCase |
---|
projectBuilder, repositorySystem |
Constructor Summary | |
---|---|
PluginManagerTest()
|
Method Summary | |
---|---|
protected void |
assertPluginDescriptor(MojoDescriptor mojoDescriptor,
String groupId,
String artifactId,
String version)
|
protected String |
getProjectsDirectory()
|
protected void |
setUp()
|
protected void |
tearDown()
|
void |
testAggregatorMojo()
This is the case where the Mojo wants to execute on every project and then do something at the end with the results of each project. |
void |
testMojoConfigurationIsMergedCorrectly()
|
void |
testMojoDescriptorRetrieval()
|
void |
testMojoThatIsPresentInTheCurrentBuild()
The case where you have a plugin in the current build that you want to be used on projects in the current build. |
void |
testMojoThatRequiresExecutionToAGivenPhaseBeforeExecutingItself()
This is the case where a Mojo needs the lifecycle run to a certain phase before it can do anything useful. |
void |
testMojoWhereInternallyStatedDependencyIsOverriddenByProject()
The case where the user wants to specify an alternate version of the underlying tool. |
void |
testPluginLoading()
|
void |
testPluginRealmCache()
|
void |
testRemoteResourcesPlugin()
|
void |
testSurefirePlugin()
|
void |
testThatPluginDependencyThatHasSystemScopeIsResolved()
|
Methods inherited from class org.apache.maven.AbstractCoreMavenComponentTestCase |
---|
createMavenExecutionRequest, createMavenSession, createMavenSession, createStubMavenProject, customizeContainerConfiguration, getLocalRepository, getPluginArtifactRepositories, getProject, getRemoteRepositories, initRepoSession |
Methods inherited from class org.codehaus.plexus.PlexusTestCase |
---|
customizeComponentConfiguration, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getConfigurationName, getContainer, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, setupContainer |
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 PluginManagerTest()
Method Detail |
---|
protected void setUp() throws Exception
setUp
in class AbstractCoreMavenComponentTestCase
Exception
protected void tearDown() throws Exception
tearDown
in class AbstractCoreMavenComponentTestCase
Exception
protected String getProjectsDirectory()
getProjectsDirectory
in class AbstractCoreMavenComponentTestCase
public void testPluginLoading() throws Exception
Exception
public void testMojoDescriptorRetrieval() throws Exception
Exception
public void testRemoteResourcesPlugin() throws Exception
Exception
public void testSurefirePlugin() throws Exception
Exception
public void testMojoConfigurationIsMergedCorrectly() throws Exception
Exception
public void testMojoWhereInternallyStatedDependencyIsOverriddenByProject() throws Exception
Exception
public void testMojoThatIsPresentInTheCurrentBuild() throws Exception
Exception
public void testAggregatorMojo() throws Exception
Exception
public void testMojoThatRequiresExecutionToAGivenPhaseBeforeExecutingItself() throws Exception
Exception
public void testThatPluginDependencyThatHasSystemScopeIsResolved() throws Exception
Exception
protected void assertPluginDescriptor(MojoDescriptor mojoDescriptor, String groupId, String artifactId, String version)
public void testPluginRealmCache() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |