|
Arquillian Test SPI 1.0.0.CR7 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.arquillian.test.spi.TestResult
public final class TestResult

A test result which may be serialized for communicate between client and server
| Nested Class Summary | |
|---|---|
static class |
TestResult.Status
The test status |
| Constructor Summary | |
|---|---|
TestResult()
Create a empty result. |
|
TestResult(TestResult.Status status)
Create a new TestResult. |
|
TestResult(TestResult.Status status,
Throwable throwable)
Create a new TestResult. |
|
| Method Summary | |
|---|---|
long |
getEnd()
Get the end time. |
ExceptionProxy |
getExceptionProxy()
|
long |
getStart()
Get the start time. |
TestResult.Status |
getStatus()
Get the status of this test |
Throwable |
getThrowable()
If the test failed, the exception that was thrown. |
void |
setEnd(long end)
Set the end time of the test. |
void |
setStart(long start)
Set the start time of the test. |
void |
setStatus(TestResult.Status status)
|
void |
setThrowable(Throwable throwable)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TestResult()
public TestResult(TestResult.Status status)
status - The result status.
public TestResult(TestResult.Status status,
Throwable throwable)
status - The result status.throwable - thrown exception if any| Method Detail |
|---|
public TestResult.Status getStatus()
public void setStatus(TestResult.Status status)
public Throwable getThrowable()
public void setThrowable(Throwable throwable)
public void setStart(long start)
start - Start time in millisecondspublic long getStart()
public void setEnd(long end)
End - time in millisecondspublic long getEnd()
public ExceptionProxy getExceptionProxy()
public String toString()
toString in class Object
|
Arquillian Test SPI 1.0.0.CR7 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||