junit.framework.Test
CpdReportTest
, PmdReportTest
public abstract class AbstractPmdReportTest extends AbstractMojoTestCase
Constructor | Description |
---|---|
AbstractPmdReportTest() |
Modifier and Type | Method | Description |
---|---|---|
static boolean |
lowerCaseContains(java.lang.String text,
java.lang.String contains) |
Checks, whether the string
contained is contained in
the given text ignoring case. |
protected void |
renderer(AbstractPmdReport mojo,
java.io.File outputHtml) |
Renderer the sink from the report mojo.
|
configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getContainer, getPluginDescriptorLocation, getPluginDescriptorPath, getPublicDescriptorStream, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupConfiguredMojo, lookupConfiguredMojo, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, newMavenSession, newMojoExecution, setUp, setupContainer, setupContainerConfiguration, setVariableValueToObject
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 renderer(AbstractPmdReport mojo, java.io.File outputHtml) throws RendererException, java.io.IOException
mojo
- not nulloutputHtml
- not nullRendererException
- if anyjava.io.IOException
- if anypublic static boolean lowerCaseContains(java.lang.String text, java.lang.String contains)
contained
is contained in
the given text
ignoring case.text
- the string in which the search is executedcontains
- the string, the should be searchedtrue
if the string is contained, otherwise false
.Copyright © 2005–2018 The Apache Software Foundation. All rights reserved.