|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter
org.backsource.alert.AlertReporter
A JUnit reporter that sends reports to the configured Senders.
The senders configuration is fetched from the alert xml file.
| Field Summary |
| Fields inherited from interface org.apache.tools.ant.taskdefs.optional.junit.XMLConstants |
ATTR_ERRORS, ATTR_FAILURES, ATTR_MESSAGE, ATTR_NAME, ATTR_PACKAGE, ATTR_TESTS, ATTR_TIME, ATTR_TYPE, ATTR_VALUE, ERROR, FAILURE, PROPERTIES, PROPERTY, SYSTEM_ERR, SYSTEM_OUT, TESTCASE, TESTSUITE, TESTSUITES |
| Constructor Summary | |
AlertReporter()
|
|
| Method Summary | |
void |
addError(junit.framework.Test test,
java.lang.Throwable t)
Interface TestListener. |
void |
addFailure(junit.framework.Test test,
junit.framework.AssertionFailedError t)
Interface TestListener for JUnit > 3.4. |
void |
addFailure(junit.framework.Test test,
java.lang.Throwable t)
Interface TestListener for JUnit <= 3.4. |
void |
endTestSuite(org.apache.tools.ant.taskdefs.optional.junit.JUnitTest suite)
The whole testsuite ended, send the reports. |
static void |
main(java.lang.String[] args)
|
void |
startTestSuite(org.apache.tools.ant.taskdefs.optional.junit.JUnitTest suite)
The whole testsuite started. |
| Methods inherited from class org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter |
endTest, setOutput, setSystemError, setSystemOutput, startTest |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AlertReporter()
throws java.lang.Exception
| Method Detail |
public void startTestSuite(org.apache.tools.ant.taskdefs.optional.junit.JUnitTest suite)
throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
public void endTestSuite(org.apache.tools.ant.taskdefs.optional.junit.JUnitTest suite)
throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
public void addFailure(junit.framework.Test test,
java.lang.Throwable t)
A Test failed.
public void addFailure(junit.framework.Test test,
junit.framework.AssertionFailedError t)
A Test failed.
public void addError(junit.framework.Test test,
java.lang.Throwable t)
An error occured while running the test.
public static void main(java.lang.String[] args)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||