Class TestJavaApplicationOverviewUtil

    • Constructor Detail

      • TestJavaApplicationOverviewUtil

        public TestJavaApplicationOverviewUtil()
    • Method Detail

      • checkApplicationMessage

        public void checkApplicationMessage​(String message)
      • checkMainEffort

        public void checkMainEffort​(int expectedEffort)
      • checkAppSectionEffort

        public void checkAppSectionEffort​(String appSection,
                                          int expectedEffort)
      • checkFilePathEffort

        public void checkFilePathEffort​(String appSection,
                                        String filePath,
                                        int effort)
        Checks if the given App section, filepath, and effort level can be seen in the report.

        For example checkFilePathEffort("src_example", "src/main/resources/test.properties", 13) will ensure that an application called "src_example" is in the report, with a line referencing "src/main/resources/test.properties" and that this line contains the effort level 13).

      • checkFilePathAndIssues

        public void checkFilePathAndIssues​(String appSection,
                                           String filePath,
                                           String text)
        Checks if the given App section, filepath, and tag can be found in the report.

        For example calling checkFilePathAndIssues("src_example", "src/main/resources/test.properties", "Web Servlet again") will ensure that an application called "src_example" is in the report, with a line referencing "src/main/resources/test.properties" and that this line contains text in the issues section saying "Web Servlet again").

      • checkFilePathAndTag

        public void checkFilePathAndTag​(String appSection,
                                        String filePath,
                                        String tag)
        Checks if the given App section, filepath, and tag can be found in the report.

        For example calling checkFilePathAndTag("src_example", "src/main/resources/test.properties", "Properties") will ensure that an application called "src_example" is in the report, with a line referencing "src/main/resources/test.properties" and that this file is tagged "Properties"

      • checkFilePath

        public void checkFilePath​(String appSection,
                                  String filePath)
        Checks if the given App section, filepath, and tag can be found in the report.

        For example calling checkFilePathAndTag("src_example", "src/main/resources/test.properties") will ensure that an application called "src_example" is in the report, with a line referencing "src/main/resources/test.properties"