You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bo...@apache.org on 2006/01/25 06:25:10 UTC
svn commit: r372111 - /ant/core/trunk/xdocs/antlibs/antunit/index.xml
Author: bodewig
Date: Tue Jan 24 21:25:08 2006
New Revision: 372111
URL: http://svn.apache.org/viewcvs?rev=372111&view=rev
Log:
fix example
Modified:
ant/core/trunk/xdocs/antlibs/antunit/index.xml
Modified: ant/core/trunk/xdocs/antlibs/antunit/index.xml
URL: http://svn.apache.org/viewcvs/ant/core/trunk/xdocs/antlibs/antunit/index.xml?rev=372111&r1=372110&r2=372111&view=diff
==============================================================================
--- ant/core/trunk/xdocs/antlibs/antunit/index.xml (original)
+++ ant/core/trunk/xdocs/antlibs/antunit/index.xml Tue Jan 24 21:25:08 2006
@@ -195,9 +195,9 @@
<!-- 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>
]]></source>
@@ -214,6 +214,12 @@
<p>from a buildfile of its own you'll get a result that looks like</p>
<source><![CDATA[
+[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
]]></source>
</section>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org