public class TestResultSummary extends Object implements TestResultSummaryExternalInterface
Constructor and Description |
---|
TestResultSummary(String testCaseName,
String testName,
ResultType type,
long time,
String message,
String stacktrace,
String stdOut,
String stdErr) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static TestResultSummary |
fromJson(String testCaseName,
String testName,
String type,
long time,
String message,
String stacktrace,
String stdOut,
String stdErr) |
String |
getMessage() |
String |
getStacktrace() |
String |
getStdErr() |
String |
getStdOut() |
String |
getTestCaseName() |
String |
getTestName() |
long |
getTime() |
ResultType |
getType() |
int |
hashCode() |
boolean |
isSuccess()
For now "success" means "not failure", which introduces the least surprise for tests that have
an assumption violation / failure.
|
String |
toString() |
public static TestResultSummary fromJson(String testCaseName, String testName, String type, long time, @Nullable String message, @Nullable String stacktrace, @Nullable String stdOut, @Nullable String stdErr)
public String getTestName()
getTestName
in interface TestResultSummaryExternalInterface
public String getTestCaseName()
getTestCaseName
in interface TestResultSummaryExternalInterface
public boolean isSuccess()
isSuccess
in interface TestResultSummaryExternalInterface
public ResultType getType()
getType
in interface TestResultSummaryExternalInterface
public long getTime()
getTime
in interface TestResultSummaryExternalInterface
@Nullable public String getMessage()
getMessage
in interface TestResultSummaryExternalInterface
@Nullable public String getStacktrace()
getStacktrace
in interface TestResultSummaryExternalInterface
@Nullable public String getStdOut()
getStdOut
in interface TestResultSummaryExternalInterface
@Nullable public String getStdErr()
getStdErr
in interface TestResultSummaryExternalInterface