You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

test.html 2.1 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Language" content="en-us">
  4. <title>Apache Ant User Manual</title>
  5. </head>
  6. <body>
  7. <h2><a name="test">Test</a></h2>
  8. <h3>Description</h3>
  9. <p>This is a primitive task to execute a unit test in the org.apache.testlet framework.</p>
  10. <h3>Parameters</h3>
  11. <table border="1" cellpadding="2" cellspacing="0">
  12. <tr>
  13. <td valign="top"><b>Attribute</b></td>
  14. <td valign="top"><b>Description</b></td>
  15. <td align="center" valign="top"><b>Required</b></td>
  16. </tr>
  17. <tr>
  18. <td valign="top">showSuccess</td>
  19. <td valign="top">a boolean value indicating whether tests should display a
  20. message on success
  21. </td>
  22. <td valign="top" align="center">No</td>
  23. </tr>
  24. <tr>
  25. <td valign="top">showBanner</td>
  26. <td valign="top">a boolean value indicating whether a banner should be displayed
  27. when starting testlet engine
  28. </td>
  29. <td valign="top" align="center">No</td>
  30. </tr>
  31. <tr>
  32. <td valign="top">forceShowTrace</td>
  33. <td valign="top">a boolean indicating that a stack trace is displayed on any failure
  34. </td>
  35. <td valign="top" align="center">No</td>
  36. </tr>
  37. <tr>
  38. <td valign="top">showTrace</td>
  39. <td valign="top">a boolean indicating that a stack trace is displayed on
  40. error (but not normal failure)
  41. </td>
  42. <td valign="top" align="center">No</td>
  43. </tr>
  44. </table>
  45. <p>
  46. The user can also specify the nested &lt;classpath&gt; element which defines classpath
  47. in which the task is executed. The user also specifies a subelement per testlet executed
  48. which has content that specifies tasklet classname.</p>
  49. <h3>Examples</h3>
  50. <blockquote>
  51. <pre>
  52. &lt;test showSuccess=&quot;false&quot; showBanner=&quot;false&quot; showTrace=&quot;true&quot; forceShowTrace=&quot;true&quot;&gt;
  53. &lt;classpath refid=&quot;test.classpath&quot;/&gt;
  54. &lt;testlet&gt;org.foo.MyTestlet&lt;testlet/&gt;
  55. &lt;testlet&gt;org.foo.MyOtherTestlet&lt;testlet/&gt;
  56. &lt;test/&gt;
  57. </pre>
  58. </blockquote>
  59. The above will run the testlets org.foo.MyTestlet and org.foo.MyOtherTestlet
  60. <hr>
  61. <p align="center">Copyright &copy; 2000,2001 Apache Software Foundation. All rights
  62. Reserved.</p>
  63. </body>
  64. </html>