org.jboss.testharness.impl.runner
Class TestResultImpl

java.lang.Object
  extended by org.jboss.testharness.impl.runner.TestResultImpl
All Implemented Interfaces:
java.io.Serializable, TestResult

public class TestResultImpl
extends java.lang.Object
implements java.io.Serializable, TestResult

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.testharness.api.TestResult
TestResult.Status
 
Constructor Summary
TestResultImpl(TestResult.Status status, java.lang.Throwable throwable)
           
 
Method Summary
 TestResult.Status getStatus()
           
 java.lang.Throwable getThrowable()
           
static TestResult of(org.testng.ITestResult testNGResult)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestResultImpl

public TestResultImpl(TestResult.Status status,
                      java.lang.Throwable throwable)
Method Detail

getStatus

public TestResult.Status getStatus()
Specified by:
getStatus in interface TestResult

getThrowable

public java.lang.Throwable getThrowable()
Specified by:
getThrowable in interface TestResult

of

public static TestResult of(org.testng.ITestResult testNGResult)


Copyright © 2009. All Rights Reserved.