ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r693093 - /ant/core/trunk/src/tests/antunit/taskdefs/echo-test.xml
Date Mon, 08 Sep 2008 13:33:32 GMT
Author: bodewig
Date: Mon Sep  8 06:33:31 2008
New Revision: 693093

URL: http://svn.apache.org/viewvc?rev=693093&view=rev
Log:
Make test pass on vmgump

Modified:
    ant/core/trunk/src/tests/antunit/taskdefs/echo-test.xml

Modified: ant/core/trunk/src/tests/antunit/taskdefs/echo-test.xml
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/tests/antunit/taskdefs/echo-test.xml?rev=693093&r1=693092&r2=693093&view=diff
==============================================================================
--- ant/core/trunk/src/tests/antunit/taskdefs/echo-test.xml (original)
+++ ant/core/trunk/src/tests/antunit/taskdefs/echo-test.xml Mon Sep  8 06:33:31 2008
@@ -112,16 +112,9 @@
   <target name="testUTF16Encoding">
     <property name="char" value="&#169;" />
     <echo file="${output}/echo16.txt" encoding="UTF-16">${char}</echo>
-    <au:assertTrue>
-      <resourcecount count="1">
-        <restrict>
-          <concat encoding="UTF-16">
-            <file file="${output}/echo16.txt" />
-          </concat>
-          <contains text="${char}" />
-        </restrict>
-      </resourcecount>
-    </au:assertTrue>
+    <loadfile property="out.16" srcfile="${output}/echo16.txt"
+              encoding="UTF-16"/>
+    <au:assertEquals expected="${char}" actual="${out.16}"/>
   </target>
 
   <target name="testUTF8Encoding">



Mime
View raw message