Browse Source

verifying resourcexists works for URLs, see PR 53383

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1351060 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 13 years ago
parent
commit
4675145678
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      src/tests/antunit/taskdefs/condition/resourceexists-test.xml

+ 8
- 0
src/tests/antunit/taskdefs/condition/resourceexists-test.xml View File

@@ -36,4 +36,12 @@
</au:assertFalse>
</target>

<target name="testURL">
<au:assertTrue>
<cond:resourceexists>
<url url="http://ant.apache.org/index.html"/>
</cond:resourceexists>
</au:assertTrue>
</target>

</project>

Loading…
Cancel
Save