org.jboss.testharness.impl.runner
Class TestResultImpl
java.lang.Object
org.jboss.testharness.impl.runner.TestResultImpl
- All Implemented Interfaces:
- Serializable, TestResult
public class TestResultImpl
- extends Object
- implements Serializable, TestResult
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestResultImpl
public TestResultImpl(TestResult.Status status,
Throwable throwable)
getStatus
public TestResult.Status getStatus()
- Description copied from interface:
TestResult
- Get the status of this test
- Specified by:
getStatus in interface TestResult
getThrowable
public Throwable getThrowable()
- Description copied from interface:
TestResult
- If the test failed, the exception that was thrown. It does not need to be
the root cause.
- Specified by:
getThrowable in interface TestResult
of
public static TestResult of(org.testng.ITestResult testNGResult)
Copyright © 2009-2011. All Rights Reserved.