ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r1310671 - /ant/core/trunk/src/tests/antunit/core/nested-text-test.xml
Date Sat, 07 Apr 2012 04:17:52 GMT
Author: bodewig
Date: Sat Apr  7 04:17:52 2012
New Revision: 1310671

URL: http://svn.apache.org/viewvc?rev=1310671&view=rev
Log:
try to see what gets logged

Modified:
    ant/core/trunk/src/tests/antunit/core/nested-text-test.xml

Modified: ant/core/trunk/src/tests/antunit/core/nested-text-test.xml
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/tests/antunit/core/nested-text-test.xml?rev=1310671&r1=1310670&r2=1310671&view=diff
==============================================================================
--- ant/core/trunk/src/tests/antunit/core/nested-text-test.xml (original)
+++ ant/core/trunk/src/tests/antunit/core/nested-text-test.xml Sat Apr  7 04:17:52 2012
@@ -33,11 +33,10 @@
   <!-- https://issues.apache.org/bugzilla/show_bug.cgi?id=46285 -->
   <target name="testNumericEntities">
     <echo>&#xe4;&#169;</echo>
-    <mkdir dir="${output}"/>
-    <concat destfile="${output}/log">
+    <loadresource property="foo">
       <au:logcontent/>
-    </concat>
-    <au:assertResourceContains value="ä©" resource="${output}/log"/>
+    </loadresource>
+    <au:assertPropertyEquals name="foo" value="ä©"/>
     <au:assertLogContains text="ä©"/>
   </target>
 



Mime
View raw message