public class PmdReportTest extends AbstractPmdReportTest
Constructor and Description |
---|
PmdReportTest() |
Modifier and Type | Method and Description |
---|---|
protected void |
setUp() |
void |
testCustomConfiguration()
With custom rulesets
|
void |
testDefaultConfiguration() |
void |
testDefaultConfigurationWithAnalysisCache() |
void |
testEmptyReportConfiguration() |
void |
testFileURL() |
void |
testIncludeXmlInSite()
verify the pmd.xml file is included in the site when requested.
|
void |
testInvalidFormat() |
void |
testInvalidTargetJdk() |
void |
testJavascriptConfiguration() |
void |
testJspConfiguration() |
void |
testLocationTemp()
Verify the correct working of the locationTemp method
|
void |
testPMDExcludeRootsShouldExcludeSubdirectories() |
void |
testPMDProcessingError() |
void |
testPMDProcessingErrorWithDetailsNoReport() |
void |
testPMDProcessingErrorWithDetailsSkipped() |
void |
testSkipConfiguration()
Verify skip parameter
|
void |
testSkipEmptyReportConfiguration() |
void |
testSuppressMarkerConfiguration()
Verify that suppressMarker works
|
void |
testViolationExclusion() |
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 testDefaultConfigurationWithAnalysisCache() throws Exception
Exception
public void testJavascriptConfiguration() throws Exception
Exception
public void testCustomConfiguration() throws Exception
Exception
public void testSkipConfiguration() throws Exception
Exception
public void testSkipEmptyReportConfiguration() throws Exception
Exception
public void testEmptyReportConfiguration() throws Exception
Exception
public void testIncludeXmlInSite() throws Exception
Exception
public void testLocationTemp() throws Exception
Exception
public void testSuppressMarkerConfiguration() throws Exception
Exception
public void testPMDProcessingErrorWithDetailsSkipped() throws Exception
Exception
public void testPMDProcessingErrorWithDetailsNoReport() throws Exception
Exception
public void testPMDExcludeRootsShouldExcludeSubdirectories() throws Exception
Exception
Copyright © 2005–2018 The Apache Software Foundation. All rights reserved.