|
||||||||||
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.testing.AbstractMojoTestCase org.apache.maven.plugin.javadoc.JavadocReportTest
public class JavadocReportTest
Test JavadocReport
class.
Field Summary |
---|
Fields inherited from class org.codehaus.plexus.PlexusTestCase |
---|
basedir, container |
Constructor Summary | |
---|---|
JavadocReportTest()
|
Method Summary | |
---|---|
protected void |
setUp()
|
void |
testAggregate()
Method to test the aggregate parameter |
void |
testAggregateJavadocResources()
Test the javadoc resources in the aggregation case. |
void |
testCustomConfiguration()
Test javadoc plugin using custom configuration. noindex, notree and nodeprecated parameters were set to true. |
void |
testDefaultConfiguration()
Test when default configuration is provided for the plugin |
void |
testDocfiles()
Test the recursion and exclusion of the doc-files subdirectories. |
void |
testDoclets()
Method to test the doclet artifact configuration |
void |
testExceptions()
|
void |
testHeaderFooter()
Test newline in the header/footer parameter |
void |
testHelpfile()
Method to test the <helpfile/> parameter. |
void |
testJavadocResources()
Test the javadoc resources. |
void |
testJdk5()
Method to test the jdk5 javadoc |
void |
testJdk6()
Method to test the jdk6 javadoc |
void |
testNewline()
Test newline in various string parameters |
void |
testPom()
Test the javadoc for a POM project. |
void |
testProxy()
Method to test proxy support in the javadoc |
void |
testQuotedPath()
Method to test when the path to the project sources has an apostrophe (') |
void |
testStylesheetfile()
Method to test the <stylesheetfile/> parameter. |
void |
testSubpackages()
Method for testing the subpackages and excludePackageNames parameter |
void |
testTag()
Test the javadoc with tag. |
void |
testTagletArtifacts()
Method to test the <tagletArtifacts/> parameter. |
void |
testTaglets()
Method to test the taglet artifact configuration |
void |
testToFindJavadoc()
Test to find the javadoc executable when java.home is not in the JDK_HOME. |
void |
testValidateOptions()
Method to test error or conflict in Javadoc options and in standard doclet options. |
Methods inherited from class org.apache.maven.plugin.testing.AbstractMojoTestCase |
---|
configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, 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 JavadocReportTest()
Method Detail |
---|
protected void setUp() throws Exception
setUp
in class org.apache.maven.plugin.testing.AbstractMojoTestCase
Exception
public void testDefaultConfiguration() throws Exception
Exception
- if anypublic void testSubpackages() throws Exception
Exception
- if anypublic void testDocfiles() throws Exception
Exception
- if anypublic void testCustomConfiguration() throws Exception
Exception
- if anypublic void testDoclets() throws Exception
Exception
- if anypublic void testAggregate() throws Exception
Exception
- if anypublic void testQuotedPath() throws Exception
Exception
- if anypublic void testExceptions() throws Exception
Exception
- if anypublic void testTaglets() throws Exception
Exception
- if anypublic void testJdk5() throws Exception
Exception
- if anypublic void testToFindJavadoc() throws Exception
java.home
is not in the JDK_HOME. In this case, try to
use the JAVA_HOME
environment variable.
Exception
- if anypublic void testJavadocResources() throws Exception
Exception
- if anypublic void testAggregateJavadocResources() throws Exception
Exception
- if anypublic void testPom() throws Exception
Exception
- if anypublic void testTag() throws Exception
Exception
- if anypublic void testHeaderFooter() throws Exception
Exception
- if anypublic void testNewline() throws Exception
Exception
- if anypublic void testJdk6() throws Exception
Exception
- if anypublic void testProxy() throws Exception
Exception
- if anypublic void testValidateOptions() throws Exception
Exception
- if anypublic void testTagletArtifacts() throws Exception
<tagletArtifacts/>
parameter.
Exception
- if anypublic void testStylesheetfile() throws Exception
<stylesheetfile/>
parameter.
Exception
- if anypublic void testHelpfile() throws Exception
<helpfile/>
parameter.
Exception
- if any
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |