Package org.apache.maven.plugins.pmd
Class PmdViolationCheckMojoTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.codehaus.plexus.PlexusTestCase
org.apache.maven.plugin.testing.AbstractMojoTestCase
org.apache.maven.plugins.pmd.PmdViolationCheckMojoTest
- All Implemented Interfaces:
junit.framework.Test
- Version:
- $Id$
- Author:
- Maria Odea Ching
-
Field Summary
Fields inherited from class org.codehaus.plexus.PlexusTestCase
context
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.maven.plugin.testing.AbstractMojoTestCase
addGuiceModules, configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getContainer, getPluginDescriptorLocation, getPluginDescriptorPath, getPublicDescriptorStream, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupConfiguredMojo, lookupConfiguredMojo, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, newMavenSession, newMojoExecution, setupContainer, setupContainerConfiguration, setVariableValueToObject
Methods inherited from class org.codehaus.plexus.PlexusTestCase
customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getConfigurationName, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, tearDown
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
Methods inherited from class junit.framework.Assert
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, fail, fail, failNotEquals, failNotSame, failSame, format
-
Constructor Details
-
PmdViolationCheckMojoTest
public PmdViolationCheckMojoTest()
-
-
Method Details
-
setUp
- Overrides:
setUp
in classAbstractMojoTestCase
- Throws:
Exception
-
testDefaultConfiguration
- Throws:
Exception
-
testNotFailOnViolation
- Throws:
Exception
-
testMaxAllowedViolations
- Throws:
Exception
-
testFailurePriority
- Throws:
Exception
-
testException
- Throws:
Exception
-
testViolationExclusion
- Throws:
Exception
-