public class WrappedReportEntry extends Object implements ReportEntry
| Constructor and Description |
|---|
WrappedReportEntry(ReportEntry original,
ReportEntryType reportEntryType,
Integer estimatedElapsed,
org.apache.commons.io.output.DeferredFileOutputStream stdout,
org.apache.commons.io.output.DeferredFileOutputStream stdErr) |
| Modifier and Type | Method and Description |
|---|---|
String |
elapsedTimeAsString() |
Integer |
getElapsed()
Gets the runtime for the item.
|
String |
getElapsedTimeSummary() |
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.commons.io.output.DeferredFileOutputStream |
getStdErr() |
org.apache.commons.io.output.DeferredFileOutputStream |
getStdout() |
boolean |
isErrorOrFailure() |
boolean |
isSkipped() |
boolean |
isSucceeded() |
public WrappedReportEntry(ReportEntry original, ReportEntryType reportEntryType, Integer estimatedElapsed, org.apache.commons.io.output.DeferredFileOutputStream stdout, org.apache.commons.io.output.DeferredFileOutputStream stdErr)
public Integer getElapsed()
ReportEntrygetElapsed in interface ReportEntrypublic ReportEntryType getReportEntryType()
public org.apache.commons.io.output.DeferredFileOutputStream getStdout()
public org.apache.commons.io.output.DeferredFileOutputStream getStdErr()
public String getSourceName()
ReportEntrygetSourceName in interface ReportEntrypublic String getName()
ReportEntrygetName in interface ReportEntrypublic 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 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.