summaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
authorAleksei Zotov <azotcsit@gmail.com>2021-11-15 18:20:17 +0400
committerJaikiran Pai <jaikiran@apache.org>2021-11-16 18:07:57 +0530
commitc8bc470774001278b809f69898bc43e98933ff15 (patch)
tree61ca7ca328b8f36c27a758ad20364340c3bc86ca /manual
parent5db51cebc334034162450a8fdf70ddebf1b2085e (diff)
downloadant-c8bc470774001278b809f69898bc43e98933ff15.tar.gz
junitlauncher - Support extension attribute for listeners
This closes #168 pull request at github.com/apache/ant
Diffstat (limited to 'manual')
-rw-r--r--manual/Tasks/junitlauncher.html13
1 files changed, 10 insertions, 3 deletions
diff --git a/manual/Tasks/junitlauncher.html b/manual/Tasks/junitlauncher.html
index f8899bb72..0f20648e4 100644
--- a/manual/Tasks/junitlauncher.html
+++ b/manual/Tasks/junitlauncher.html
@@ -354,7 +354,7 @@
If no value is specified for this attribute and the listener implements
the <code>org.apache.tools.ant.taskdefs.optional.junitlauncher.TestResultFormatter</code>
then the file name will be defaulted to and will be of the
- form <code>TEST-<i>testname</i>.<i>formatter-specific-extension</i></code>
+ form <code>TEST-<i>testname</i>.<i>extension</i></code>
(ex: <samp>TEST-org.myapp.SomeTest.xml</samp> for the <q>legacy-xml</q> type
formatter)
</p>
@@ -367,6 +367,13 @@
<td>No</td>
</tr>
<tr>
+ <td>extension</td>
+ <td>Extension to append to the output filename.
+ <p><em>Since Ant 1.10.13</em></p>
+ </td>
+ <td>No; defaults to <q>xml</q> for the <q>legacy-xml</q> formatter and to <q>txt</q> for the rest</td>
+ </tr>
+ <tr>
<td>outputDir</td>
<td>Directory into which to create the output of the listener.
<p><em>Since Ant 1.10.6</em></p>
@@ -406,10 +413,10 @@
<tr>
<td>useLegacyReportingName</td>
<td>Set to true, if the test identifiers reported by this listener should use legacy (JUnit4
- style) names. Else set to false. Defaults to true.
+ style) names. Else set to false.
<p><em>Since Ant 1.10.10</em></p>
</td>
- <td>No</td>
+ <td>No; defaults to <q>true</q></td>
</tr>
</table>