Browse Source

regen site

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@372113 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 19 years ago
parent
commit
3da8bd4fa7
1 changed files with 8 additions and 2 deletions
  1. +8
    -2
      docs/antlibs/antunit/index.html

+ 8
- 2
docs/antlibs/antunit/index.html View File

@@ -270,9 +270,9 @@ public class ANTLRTest extends BuildFileTest {

<!-- the actual test case -->
<target name="testTouchCreatesFile">
<au:assertFileDoesntExist name="${foo}"/>
<au:assertFileDoesntExist file="${foo}"/>
<touch file="${foo}"/>
<au:assertFileExists name="${foo}"/>
<au:assertFileExists file="${foo}"/>
</target>
</project>
</pre>
@@ -285,6 +285,12 @@ public class ANTLRTest extends BuildFileTest {
</pre>
<p>from a buildfile of its own you'll get a result that looks like</p>
<pre class="code">
[au:antunit] Build File: /tmp/touch.xml
[au:antunit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.249 sec
[au:antunit] Target: testTouchCreatesFile took 0.183 sec

BUILD SUCCESSFUL
Total time: 1 second
</pre>
</div>


Loading…
Cancel
Save