Class CpdReportTest

java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.codehaus.plexus.PlexusTestCase
All Implemented Interfaces:
junit.framework.Test

public class CpdReportTest extends AbstractPmdReportTest
Version:
$Id$
Author:
Maria Odea Ching
  • Constructor Details

    • CpdReportTest

      public CpdReportTest()
  • Method Details

    • setUp

      protected void setUp() throws Exception
      Overrides:
      setUp in class AbstractPmdReportTest
      Throws:
      Exception
    • testDefaultConfiguration

      public void testDefaultConfiguration() throws Exception
      Test CPDReport given the default configuration
      Throws:
      Exception
    • testTxtFormat

      public void testTxtFormat() throws Exception
      Test CPDReport with the text renderer given as "format=txt"
      Throws:
      Exception
    • testCustomConfiguration

      public void testCustomConfiguration() throws Exception
      Test CPDReport using custom configuration
      Throws:
      Exception
    • testInvalidFormat

      public void testInvalidFormat() throws Exception
      Test CPDReport with invalid format
      Throws:
      Exception
    • testWriteNonHtml

      public void testWriteNonHtml() throws Exception
      Throws:
      Exception
    • testIncludeXmlInSite

      public void testIncludeXmlInSite() throws Exception
      verify the cpd.xml file is included in the site when requested.
      Throws:
      Exception
    • testSkipEmptyReportConfiguration

      public void testSkipEmptyReportConfiguration() throws Exception
      Throws:
      Exception
    • testEmptyReportConfiguration

      public void testEmptyReportConfiguration() throws Exception
      Throws:
      Exception
    • testCpdEncodingConfiguration

      public void testCpdEncodingConfiguration() throws Exception
      Throws:
      Exception
    • testCpdJavascriptConfiguration

      public void testCpdJavascriptConfiguration() throws Exception
      Throws:
      Exception
    • testCpdJspConfiguration

      public void testCpdJspConfiguration() throws Exception
      Throws:
      Exception
    • testExclusionsConfiguration

      public void testExclusionsConfiguration() throws Exception
      Throws:
      Exception