Deprecated
- This reporter is deprecated as of TestNG 7.9.0 in favour of org.
| Modifier and Type | Field and Description |
|---|---|
| public static final String | AFTER
Generate information about the methods that were run |
| public static final String | |
| public static final String | |
| private static final String | |
| public static final String | |
| private final Map | |
| private String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| public static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private String | |
| private String | |
| private String | |
| private void | |
| private void | |
| private void | generateIndex(List<ISuite> suites)
Generate the main index.html file that lists all the suites and their result |
| private void | |
| private void | |
| private void | generateMethodsAndGroups(XmlSuite xmlSuite, ISuite suite)
Generate information about methods and groups |
| private void | generateMethodsChronologically(XmlSuite xmlSuite, ISuite suite, String outputFileName, boolean alphabetical)
|
| protected String | Returns: the name of the output directory of the reportthe output directory specified by the user outputDirectory)Overridable by subclasses to create different directory names (e.g. with timestamps). |
| public void | generateReport(List<XmlSuite>
The list of xmlSuites, List<ISuite> XmlSuiteThe list of suites, String ISuiteThe output directory outputDirectory)Overrides default org. |
| private void | |
| private void | generateSuiteResult(String suiteName, ISuiteResult sr, String cssClass, StringBuilder tableOfContents)
|
| private void | generateSuites(XmlSuite
- The xmlSuite, ISuite XmlSuite suite.- The suite)ISuite object.Writes a property file for each suite result. |
| private void | |
| private void | |
| private static String | |
| private String | |
| private String | |
| private String | |
| private ISuiteResult[] | |
| private String |
| AFTER | back to summary |
|---|---|
| public static final String AFTER Generate information about the methods that were run | |
| BEFORE | back to summary |
|---|---|
| public static final String BEFORE | |
| CLASSES | back to summary |
|---|---|
| public static final String CLASSES | |
| CLOSE_TD | back to summary |
|---|---|
| private static final String CLOSE_TD | |
| GROUPS | back to summary |
|---|---|
| public static final String GROUPS | |
| m_classes | back to summary |
|---|---|
| private final Map<String, ITestClass> m_classes | |
| m_outputDirectory | back to summary |
|---|---|
| private String m_outputDirectory | |
| METHODS_ALPHABETICAL | back to summary |
|---|---|
| public static final String METHODS_ALPHABETICAL | |
| METHODS_CHRONOLOGICAL | back to summary |
|---|---|
| public static final String METHODS_CHRONOLOGICAL | |
| METHODS_NOT_RUN | back to summary |
|---|---|
| public static final String METHODS_NOT_RUN | |
| REPORTER_OUTPUT | back to summary |
|---|---|
| public static final String REPORTER_OUTPUT | |
| SP | back to summary |
|---|---|
| private static final String SP | |
| SP2 | back to summary |
|---|---|
| private static final String SP2 | |
| TD_A_TARGET_MAIN_FRAME_HREF | back to summary |
|---|---|
| private static final String TD_A_TARGET_MAIN_FRAME_HREF | |
| TESTNG_XML | back to summary |
|---|---|
| public static final String TESTNG_XML | |
| SuiteHTMLReporter | back to summary |
|---|---|
| public SuiteHTMLReporter() | |
| createColor | back to summary |
|---|---|
| private String createColor(ITestNGMethod tm) Generate a HTML color based on the class of the method | |
| dumpMethods | back to summary |
|---|---|
| private String dumpMethods(ITestNGMethod[] testMethods) | |
| generateClass | back to summary |
|---|---|
| private String generateClass(ITestClass cls) | |
| generateClasses | back to summary |
|---|---|
| private void generateClasses(XmlSuite xmlSuite) | |
| generateExcludedMethodsReport | back to summary |
|---|---|
| private void generateExcludedMethodsReport(XmlSuite xmlSuite, ISuite suite) | |
| generateIndex | back to summary |
|---|---|
| private void generateIndex(List<ISuite> suites) Generate the main index.html file that lists all the suites and their result | |
| generateIndex | back to summary |
|---|---|
| private void generateIndex(XmlSuite xmlSuite, ISuite sr) | |
| generateMain | back to summary |
|---|---|
| private void generateMain(XmlSuite xmlSuite, ISuite sr) | |
| generateMethodsAndGroups | back to summary |
|---|---|
| private void generateMethodsAndGroups(XmlSuite xmlSuite, ISuite suite) Generate information about methods and groups | |
| generateMethodsChronologically | back to summary |
|---|---|
| private void generateMethodsChronologically(XmlSuite xmlSuite, ISuite suite, String outputFileName, boolean alphabetical) | |
| generateOutputDirectoryName | back to summary |
|---|---|
| protected String generateOutputDirectoryName(String outputDirectory) Overridable by subclasses to create different directory names (e.g. with timestamps). | |
| generateReport | back to summary |
|---|---|
| public void generateReport(List<XmlSuite> xmlSuites, List<ISuite> suites, String outputDirectory) Overrides default org. Doc from org. Generate a report for the given suites into the specified output directory. | |
| generateReporterOutput | back to summary |
|---|---|
| private void generateReporterOutput(XmlSuite xmlSuite) | |
| generateSuiteResult | back to summary |
|---|---|
| private void generateSuiteResult(String suiteName, ISuiteResult sr, String cssClass, StringBuilder tableOfContents) | |
| generateSuites | back to summary |
|---|---|
| private void generateSuites(XmlSuite xmlSuite, ISuite suite) Writes a property file for each suite result. | |
| generateTableOfContents | back to summary |
|---|---|
| private void generateTableOfContents(XmlSuite xmlSuite, ISuite suite) | |
| generateXmlFile | back to summary |
|---|---|
| private void generateXmlFile(XmlSuite xmlSuite) | |
| getMethodName | back to summary |
|---|---|
| private static String getMethodName(String name) | |
| getOutputDirectory | back to summary |
|---|---|
| private String getOutputDirectory(XmlSuite xmlSuite) | |
| makeTitle | back to summary |
|---|---|
| private String makeTitle(ISuite suite) | |
| pluralize | back to summary |
|---|---|
| private String pluralize(int count, String singular) | |
| sortResults | back to summary |
|---|---|
| private ISuiteResult[] sortResults(Collection<ISuiteResult> r) | |
| td | back to summary |
|---|---|
| private String td(String s) | |