Class SurefireReportRenderer
java.lang.Object
org.apache.maven.reporting.AbstractMavenReportRenderer
org.apache.maven.plugins.surefire.report.SurefireReportRenderer
- All Implemented Interfaces:
org.apache.maven.reporting.MavenReportRenderer
public class SurefireReportRenderer
extends org.apache.maven.reporting.AbstractMavenReportRenderer
This generator creates HTML Report from Surefire and Failsafe XML Report.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.codehaus.plexus.i18n.I18Nprivate final Stringprivate final Localeprivate final org.apache.maven.plugins.surefire.report.SurefireReportParserprivate final booleanprivate static final Object[]private static final Object[]private final List<org.apache.maven.plugins.surefire.report.ReportTestSuite> private final StringFields inherited from class org.apache.maven.reporting.AbstractMavenReportRenderer
sink -
Constructor Summary
ConstructorsConstructorDescriptionSurefireReportRenderer(org.apache.maven.doxia.sink.Sink sink, org.codehaus.plexus.i18n.I18N i18n, String i18nSection, Locale locale, org.apache.maven.plugin.surefire.log.api.ConsoleLogger consoleLogger, List<File> reportsDirectories, String xrefTestLocation, boolean showSuccess) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidprivate voidconstructTestCaseSection(org.apache.maven.plugins.surefire.report.ReportTestCase testCase) private StringformatI18nString(String section, String key, Object... args) private Stringprivate StringgetI18nString(String key) private StringgetI18nString(String section, String key) getTitle()private Stringvoidprivate voidprivate voidprivate voidprivate voidprivate voidrenderSectionTestSuite(org.apache.maven.plugins.surefire.report.ReportTestSuite suite) private voidsinkAnchor(String anchor) private voidsinkCellAnchor(String text, String anchor) private voidprivate voidprivate voidprivate Stringprivate StringtoHtmlIdFailure(org.apache.maven.plugins.surefire.report.ReportTestCase testCase) Methods inherited from class org.apache.maven.reporting.AbstractMavenReportRenderer
createLinkPatternedText, endSection, endTable, javaScript, link, linkPatternedText, paragraph, propertiesToString, render, startSection, startSection, startTable, startTable, tableCaption, tableCell, tableCell, tableHeader, tableHeaderCell, tableRow, text, verbatimLink, verbatimSource, verbatimText
-
Field Details
-
TAG_TYPE_START
-
TAG_TYPE_END
-
i18n
private final org.codehaus.plexus.i18n.I18N i18n -
i18nSection
-
locale
-
parser
private final org.apache.maven.plugins.surefire.report.SurefireReportParser parser -
testSuites
-
xrefTestLocation
-
showSuccess
private final boolean showSuccess
-
-
Constructor Details
-
SurefireReportRenderer
-
-
Method Details
-
getTitle
- Specified by:
getTitlein interfaceorg.apache.maven.reporting.MavenReportRenderer- Specified by:
getTitlein classorg.apache.maven.reporting.AbstractMavenReportRenderer
-
getI18nString
-
getI18nSection
-
getI18nString
-
formatI18nString
-
renderBody
public void renderBody()- Specified by:
renderBodyin classorg.apache.maven.reporting.AbstractMavenReportRenderer
-
renderSectionSummary
private void renderSectionSummary() -
renderSectionPackages
private void renderSectionPackages() -
renderSectionTestSuite
private void renderSectionTestSuite(org.apache.maven.plugins.surefire.report.ReportTestSuite suite) -
renderSectionTestCases
private void renderSectionTestCases() -
constructTestCaseSection
private void constructTestCaseSection(org.apache.maven.plugins.surefire.report.ReportTestCase testCase) -
toHtmlId
-
renderSectionFailureDetails
private void renderSectionFailureDetails() -
constructHotLinks
private void constructHotLinks() -
toHtmlIdFailure
-
sinkIcon
-
sinkCellAnchor
-
sinkAnchor
-
sinkLink
-
sinkLink_
private void sinkLink_() -
javascriptToggleDisplayCode
-