public class WrappedReportEntry extends java.lang.Object implements ReportEntry
| Modifier and Type | Field and Description |
|---|---|
private java.lang.Integer |
elapsed |
private static java.lang.String |
NL |
private ReportEntry |
original |
private ReportEntryType |
reportEntryType |
private Utf8RecodingDeferredFileOutputStream |
stdErr |
private Utf8RecodingDeferredFileOutputStream |
stdout |
| Constructor and Description |
|---|
WrappedReportEntry(ReportEntry original,
ReportEntryType reportEntryType,
java.lang.Integer estimatedElapsed,
Utf8RecodingDeferredFileOutputStream stdout,
Utf8RecodingDeferredFileOutputStream stdErr) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
elapsedTimeAsString() |
(package private) java.lang.String |
elapsedTimeAsString(long runTime) |
java.lang.String |
getClassMethodName() |
java.lang.Integer |
getElapsed()
Gets the runtime for the item.
|
java.lang.String |
getElapsedTimeSummary() |
java.lang.String |
getElapsedTimeVerbose() |
java.lang.String |
getGroup()
The group/category of the testcase
|
java.lang.String |
getMessage()
A message relating to a non-successful termination.
|
java.lang.String |
getName()
The name of the test case
|
java.lang.String |
getNameWithGroup()
A name of the test case together with the group or category (if any exists).
|
java.lang.String |
getOutput(boolean trimStackTrace) |
ReportEntryType |
getReportEntryType() |
java.lang.String |
getReportName() |
java.lang.String |
getReportName(java.lang.String suffix) |
java.lang.String |
getSourceName()
The class name of the test
|
java.lang.String |
getStackTrace(boolean trimStackTrace) |
StackTraceWriter |
getStackTraceWriter()
The group/category of the testcase
|
Utf8RecodingDeferredFileOutputStream |
getStdErr() |
Utf8RecodingDeferredFileOutputStream |
getStdout() |
boolean |
isErrorOrFailure() |
boolean |
isSkipped() |
boolean |
isSucceeded() |
private static final java.lang.String NL
private final ReportEntry original
private final ReportEntryType reportEntryType
private final java.lang.Integer elapsed
private final Utf8RecodingDeferredFileOutputStream stdout
private final Utf8RecodingDeferredFileOutputStream stdErr
public WrappedReportEntry(ReportEntry original, ReportEntryType reportEntryType, java.lang.Integer estimatedElapsed, Utf8RecodingDeferredFileOutputStream stdout, Utf8RecodingDeferredFileOutputStream stdErr)
public java.lang.Integer getElapsed()
ReportEntrygetElapsed in interface ReportEntrypublic ReportEntryType getReportEntryType()
public Utf8RecodingDeferredFileOutputStream getStdout()
public Utf8RecodingDeferredFileOutputStream getStdErr()
public java.lang.String getSourceName()
ReportEntrygetSourceName in interface ReportEntrypublic java.lang.String getName()
ReportEntrygetName in interface ReportEntrypublic java.lang.String getClassMethodName()
public java.lang.String getGroup()
ReportEntrygetGroup in interface ReportEntrypublic StackTraceWriter getStackTraceWriter()
ReportEntrygetStackTraceWriter in interface ReportEntrypublic java.lang.String getMessage()
ReportEntrygetMessage in interface ReportEntrypublic java.lang.String getStackTrace(boolean trimStackTrace)
public java.lang.String elapsedTimeAsString()
java.lang.String elapsedTimeAsString(long runTime)
public java.lang.String getReportName()
public java.lang.String getReportName(java.lang.String suffix)
public java.lang.String getOutput(boolean trimStackTrace)
public java.lang.String getElapsedTimeVerbose()
public java.lang.String getElapsedTimeSummary()
public boolean isErrorOrFailure()
public boolean isSkipped()
public boolean isSucceeded()
public java.lang.String getNameWithGroup()
ReportEntrygetNameWithGroup in interface ReportEntry