public abstract class AbstractPmdReportTest extends AbstractMojoTestCase
Constructor and Description |
---|
AbstractPmdReportTest() |
Modifier and Type | Method and Description |
---|---|
static boolean |
lowerCaseContains(String text,
String contains)
Checks, whether the string
contained is contained in
the given text ignoring case. |
protected void |
renderer(AbstractPmdReport mojo,
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
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 renderer(AbstractPmdReport mojo, File outputHtml) throws RendererException, IOException
mojo
- not nulloutputHtml
- not nullRendererException
- if anyIOException
- if anypublic static boolean lowerCaseContains(String text, String contains)
contained
is contained in
the given text
ignoring case.text
- the string in which the search is executedcontained
- the string, the should be searchedtrue
if the string is contained, otherwise false
.Copyright © 2005–2018 The Apache Software Foundation. All rights reserved.