public class CpdReportTest extends AbstractPmdReportTestCase
| Constructor and Description |
|---|
CpdReportTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
setUp() |
void |
testCpdEncodingConfiguration() |
void |
testCpdJavascriptConfiguration() |
void |
testCpdJspConfiguration() |
void |
testCustomConfiguration()
Test CPDReport using custom configuration
|
void |
testDefaultConfiguration()
Test CPDReport given the default configuration
|
void |
testEmptyReportConfiguration() |
void |
testExclusionsConfiguration() |
void |
testIncludeXmlInSite()
verify the cpd.xml file is included in the site when requested.
|
void |
testInvalidFormat()
Test CPDReport with invalid format
|
void |
testSkipEmptyReportConfiguration() |
void |
testTxtFormat()
Test CPDReport with the text renderer given as "format=txt"
|
void |
testWriteNonHtml() |
createReportMojo, generateReport, generateReport, getGeneratedReport, getTestMavenProject, lowerCaseContains, readFileaddGuiceModules, configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getContainer, getPluginDescriptorLocation, getPluginDescriptorPath, getPublicDescriptorStream, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupConfiguredMojo, lookupConfiguredMojo, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, newMavenSession, newMojoExecution, setupContainer, setupContainerConfiguration, setVariableValueToObjectcustomizeContainerConfiguration, customizeContext, getBasedir, getClassLoader, getConfigurationName, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, tearDown, teardownContainercountTestCases, createResult, getName, run, run, runBare, runTest, setName, toStringassertEquals, 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, failprotected void setUp()
throws Exception
setUp in class AbstractPmdReportTestCaseExceptionpublic void testDefaultConfiguration()
throws Exception
Exceptionpublic void testTxtFormat()
throws Exception
Exceptionpublic void testCustomConfiguration()
throws Exception
Exceptionpublic void testInvalidFormat()
throws Exception
Exceptionpublic void testIncludeXmlInSite()
throws Exception
Exceptionpublic void testSkipEmptyReportConfiguration()
throws Exception
Exceptionpublic void testEmptyReportConfiguration()
throws Exception
Exceptionpublic void testCpdEncodingConfiguration()
throws Exception
Exceptionpublic void testCpdJavascriptConfiguration()
throws Exception
ExceptionCopyright © 2005–2022 The Apache Software Foundation. All rights reserved.