public class SimpleReportEntry extends Object implements ReportEntry
| Modifier | Constructor and Description |
|---|---|
|
SimpleReportEntry() |
|
SimpleReportEntry(String source,
String name) |
|
SimpleReportEntry(String source,
String name,
Integer elapsed) |
|
SimpleReportEntry(String source,
String name,
StackTraceWriter stackTraceWriter,
Integer elapsed) |
protected |
SimpleReportEntry(String source,
String name,
StackTraceWriter stackTraceWriter,
Integer elapsed,
String message) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Integer |
getElapsed()
Gets the runtime for the item.
|
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 |
getSourceName()
The class name of the test
|
StackTraceWriter |
getStackTraceWriter()
The group/category of the testcase
|
int |
hashCode() |
static SimpleReportEntry |
ignored(String source,
String name,
String message) |
String |
toString() |
static SimpleReportEntry |
withException(String source,
String name,
StackTraceWriter stackTraceWriter) |
public SimpleReportEntry()
protected SimpleReportEntry(String source, String name, StackTraceWriter stackTraceWriter, Integer elapsed, String message)
public SimpleReportEntry(String source, String name, StackTraceWriter stackTraceWriter, Integer elapsed)
public static SimpleReportEntry ignored(String source, String name, String message)
public static SimpleReportEntry withException(String source, String name, StackTraceWriter stackTraceWriter)
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 Integer getElapsed()
ReportEntrygetElapsed in interface ReportEntrypublic String getMessage()
ReportEntrygetMessage in interface ReportEntrypublic String getNameWithGroup()
ReportEntrygetNameWithGroup in interface ReportEntryCopyright © 2004–2015 The Apache Software Foundation. All rights reserved.