org.junitee.output
Class AbstractOutput
java.lang.Object
org.junitee.output.AbstractOutput
- All Implemented Interfaces:
- OutputProducer
- Direct Known Subclasses:
- HTMLOutput, XMLOutput
- public abstract class AbstractOutput
- extends java.lang.Object
- implements OutputProducer
- Since:
- 1.5
- Version:
- $Revision: 1.7 $
- Author:
- Oliver Rossmueller
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractOutput
public AbstractOutput(TestRunnerResults results,
boolean filterTrace)
render
public abstract void render()
- Specified by:
render in interface OutputProducer
getCurrentInfo
public TestInfo getCurrentInfo()
getTimestamp
protected long getTimestamp()
getSuiteInfo
protected java.util.List getSuiteInfo()
isFailure
protected boolean isFailure()
isFilterTrace
protected boolean isFilterTrace()
isSingleTest
protected boolean isSingleTest()
isFinished
protected boolean isFinished()
isStopped
protected boolean isStopped()
getErrorMessages
protected java.util.List getErrorMessages()
exceptionToString
protected java.lang.String exceptionToString(java.lang.Throwable t)
getEJBExceptionDetail
protected java.lang.String getEJBExceptionDetail(java.lang.Throwable t)
- Checks to see if t is a RemoteException containing
an EJBException, and if it is, prints the nested
exception inside the EJBException. This is necessary
because the EJBException.printStackTrace() method isn't
intelligent enough to print the nexted exception.