public class TestTaskResult extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected long |
elapsedTime
How long it took to execute the task
|
protected boolean |
errorStatus
True if there was an error (unexpected exception)
|
protected String |
errorString
String describing the error
|
protected Object |
result
The result value
|
| Modifier | Constructor and Description |
|---|---|
protected |
TestTaskResult(long elapsedTime)
Protected constructor
|
|
TestTaskResult(MethExecutorResult actualResult,
long elapsedTime)
Creates a new test task result based on the actual result of test
task execution.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getElapsedTime() |
boolean |
getErrorStatus()
Returns
true if there was an error |
String |
getErrorString() |
Object |
getResult() |
void |
setElapsedTime(long aLong) |
void |
setErrorString(String aString) |
void |
setResult(Object anObj) |
String |
toString() |
protected Object result
protected long elapsedTime
protected boolean errorStatus
protected String errorString
public TestTaskResult(MethExecutorResult actualResult, long elapsedTime)
protected TestTaskResult(long elapsedTime)
public Object getResult()
public void setResult(Object anObj)
public long getElapsedTime()
public void setElapsedTime(long aLong)
public boolean getErrorStatus()
true if there was an errorpublic String getErrorString()
public void setErrorString(String aString)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.