ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r734819 - /ant/core/trunk/src/tests/antunit/types/resources/comparators/test.xml
Date Thu, 15 Jan 2009 21:18:06 GMT
Author: mbenson
Date: Thu Jan 15 13:18:06 2009
New Revision: 734819

URL: http://svn.apache.org/viewvc?rev=734819&view=rev
Log:
failing test for PR 46257

Modified:
    ant/core/trunk/src/tests/antunit/types/resources/comparators/test.xml

Modified: ant/core/trunk/src/tests/antunit/types/resources/comparators/test.xml
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/tests/antunit/types/resources/comparators/test.xml?rev=734819&r1=734818&r2=734819&view=diff
==============================================================================
--- ant/core/trunk/src/tests/antunit/types/resources/comparators/test.xml (original)
+++ ant/core/trunk/src/tests/antunit/types/resources/comparators/test.xml Thu Jan 15 13:18:06
2009
@@ -279,4 +279,27 @@
 
   <target name="sort" depends="forwardsort,reversesort,compoundsort" />
 
+  <target name="testEquals">
+    <!-- test for PR 46527 -->
+    <sort id="testEquals">
+      <resources>
+        <string>foo</string>
+        <string>foo</string>
+        <string>foo</string>
+      </resources>
+    </sort>
+
+    <au:assertTrue>
+      <resourcecount refid="testEquals" count="3" />
+    </au:assertTrue>
+
+    <pathconvert refid="testEquals" property="testEquals" pathsep="">
+      <mergemapper to="X" />
+    </pathconvert>
+
+    <au:assertTrue>
+      <length string="${testEquals}" length="3" />
+    </au:assertTrue>
+  </target>
+
 </project>



Mime
View raw message