public class JavadocReportTest extends AbstractMojoTestCase
JavadocReport
class.Modifier and Type | Field and Description |
---|---|
static String |
OPTIONS_UMLAUT_ENCODING |
Constructor and Description |
---|
JavadocReportTest() |
Modifier and Type | Method and Description |
---|---|
protected void |
setUp() |
void |
testCustomConfiguration()
Test javadoc plugin using custom configuration.
|
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 |
testIncludesExcludes() |
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 |
testOptionsUmlautEncoding()
Method to test when the options file has umlauts.
|
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.
|
configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getContainer, getPluginDescriptorLocation, getPluginDescriptorPath, getPublicDescriptorStream, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupConfiguredMojo, lookupConfiguredMojo, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, newMavenSession, newMojoExecution, setupContainer, setupContainerConfiguration, setVariableValueToObject
customizeComponentConfiguration, customizeContainerConfiguration, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getConfigurationName, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, tearDown
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
public static final String OPTIONS_UMLAUT_ENCODING
protected void setUp() throws Exception
setUp
in class 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 testQuotedPath() throws Exception
Exception
- if anypublic void testOptionsUmlautEncoding() 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 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 anyCopyright © 2004–2022 The Apache Software Foundation. All rights reserved.