Class CpdReportTest

    • Constructor Detail

      • CpdReportTest

        public CpdReportTest()
    • Method Detail

      • setUp

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

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

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

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

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

        public void testWriteNonHtml()
                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testIncludeXmlInSite

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

        public void testSkipEmptyReportConfiguration()
                                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testEmptyReportConfiguration

        public void testEmptyReportConfiguration()
                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testCpdEncodingConfiguration

        public void testCpdEncodingConfiguration()
                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testCpdJavascriptConfiguration

        public void testCpdJavascriptConfiguration()
                                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testCpdJspConfiguration

        public void testCpdJspConfiguration()
                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testExclusionsConfiguration

        public void testExclusionsConfiguration()
                                         throws java.lang.Exception
        Throws:
        java.lang.Exception