ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r209085 - /ant/sandbox/antlibs/antunit/trunk/src/etc/testcases/antunit/copy.xml
Date Mon, 04 Jul 2005 14:13:17 GMT
Author: bodewig
Date: Mon Jul  4 07:13:16 2005
New Revision: 209085

URL: http://svn.apache.org/viewcvs?rev=209085&view=rev
Log:
Port more of copy's test suite

Modified:
    ant/sandbox/antlibs/antunit/trunk/src/etc/testcases/antunit/copy.xml

Modified: ant/sandbox/antlibs/antunit/trunk/src/etc/testcases/antunit/copy.xml
URL: http://svn.apache.org/viewcvs/ant/sandbox/antlibs/antunit/trunk/src/etc/testcases/antunit/copy.xml?rev=209085&r1=209084&r2=209085&view=diff
==============================================================================
--- ant/sandbox/antlibs/antunit/trunk/src/etc/testcases/antunit/copy.xml (original)
+++ ant/sandbox/antlibs/antunit/trunk/src/etc/testcases/antunit/copy.xml Mon Jul  4 07:13:16
2005
@@ -47,6 +47,7 @@
       </filterset>
     </copy>
     <concat><path path="copy.filter.out"/></concat>
+    <au:assertLogDoesntContain text="loop in tokens" level="debug"/>
   </target>
 
   <target name="infinitetest">
@@ -61,6 +62,7 @@
       </filterset>
     </copy>
     <concat><path path="copy.filter.out"/></concat>
+    <au:assertLogContains text="loop in tokens" level="debug"/>
   </target>
 
   <target name="test3">
@@ -141,9 +143,11 @@
     <au:assertFilesMatch actual="copytest1.tmp" expected="expected/utf-8"/>
   </target>
 
-  <target name="XtestMissingFileIgnore">
+  <target name="testMissingFileIgnore">
+    <property name="not-there" location="not-there"/>
     <copy file="not-there" tofile="copytest1.tmp"
       failonerror="false"/>
+    <au:assertLogContains text="Warning: Could not find file ${not-there} to copy."/>
   </target>
 
   <target name="testMissingFileBail">
@@ -154,10 +158,12 @@
     </au:expectfailure>
   </target>
 
-  <target name="XtestMissingDirIgnore">
+  <target name="testMissingDirIgnore">
+    <property name="not-there" location="not-there"/>
     <copy todir="copytest1dir" failonerror="false">
       <fileset dir="not-there"/>
     </copy>
+    <au:assertLogContains text="${not-there} not found."/>
   </target>
 
   <target name="testMissingDirBail">



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


Mime
View raw message