public class TestJavaApplicationOverviewUtil extends TestReportUtil
TestReportUtil.WindupHtmlUnitDriverdriver| Constructor and Description |
|---|
TestJavaApplicationOverviewUtil() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkApplicationMessage(String message) |
void |
checkAppSectionEffort(String appSection,
int expectedEffort) |
void |
checkFilePath(String appSection,
String filePath)
Checks if the given App section, filepath, and tag can be found in the report.
|
void |
checkFilePathAndIssues(String appSection,
String filePath,
String text)
Checks if the given App section, filepath, and tag can be found in the report.
|
void |
checkFilePathAndTag(String appSection,
String filePath,
String tag)
Checks if the given App section, filepath, and tag can be found in the report.
|
void |
checkFilePathEffort(String appSection,
String filePath,
int effort)
Checks if the given App section, filepath, and effort level can be seen in the report.
|
void |
checkMainEffort(int expectedEffort) |
void |
loadPage(Path filePath)
Loads the given page w/ the
WebDriver |
getDriverpublic void loadPage(Path filePath)
WebDriverloadPage in class TestReportUtilpublic void checkApplicationMessage(String message)
public void checkMainEffort(int expectedEffort)
public void checkAppSectionEffort(String appSection, int expectedEffort)
public void checkFilePathEffort(String appSection, String filePath, int effort)
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).
public void checkFilePathAndIssues(String appSection, String filePath, String text)
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").
public void checkFilePathAndTag(String appSection, String filePath, String tag)
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"
public void checkFilePath(String appSection, String filePath)
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"
Copyright © 2018 JBoss by Red Hat. All rights reserved.