public class CmisTestResultImpl extends Object implements CmisTestResult
Constructor and Description |
---|
CmisTestResultImpl(String groupName,
String testName,
String message,
CmisTestResultStatus status,
Throwable exception,
boolean isFatal) |
Modifier and Type | Method and Description |
---|---|
List<CmisTestResult> |
getChildren()
Returns children of the result that contain more details.
|
Throwable |
getException()
Returns the exception if available.
|
String |
getGroupName()
Returns the group name.
|
String |
getMessage()
Returns the check message.
|
String |
getRequest()
Returns the request body if available.
|
String |
getResponse()
Returns the response body if available.
|
StackTraceElement[] |
getStackTrace()
Returns the stack trace.
|
CmisTestResultStatus |
getStatus()
Returns the check status.
|
String |
getTestName()
Returns the test name.
|
String |
getUrl()
Returns the URL of the request if available.
|
boolean |
isFatal()
Returns if the result was fatal for the test.
|
void |
setRequest(String request) |
void |
setResponse(String response) |
void |
setStackTrace(StackTraceElement[] stackTrace) |
void |
setUrl(String url) |
String |
toString() |
public CmisTestResultImpl(String groupName, String testName, String message, CmisTestResultStatus status, Throwable exception, boolean isFatal)
public String getGroupName()
CmisTestResult
getGroupName
in interface CmisTestResult
public String getTestName()
CmisTestResult
getTestName
in interface CmisTestResult
public String getMessage()
CmisTestResult
getMessage
in interface CmisTestResult
public CmisTestResultStatus getStatus()
CmisTestResult
getStatus
in interface CmisTestResult
public Throwable getException()
CmisTestResult
getException
in interface CmisTestResult
public StackTraceElement[] getStackTrace()
CmisTestResult
getStackTrace
in interface CmisTestResult
public void setStackTrace(StackTraceElement[] stackTrace)
public String getRequest()
CmisTestResult
getRequest
in interface CmisTestResult
public void setRequest(String request)
public String getResponse()
CmisTestResult
getResponse
in interface CmisTestResult
public void setResponse(String response)
public String getUrl()
CmisTestResult
getUrl
in interface CmisTestResult
public void setUrl(String url)
public List<CmisTestResult> getChildren()
CmisTestResult
getChildren
in interface CmisTestResult
public boolean isFatal()
CmisTestResult
isFatal
in interface CmisTestResult
Copyright © 2009–2017 The Apache Software Foundation. All rights reserved.