public class WrappedReportEntry extends Object implements ReportEntry
| Constructor and Description |
|---|
WrappedReportEntry(ReportEntry original,
ReportEntryType reportEntryType,
Integer estimatedElapsed,
org.apache.maven.plugin.surefire.report.Utf8RecodingDeferredFileOutputStream stdout,
org.apache.maven.plugin.surefire.report.Utf8RecodingDeferredFileOutputStream stdErr) |
| Modifier and Type | Method and Description |
|---|---|
String |
elapsedTimeAsString() |
String |
getClassMethodName() |
Integer |
getElapsed()
Gets the runtime for the item.
|
String |
getElapsedTimeSummary() |
String |
getElapsedTimeVerbose() |
String |
getGroup()
The group/category of the testcase
|
String |
getMessage()
A message relating to a non-successful termination.
|
String |
getName()
The name of the test case
|
String |
getNameWithGroup()
A name of the test case together with the group or category (if any exists).
|
String |
getOutput(boolean trimStackTrace) |
ReportEntryType |
getReportEntryType() |
String |
getReportName() |
String |
getReportName(String suffix) |
String |
getSourceName()
The class name of the test
|
String |
getStackTrace(boolean trimStackTrace) |
StackTraceWriter |
getStackTraceWriter()
The group/category of the testcase
|
org.apache.maven.plugin.surefire.report.Utf8RecodingDeferredFileOutputStream |
getStdErr() |
org.apache.maven.plugin.surefire.report.Utf8RecodingDeferredFileOutputStream |
getStdout() |
boolean |
isErrorOrFailure() |
boolean |
isSkipped() |
boolean |
isSucceeded() |
public WrappedReportEntry(ReportEntry original, ReportEntryType reportEntryType, Integer estimatedElapsed, org.apache.maven.plugin.surefire.report.Utf8RecodingDeferredFileOutputStream stdout, org.apache.maven.plugin.surefire.report.Utf8RecodingDeferredFileOutputStream stdErr)
public Integer getElapsed()
ReportEntrygetElapsed in interface ReportEntrypublic ReportEntryType getReportEntryType()
public org.apache.maven.plugin.surefire.report.Utf8RecodingDeferredFileOutputStream getStdout()
public org.apache.maven.plugin.surefire.report.Utf8RecodingDeferredFileOutputStream getStdErr()
public String getSourceName()
ReportEntrygetSourceName in interface ReportEntrypublic String getName()
ReportEntrygetName in interface ReportEntrypublic String getClassMethodName()
public String getGroup()
ReportEntrygetGroup in interface ReportEntrypublic StackTraceWriter getStackTraceWriter()
ReportEntrygetStackTraceWriter in interface ReportEntrypublic String getMessage()
ReportEntrygetMessage in interface ReportEntrypublic String getStackTrace(boolean trimStackTrace)
public String elapsedTimeAsString()
public String getReportName()
public String getOutput(boolean trimStackTrace)
public String getElapsedTimeVerbose()
public String getElapsedTimeSummary()
public boolean isErrorOrFailure()
public boolean isSkipped()
public boolean isSucceeded()
public String getNameWithGroup()
ReportEntrygetNameWithGroup in interface ReportEntryCopyright © 2004–2016 The Apache Software Foundation. All rights reserved.