add documentation

git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@433145 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Stefan Bodewig 2006-08-21 04:11:49 +00:00
parent 06778bc504
commit 8f66282084
2 changed files with 56 additions and 3 deletions

View File

@ -127,10 +127,12 @@ public class LogCapturer {
<p>Creates a test listener that gets attached to the task.</p>
<p>The only listener that is part of this antlib is <a
href="plainlistener.html">&lt;plainlistener/&gt;</a> this one
<p>Two listeners are part of this antlib <a
href="plainlistener.html">&lt;plainlistener/&gt;</a> which
creates reports similar to the "plain" &lt;formatter&gt; of the
&lt;junit&gt; task.</p>
&lt;junit&gt; task and <a
href="xmllistener.html">&lt;xmllistener/&gt;</a> which is similar
to the "xml" &lt;formatter&gt;.</p>
<h4>propertyset</h4>

51
docs/xmllistener.html Normal file
View File

@ -0,0 +1,51 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<html>
<head>
<meta http-equiv="Content-Language" content="en-us"></meta>
<title>XMLListener AntUnit Listener</title>
</head>
<body>
<h2><a name="xmllistener">XML AntUnit Listener</a></h2>
<h3>Description</h3>
<p>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.</p>
<h3>Parameters</h3>
<table border="1" cellpadding="2" cellspacing="0">
<tr>
<td valign="top"><b>Attribute</b></td>
<td valign="top"><b>Description</b></td>
<td align="center" valign="top"><b>Required</b></td>
</tr>
<tr>
<td valign="top">toDir</td>
<td valign="top">Directory where testreports will be written
to. Default's to the project's basedir.</td>
<td align="center">No.</td>
</tr>
</table>
</body>
</html>