|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.groboutils.autodoc.v1.junit.AutoDocJUnitListener
net.sourceforge.groboutils.autodoc.v1.junit.AutoDocJUnitFormatter
Interfaces with the Ant JUnit task to add a Listener into JUnit for the tests which report to the ITF framework.
Constructor Summary | |
AutoDocJUnitFormatter()
Create a new listener, using super's method to load the default set of delegated listeners. |
|
AutoDocJUnitFormatter(TestListenerFactory[] factories)
Create a new listener using the given factories to specify all sub-listeners. |
Method Summary | |
void |
endTestSuite(JUnitTest suite)
The whole testsuite ended. |
void |
setOutput(java.io.OutputStream out)
Sets the stream the formatter is supposed to write its results to. |
void |
setSystemError(java.lang.String err)
This is what the test has written to System.err |
void |
setSystemOutput(java.lang.String out)
This is what the test has written to System.out |
void |
startTestSuite(JUnitTest suite)
The whole testsuite started. |
Methods inherited from class net.sourceforge.groboutils.autodoc.v1.junit.AutoDocJUnitListener |
addError, addFailure, addListener, endTest, getFactories, getFactoryStore, getListeners, loadListeners, startTest |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AutoDocJUnitFormatter()
public AutoDocJUnitFormatter(TestListenerFactory[] factories)
Method Detail |
public void startTestSuite(JUnitTest suite)
public void endTestSuite(JUnitTest suite)
public void setOutput(java.io.OutputStream out)
public void setSystemOutput(java.lang.String out)
public void setSystemError(java.lang.String err)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |