|
|
@@ -195,9 +195,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> |
|
|
|
]]></source> |
|
|
@@ -214,6 +214,12 @@ public class ANTLRTest extends BuildFileTest { |
|
|
|
<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> |
|
|
|