org.junitee.runner
Class TestInfo
java.lang.Object
org.junitee.runner.TestInfo
- public class TestInfo
- extends java.lang.Object
This class holds information about on test.
- Since:
- 1.5
- Version:
- $Revision: 1.5 $
- Author:
- Oliver Rossmueller
|
Constructor Summary |
TestInfo(junit.framework.Test test)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TestInfo
public TestInfo(junit.framework.Test test)
getTest
public junit.framework.Test getTest()
getElapsedTime
public long getElapsedTime()
setElapsedTime
public void setElapsedTime(long elapsedTime)
getTestClassName
public java.lang.String getTestClassName()
getTestName
public java.lang.String getTestName()
isTestCase
public boolean isTestCase()
setError
public void setError(java.lang.Throwable t)
setFailure
public void setFailure(java.lang.Throwable t)
hasFailure
public boolean hasFailure()
hasError
public boolean hasError()
successful
public boolean successful()
getFailure
public java.lang.Throwable getFailure()
- Answer the failures
- Returns:
- Throwable instances
getError
public java.lang.Throwable getError()
- Answer the errors
- Returns:
- Throwable instances
toString
public java.lang.String toString()