|
||||||||||
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.testing.AbstractMojoTestCase
org.apache.maven.plugins.enforcer.TestRequirePluginVersions
public class TestRequirePluginVersions
The Class TestRequirePluginVersions.
Field Summary |
---|
Fields inherited from class org.codehaus.plexus.PlexusTestCase |
---|
basedir, container |
Constructor Summary | |
---|---|
TestRequirePluginVersions()
|
Method Summary | |
---|---|
void |
testCombinePlugins()
Test combining values from both lists |
void |
testCombinePlugins1()
Test combining with an empty list |
void |
testCombinePlugins2()
Test combining with a null list |
void |
testCombinePlugins3()
Test combining with an empty string |
void |
testCombinePlugins4()
Test combining with a null string |
void |
testCombinePlugins5()
Test combining with an invalid plugin string |
void |
testGetAdditionalPlugins()
Test get additional plugins. |
void |
testGetAdditionalPluginsEmptySet()
Test get additional plugins empty set. |
void |
testGetAdditionalPluginsInvalidFormat()
Test get additional plugins invalid format. |
void |
testGetAdditionalPluginsNull()
Test get additional plugins null. |
void |
testGetAllPlugins()
Test get all plugins. |
void |
testGetUncheckedPlugins()
Test remove Unchecked plugins. |
void |
testHasVersionSpecified()
Test has version specified. |
void |
testHasVersionSpecifiedWithProperties()
Test has version specified with properties. |
void |
testId()
Test id. |
Methods inherited from class org.apache.maven.plugin.testing.AbstractMojoTestCase |
---|
configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, setUp, setVariableValueToObject |
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, tearDown |
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 TestRequirePluginVersions()
Method Detail |
---|
public void testHasVersionSpecified()
public void testHasVersionSpecifiedWithProperties()
public void testGetAllPlugins() throws ArtifactResolutionException, ArtifactNotFoundException, IOException, XmlPullParserException
ArtifactResolutionException
- the artifact resolution exception
ArtifactNotFoundException
- the artifact not found exception
IOException
- Signals that an I/O exception has occurred.
XmlPullParserException
- the xml pull parser exceptionpublic void testGetAdditionalPluginsNull() throws MojoExecutionException
MojoExecutionException
- the mojo execution exceptionpublic void testGetAdditionalPluginsInvalidFormat()
public void testGetAdditionalPluginsEmptySet() throws MojoExecutionException
MojoExecutionException
- the mojo execution exceptionpublic void testGetAdditionalPlugins() throws MojoExecutionException
MojoExecutionException
- the mojo execution exceptionpublic void testGetUncheckedPlugins() throws MojoExecutionException
MojoExecutionException
- the mojo execution exceptionpublic void testCombinePlugins()
public void testCombinePlugins1()
public void testCombinePlugins2()
public void testCombinePlugins3()
public void testCombinePlugins4()
public void testCombinePlugins5()
public void testId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |