public final class ReportMetadata extends Object
| Constructor and Description |
|---|
ReportMetadata() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowSkippedTestsInXML()
If the XML dialect has been set to "junit", we will render all skipped tests
as failed tests in the XML.
|
String |
getCoverageLink() |
String |
getJavaInfo() |
Locale |
getLocale() |
String |
getPlatform() |
String |
getReportDate() |
String |
getReportTime() |
String |
getReportTitle() |
File |
getStylesheetPath()
If a custom CSS file has been specified, returns the path.
|
String |
getUser() |
boolean |
shouldEscapeOutput()
Returns true (the default) if log text should be escaped when displayed in a
report.
|
boolean |
shouldGenerateVelocityLog() |
boolean |
shouldShowExpectedExceptions()
Returns false (the default) if stack traces should not be shown for
expected exceptions.
|
public String getReportDate()
getReportTime()public String getReportTime()
getReportDate()public String getReportTitle()
public String getCoverageLink()
public File getStylesheetPath()
File pointing to the stylesheet, or null if no stylesheet
is specified.public boolean shouldShowExpectedExceptions()
public boolean shouldEscapeOutput()
public boolean allowSkippedTestsInXML()
public boolean shouldGenerateVelocityLog()
public String getUser() throws UnknownHostException
UnknownHostException - If there is a problem accessing the machine's host name.public String getJavaInfo()
public String getPlatform()
public Locale getLocale()