org.apache.maven.plugin.pmd
Class PmdReportTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.codehaus.plexus.PlexusTestCase
              extended by org.apache.maven.plugin.testing.AbstractMojoTestCase
                  extended by org.apache.maven.plugin.pmd.AbstractPmdReportTest
                      extended by org.apache.maven.plugin.pmd.PmdReportTest
All Implemented Interfaces:
junit.framework.Test

public class PmdReportTest
extends AbstractPmdReportTest

Version:
$Id: PmdReportTest.html 816688 2012-05-08 15:14:44Z hboutemy $
Author:
Maria Odea Ching

Field Summary
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir, container
 
Constructor Summary
PmdReportTest()
           
 
Method Summary
protected  void setUp()
          
 void testCustomConfiguration()
          With custom rulesets
 void testDefaultConfiguration()
           
 void testFileURL()
           
 void testInvalidFormat()
           
 void testInvalidTargetJdk()
           
 void testSkipConfiguration()
          Verify skip parameter
 
Methods inherited from class org.apache.maven.plugin.pmd.AbstractPmdReportTest
renderer
 
Methods inherited from class org.apache.maven.plugin.testing.AbstractMojoTestCase
configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, setVariableValueToObject
 
Methods inherited from class org.codehaus.plexus.PlexusTestCase
createContainerInstance, customizeContext, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getContainer, getCustomConfiguration, getResourceAsStream, getTestFile, getTestFile, getTestPath, getTestPath, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PmdReportTest

public PmdReportTest()
Method Detail

setUp

protected void setUp()
              throws Exception

Overrides:
setUp in class org.apache.maven.plugin.testing.AbstractMojoTestCase
Throws:
Exception

testDefaultConfiguration

public void testDefaultConfiguration()
                              throws Exception
Throws:
Exception

testFileURL

public void testFileURL()
                 throws Exception
Throws:
Exception

testCustomConfiguration

public void testCustomConfiguration()
                             throws Exception
With custom rulesets

Throws:
Exception

testSkipConfiguration

public void testSkipConfiguration()
                           throws Exception
Verify skip parameter

Throws:
Exception

testInvalidFormat

public void testInvalidFormat()
                       throws Exception
Throws:
Exception

testInvalidTargetJdk

public void testInvalidTargetJdk()
                          throws Exception
Throws:
Exception


Copyright © 2005-2010 The Apache Software Foundation. All Rights Reserved.