ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r1351060 - /ant/core/trunk/src/tests/antunit/taskdefs/condition/resourceexists-test.xml
Date Sun, 17 Jun 2012 06:28:53 GMT
Author: bodewig
Date: Sun Jun 17 06:28:52 2012
New Revision: 1351060

URL: http://svn.apache.org/viewvc?rev=1351060&view=rev
Log:
verifying resourcexists works for URLs, see PR 53383

Modified:
    ant/core/trunk/src/tests/antunit/taskdefs/condition/resourceexists-test.xml

Modified: ant/core/trunk/src/tests/antunit/taskdefs/condition/resourceexists-test.xml
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/tests/antunit/taskdefs/condition/resourceexists-test.xml?rev=1351060&r1=1351059&r2=1351060&view=diff
==============================================================================
--- ant/core/trunk/src/tests/antunit/taskdefs/condition/resourceexists-test.xml (original)
+++ ant/core/trunk/src/tests/antunit/taskdefs/condition/resourceexists-test.xml Sun Jun 17
06:28:52 2012
@@ -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>



Mime
View raw message