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.AbstractPmdReportTest
org.apache.maven.plugins.pmd.PmdViolationCheckMojoTest
All Implemented Interfaces:
junit.framework.Test

public class PmdViolationCheckMojoTest extends AbstractPmdReportTest
Version:
$Id$
Author:
Maria Odea Ching
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
     
    void
     
    void
     
    void
     
    void
     

    Methods inherited from class org.apache.maven.plugins.pmd.AbstractPmdReportTest

    lookupMojo, lowerCaseContains, renderer, setUp

    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, newMavenSession, newMojoExecution, setupContainer, setupContainerConfiguration, setVariableValueToObject

    Methods inherited from class org.codehaus.plexus.PlexusTestCase

    customizeContainerConfiguration, customizeContext, getBasedir, getClassLoader, getConfigurationName, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, tearDown, teardownContainer

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • PmdViolationCheckMojoTest

      public PmdViolationCheckMojoTest()
  • Method Details

    • testDefaultConfiguration

      public void testDefaultConfiguration() throws Exception
      Throws:
      Exception
    • testNotFailOnViolation

      public void testNotFailOnViolation() throws Exception
      Throws:
      Exception
    • testMaxAllowedViolations

      public void testMaxAllowedViolations() throws Exception
      Throws:
      Exception
    • testFailurePriority

      public void testFailurePriority() throws Exception
      Throws:
      Exception
    • testException

      public void testException() throws Exception
      Throws:
      Exception
    • testViolationExclusion

      public void testViolationExclusion() throws Exception
      Throws:
      Exception