org.junitee.output
Class HTMLOutput
java.lang.Object
org.junitee.output.AbstractOutput
org.junitee.output.HTMLOutput
- All Implemented Interfaces:
- OutputProducer
- public class HTMLOutput
- extends AbstractOutput
This class implements the TestRunnerListener interface and produces an HTML test report.
- Since:
- 1.5
- Version:
- $Revision: 1.23 $
- Author:
- Oliver Rossmueller
|
Constructor Summary |
HTMLOutput(TestRunnerResults results,
HttpServletRequest request,
HttpServletResponse response,
boolean filterTrace,
int refreshDelay)
|
| Methods inherited from class org.junitee.output.AbstractOutput |
exceptionToString, getCurrentInfo, getEJBExceptionDetail, getErrorMessages, getSuiteInfo, getTimestamp, isFailure, isFilterTrace, isFinished, isSingleTest, isStopped |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ERROR
protected static final java.lang.String ERROR
- See Also:
- Constant Field Values
FAILURE
protected static final java.lang.String FAILURE
- See Also:
- Constant Field Values
PASSED
protected static final java.lang.String PASSED
- See Also:
- Constant Field Values
UNKNOWN
protected static final java.lang.String UNKNOWN
- See Also:
- Constant Field Values
RESOURCE_RED_BULLET
protected static final java.lang.String RESOURCE_RED_BULLET
- See Also:
- Constant Field Values
RESOURCE_YELLOW_BULLET
protected static final java.lang.String RESOURCE_YELLOW_BULLET
- See Also:
- Constant Field Values
RESOURCE_GREEN_BULLET
protected static final java.lang.String RESOURCE_GREEN_BULLET
- See Also:
- Constant Field Values
RESOURCE_INFO
protected static final java.lang.String RESOURCE_INFO
- See Also:
- Constant Field Values
pw
protected java.io.PrintWriter pw
HTMLOutput
public HTMLOutput(TestRunnerResults results,
HttpServletRequest request,
HttpServletResponse response,
boolean filterTrace,
int refreshDelay)
throws java.io.IOException
render
public void render()
- Specified by:
render in interface OutputProducer- Specified by:
render in class AbstractOutput
printHeader
protected void printHeader()
printFooter
protected void printFooter()
printUnderProgress
protected void printUnderProgress()
printRunErrors
protected void printRunErrors()
printSummary
protected void printSummary(boolean createInfoAndLinks)
printMethodList
protected void printMethodList()
printErrorsAndFailures
protected void printErrorsAndFailures()