Class AbstractPmdReportTest

    • Constructor Detail

      • AbstractPmdReportTest

        public AbstractPmdReportTest()
    • Method Detail

      • setUp

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

        protected void renderer​(org.apache.maven.plugins.pmd.AbstractPmdReport mojo,
                                java.io.File outputHtml)
                         throws RendererException,
                                java.io.IOException
        Renderer the sink from the report mojo.
        Parameters:
        mojo - not null
        outputHtml - not null
        Throws:
        RendererException - if any
        java.io.IOException - if any
      • lowerCaseContains

        public static boolean lowerCaseContains​(java.lang.String text,
                                                java.lang.String contains)
        Checks, whether the string contained is contained in the given text ignoring case.
        Parameters:
        text - the string in which the search is executed
        contains - the string, the should be searched
        Returns:
        true if the string is contained, otherwise false.