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()
ReportEntry
getElapsed
in interface ReportEntry
public ReportEntryType getReportEntryType()
public org.apache.commons.io.output.DeferredFileOutputStream getStdout()
public org.apache.commons.io.output.DeferredFileOutputStream getStdErr()
public String getSourceName()
ReportEntry
getSourceName
in interface ReportEntry
public String getName()
ReportEntry
getName
in interface ReportEntry
public String getGroup()
ReportEntry
getGroup
in interface ReportEntry
public StackTraceWriter getStackTraceWriter()
ReportEntry
getStackTraceWriter
in interface ReportEntry
public String getMessage()
ReportEntry
getMessage
in interface ReportEntry
public 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()
ReportEntry
getNameWithGroup
in interface ReportEntry
Copyright © 2004-2016 The Apache Software Foundation. All Rights Reserved.