You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by mb...@apache.org on 2009/01/15 22:18:06 UTC

svn commit: r734819 - /ant/core/trunk/src/tests/antunit/types/resources/comparators/test.xml

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>