From 8f66282084bee069b9de59123b53f2d161bbe3a1 Mon Sep 17 00:00:00 2001
From: Stefan Bodewig
Date: Mon, 21 Aug 2006 04:11:49 +0000
Subject: [PATCH] add documentation
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@433145 13f79535-47bb-0310-9956-ffa450edef68
---
docs/antunit.html | 8 ++++---
docs/xmllistener.html | 51 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 56 insertions(+), 3 deletions(-)
create mode 100644 docs/xmllistener.html
diff --git a/docs/antunit.html b/docs/antunit.html
index 9c8f05a..a456261 100644
--- a/docs/antunit.html
+++ b/docs/antunit.html
@@ -127,10 +127,12 @@ public class LogCapturer {
Creates a test listener that gets attached to the task.
- The only listener that is part of this antlib is <plainlistener/> this one
+
Two listeners are part of this antlib <plainlistener/> which
creates reports similar to the "plain" <formatter> of the
- <junit> task.
+ <junit> task and <xmllistener/> which is similar
+ to the "xml" <formatter>.
propertyset
diff --git a/docs/xmllistener.html b/docs/xmllistener.html
new file mode 100644
index 0000000..26dab71
--- /dev/null
+++ b/docs/xmllistener.html
@@ -0,0 +1,51 @@
+
+
+
+
+ XMLListener AntUnit Listener
+
+
+
+
+
+ Description
+
+ Writes reports similar to the "xml" JUnit formatter. Some
+ information that appears as attributes for the JUnit formatter has
+ been turned into elements to allow streaming of the report.
+
+ Parameters
+
+
+ | Attribute |
+ Description |
+ Required |
+
+
+ | toDir |
+ Directory where testreports will be written
+ to. Default's to the project's basedir. |
+ No. |
+
+
+
+
+
+