|
|||||||||
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.apache.maven.tools.plugin.extractor.java.JavaMojoDescriptorExtractorTest
public class JavaMojoDescriptorExtractorTest
Constructor Summary | |
---|---|
JavaMojoDescriptorExtractorTest()
|
Method Summary | |
---|---|
protected void |
checkExpected(String directory)
compare mojos from generated plugin.xml against plugin-expected.xml |
protected List<MojoDescriptor> |
extract(String directory)
extract plugin descriptor for test resources directory and check against plugin-expected.xml |
protected PluginDescriptor |
generate(String directory)
generate plugin.xml for a test resources directory content. |
protected void |
setUp()
|
void |
testAnnotationInPlugin()
Check that the mojo descriptor extractor will ignore any annotations that are found. |
void |
testJava15SyntaxParsing()
Check that the mojo descriptor extractor will successfully parse sources with Java 1.5 language features like generics. |
void |
testMaven30Parameters()
|
void |
testShouldFindTwoMojoDescriptorsInTestSourceDirectory()
|
void |
testShouldPropagateImplementationParameter()
|
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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 JavaMojoDescriptorExtractorTest()
Method Detail |
---|
protected void setUp()
setUp
in class TestCase
protected PluginDescriptor generate(String directory) throws Exception
Exception
protected void checkExpected(String directory) throws Exception
Exception
protected List<MojoDescriptor> extract(String directory) throws Exception
Exception
public void testShouldFindTwoMojoDescriptorsInTestSourceDirectory() throws Exception
Exception
public void testShouldPropagateImplementationParameter() throws Exception
Exception
public void testMaven30Parameters() throws Exception
Exception
public void testAnnotationInPlugin() throws Exception
Exception
public void testJava15SyntaxParsing() throws Exception
Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |