|
|
@@ -115,7 +115,7 @@ |
|
|
|
<p>Initially all tests for Ant tasks were written as individual |
|
|
|
<a href="http://www.junit.org/">JUnit</a> test cases. Pretty |
|
|
|
soon it was clear that most tests needed to perform common tasks |
|
|
|
like reading a build file, intializing a project instance with |
|
|
|
like reading a build file, initializing a project instance with |
|
|
|
it and executing a target. At this point <a href="http://svn.apache.org/viewcvs.cgi/ant/core/trunk/src/testcases/org/apache/tools/ant/BuildFileTest.java">BuildFileTest</a> |
|
|
|
was invented, a base class for almost all task test cases.</p> |
|
|
|
<p>BuildFileTest works fine and in fact has been picked up by <a href="http://ant-contrib.sf.net/">the Ant-Contrib Project</a> |
|
|
@@ -249,7 +249,7 @@ public class ANTLRTest extends BuildFileTest { |
|
|
|
relays test results to them.</p> |
|
|
|
<p>Currently only a single implementation |
|
|
|
<code><plainlistener></code> modelled after the "plain" |
|
|
|
JUnit listener is bundeled with the library.</p> |
|
|
|
JUnit listener is bundled with the library.</p> |
|
|
|
<h3 class="section"> |
|
|
|
<a name="Examples"></a> |
|
|
|
Examples |
|
|
|