public class CpdReportTest extends AbstractPmdReportTest
Modifier and Type | Class and Description |
---|---|
static class |
CpdReportTest.MockCpd |
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 |
testWriteNonHtml() |
lowerCaseContains, renderer
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
protected void setUp() throws Exception
setUp
in class AbstractMojoTestCase
Exception
public void testDefaultConfiguration() 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–2018 The Apache Software Foundation. All rights reserved.