junit.framework.Test
public class CpdReportTest extends AbstractPmdReportTest
Modifier and Type | Class | Description |
---|---|---|
static class |
CpdReportTest.MockCpd |
Constructor | Description |
---|---|
CpdReportTest() |
Modifier and Type | Method | 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() |
configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getContainer, getPluginDescriptorLocation, getPluginDescriptorPath, getPublicDescriptorStream, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupConfiguredMojo, lookupConfiguredMojo, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, newMavenSession, newMojoExecution, setupContainer, setupContainerConfiguration, setVariableValueToObject
lowerCaseContains, renderer
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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 java.lang.Exception
setUp
in class AbstractMojoTestCase
java.lang.Exception
public void testDefaultConfiguration() throws java.lang.Exception
java.lang.Exception
public void testCustomConfiguration() throws java.lang.Exception
java.lang.Exception
public void testInvalidFormat() throws java.lang.Exception
java.lang.Exception
public void testWriteNonHtml() throws java.lang.Exception
java.lang.Exception
public void testIncludeXmlInSite() throws java.lang.Exception
java.lang.Exception
public void testSkipEmptyReportConfiguration() throws java.lang.Exception
java.lang.Exception
public void testEmptyReportConfiguration() throws java.lang.Exception
java.lang.Exception
public void testCpdEncodingConfiguration() throws java.lang.Exception
java.lang.Exception
public void testCpdJavascriptConfiguration() throws java.lang.Exception
java.lang.Exception
public void testCpdJspConfiguration() throws java.lang.Exception
java.lang.Exception
public void testExclusionsConfiguration() throws java.lang.Exception
java.lang.Exception
Copyright © 2005–2018 The Apache Software Foundation. All rights reserved.