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, readFile
addGuiceModules, configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getContainer, getPluginDescriptorLocation, getPluginDescriptorPath, getPublicDescriptorStream, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupConfiguredMojo, lookupConfiguredMojo, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, newMavenSession, newMojoExecution, setupContainer, setupContainerConfiguration, setVariableValueToObject
customizeContainerConfiguration, customizeContext, getBasedir, getClassLoader, getConfigurationName, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, tearDown, teardownContainer
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
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
protected void setUp() throws Exception
setUp
in class AbstractPmdReportTestCase
Exception
public void testDefaultConfiguration() throws Exception
Exception
public void testTxtFormat() throws Exception
Exception
public void testCustomConfiguration() throws Exception
Exception
public void testInvalidFormat() throws Exception
Exception
public void testIncludeXmlInSite() throws Exception
Exception
public void testSkipEmptyReportConfiguration() throws Exception
Exception
public void testEmptyReportConfiguration() throws Exception
Exception
public void testCpdEncodingConfiguration() throws Exception
Exception
public void testCpdJavascriptConfiguration() throws Exception
Exception
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.