Class JavaMojoDescriptorExtractorTest
java.lang.Object
org.apache.maven.tools.plugin.extractor.javadoc.JavaMojoDescriptorExtractorTest
- Author:
- jdcasey
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
checkExpected
(String directory) compare mojos from generated plugin.xml against plugin-expected.xmlprotected List<org.apache.maven.plugin.descriptor.MojoDescriptor>
extract plugin descriptor for test resources directory and check against plugin-expected.xmlprotected org.apache.maven.plugin.descriptor.PluginDescriptor
generate plugin.xml for a test resources directory content.
-
Constructor Details
-
JavaMojoDescriptorExtractorTest
public JavaMojoDescriptorExtractorTest()
-
-
Method Details
-
generate
protected org.apache.maven.plugin.descriptor.PluginDescriptor generate(String directory) throws Exception generate plugin.xml for a test resources directory content.- Throws:
Exception
-
checkExpected
compare mojos from generated plugin.xml against plugin-expected.xml- Throws:
Exception
-
extract
protected List<org.apache.maven.plugin.descriptor.MojoDescriptor> extract(String directory) throws Exception extract plugin descriptor for test resources directory and check against plugin-expected.xml- Throws:
Exception
-