public class DefaultTestResult extends Object implements TestResult, Serializable
TestResult.ResultType| Constructor and Description |
|---|
DefaultTestResult(TestState state) |
| Modifier and Type | Method and Description |
|---|---|
long |
getEndTime()
Returns the time when this test completed execution.
|
Throwable |
getException()
If the test failed with an exception, this will be the exception.
|
List<Throwable> |
getExceptions()
If the test failed with any exceptions, this will contain the exceptions.
|
long |
getFailedTestCount()
Returns the number of failed atomic tests executed for this test.
|
TestResult.ResultType |
getResultType()
Returns the type of result.
|
long |
getSkippedTestCount()
Returns the number of skipped atomic tests executed for this test.
|
long |
getStartTime()
Returns the time when this test started execution.
|
long |
getSuccessfulTestCount()
Returns the number of successful atomic tests executed for this test.
|
long |
getTestCount()
Returns the total number of atomic tests executed for this test.
|
String |
toString() |
public DefaultTestResult(TestState state)
public TestResult.ResultType getResultType()
TestResultgetResultType in interface TestResultpublic Throwable getException()
TestResultgetException in interface TestResultpublic List<Throwable> getExceptions()
TestResultgetExceptions in interface TestResultpublic long getStartTime()
TestResultgetStartTime in interface TestResultpublic long getEndTime()
TestResultgetEndTime in interface TestResultpublic long getTestCount()
TestResultgetTestCount in interface TestResultpublic long getSuccessfulTestCount()
TestResultgetSuccessfulTestCount in interface TestResultpublic long getSkippedTestCount()
TestResultgetSkippedTestCount in interface TestResultpublic long getFailedTestCount()
TestResultgetFailedTestCount in interface TestResultCopyright © 2013. All rights reserved