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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to