You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by mb...@apache.org on 2007/05/10 16:50:25 UTC

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

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