ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r536878 - /ant/core/trunk/src/tests/antunit/types/resources/concat-resource-test.xml
Date Thu, 10 May 2007 14:50:25 GMT
Author: mbenson
Date: Thu May 10 07:50:24 2007
New Revision: 536878

URL: http://svn.apache.org/viewvc?view=rev&rev=536878
Log:
add another test

Modified:
    ant/core/trunk/src/tests/antunit/types/resources/concat-resource-test.xml

Modified: ant/core/trunk/src/tests/antunit/types/resources/concat-resource-test.xml
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/tests/antunit/types/resources/concat-resource-test.xml?view=diff&rev=536878&r1=536877&r2=536878
==============================================================================
--- ant/core/trunk/src/tests/antunit/types/resources/concat-resource-test.xml (original)
+++ ant/core/trunk/src/tests/antunit/types/resources/concat-resource-test.xml Thu May 10 07:50:24
2007
@@ -87,4 +87,20 @@
     </au:assertTrue>
   </target>
 
+  <target name="testReference">
+    <resources id="concat">
+      <concat>foo</concat>
+    </resources>
+    <au:assertTrue>
+      <and>
+        <resourcecount count="1" refid="concat" />
+        <resourcesmatch>
+          <string>foo</string>
+          <resources refid="concat" />
+          <!-- purposely hit it twice to see what happens -->
+          <resources refid="concat" />
+        </resourcesmatch>
+      </and>
+    </au:assertTrue>
+  </target>
 </project>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message