You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by ke...@apache.org on 2007/11/08 07:20:59 UTC

svn commit: r593036 - in /ant/core/branches/ANT_17_BRANCH/src/tests/antunit/types/resources: concat-resource-test.xml utf-16.in.windows

Author: kevj
Date: Wed Nov  7 22:20:58 2007
New Revision: 593036

URL: http://svn.apache.org/viewvc?rev=593036&view=rev
Log:
-same problem as with concat-test

Added:
    ant/core/branches/ANT_17_BRANCH/src/tests/antunit/types/resources/utf-16.in.windows   (with props)
Modified:
    ant/core/branches/ANT_17_BRANCH/src/tests/antunit/types/resources/concat-resource-test.xml

Modified: ant/core/branches/ANT_17_BRANCH/src/tests/antunit/types/resources/concat-resource-test.xml
URL: http://svn.apache.org/viewvc/ant/core/branches/ANT_17_BRANCH/src/tests/antunit/types/resources/concat-resource-test.xml?rev=593036&r1=593035&r2=593036&view=diff
==============================================================================
--- ant/core/branches/ANT_17_BRANCH/src/tests/antunit/types/resources/concat-resource-test.xml (original)
+++ ant/core/branches/ANT_17_BRANCH/src/tests/antunit/types/resources/concat-resource-test.xml Wed Nov  7 22:20:58 2007
@@ -51,10 +51,24 @@
     </au:assertTrue>
   </target>
 
-  <target name="testEncoding">
+  <target name="testEncoding" if="os.unix">
     <au:assertTrue>
       <resourcesmatch astext="true">
         <file file="utf-16.in" />
+        <concat outputEncoding="utf-16">foo${br}bar${br}baz${br}</concat>
+        <concat outputEncoding="utf-16" fixlastline="true">
+          <string value="foo" />
+          <string value="bar" />
+          <string value="baz" />
+        </concat>
+      </resourcesmatch>
+    </au:assertTrue>
+  </target>
+	
+  <target name="testEncodingWindows" if="os.windows">
+    <au:assertTrue>
+      <resourcesmatch astext="true">
+        <file file="utf-16.in.windows" />
         <concat outputEncoding="utf-16">foo${br}bar${br}baz${br}</concat>
         <concat outputEncoding="utf-16" fixlastline="true">
           <string value="foo" />

Added: ant/core/branches/ANT_17_BRANCH/src/tests/antunit/types/resources/utf-16.in.windows
URL: http://svn.apache.org/viewvc/ant/core/branches/ANT_17_BRANCH/src/tests/antunit/types/resources/utf-16.in.windows?rev=593036&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ant/core/branches/ANT_17_BRANCH/src/tests/antunit/types/resources/utf-16.in.windows
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org