public class UnitTestResult
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static int |
BADSETUP |
static int |
FAIL |
static int |
PASS |
static int |
SKIP |
Constructor and Description |
---|
UnitTestResult(java.lang.String suiteId,
java.util.List<UnitTestResult> nestedResultsList,
java.lang.String testId,
java.lang.String testDesc,
int stateVal) |
UnitTestResult(java.lang.String suiteId,
java.lang.Throwable failDetails,
java.lang.String failDesc,
java.lang.String testId,
java.lang.String testDesc,
int stateVal) |
UnitTestResult(java.lang.String suiteId,
java.lang.Throwable failDetails,
java.lang.String failDesc,
java.lang.String testId,
java.lang.String testDesc,
int stateVal,
long totalTimeMillis) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDbBuild() |
java.lang.String |
getDbPlatform() |
java.lang.String |
getFailDesc() |
java.lang.Throwable |
getFailDetails() |
java.util.List<UnitTestResult> |
getNestedResults() |
java.lang.String |
getOwnerEmail() |
java.lang.String |
getOwnerName() |
java.lang.String |
getServerBuild() |
java.lang.String |
getState() |
java.lang.String |
getSuiteId() |
java.lang.String |
getTestDesc() |
java.lang.String |
getTestId() |
long |
getTotalTimeMillis() |
boolean |
hasNestedResults() |
boolean |
isAssertionFault() |
boolean |
isBadSetup() |
boolean |
isFail() |
boolean |
isLastResult() |
boolean |
isPass() |
boolean |
isSkip() |
void |
setLastResult(boolean lastResult) |
void |
setTotalTimeMillis(long totalTimeMillis) |
public static final int SKIP
public static final int PASS
public static final int FAIL
public static final int BADSETUP
public UnitTestResult(java.lang.String suiteId, java.lang.Throwable failDetails, java.lang.String failDesc, java.lang.String testId, java.lang.String testDesc, int stateVal)
public UnitTestResult(java.lang.String suiteId, java.lang.Throwable failDetails, java.lang.String failDesc, java.lang.String testId, java.lang.String testDesc, int stateVal, long totalTimeMillis)
public UnitTestResult(java.lang.String suiteId, java.util.List<UnitTestResult> nestedResultsList, java.lang.String testId, java.lang.String testDesc, int stateVal)
public boolean isAssertionFault()
public java.util.List<UnitTestResult> getNestedResults()
public java.lang.String getState()
public java.lang.String getSuiteId()
public boolean isPass()
public boolean isFail()
public boolean isSkip()
public boolean isBadSetup()
public boolean hasNestedResults()
public java.lang.String getTestDesc()
public java.lang.String getFailDesc()
public java.lang.Throwable getFailDetails()
public java.lang.String getTestId()
public long getTotalTimeMillis()
public void setTotalTimeMillis(long totalTimeMillis)
public java.lang.String getOwnerName()
public java.lang.String getOwnerEmail()
public java.lang.String getDbBuild()
public java.lang.String getServerBuild()
public java.lang.String getDbPlatform()
public void setLastResult(boolean lastResult)
public boolean isLastResult()