ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r559251 - /ant/core/branches/ANT_17_BRANCH/src/tests/antunit/taskdefs/retry-test.xml
Date Tue, 24 Jul 2007 23:04:56 GMT
Author: mbenson
Date: Tue Jul 24 16:04:54 2007
New Revision: 559251

URL: http://svn.apache.org/viewvc?view=rev&rev=559251
Log:
merge; fix test to expect punct. chgs

Modified:
    ant/core/branches/ANT_17_BRANCH/src/tests/antunit/taskdefs/retry-test.xml

Modified: ant/core/branches/ANT_17_BRANCH/src/tests/antunit/taskdefs/retry-test.xml
URL: http://svn.apache.org/viewvc/ant/core/branches/ANT_17_BRANCH/src/tests/antunit/taskdefs/retry-test.xml?view=diff&rev=559251&r1=559250&r2=559251
==============================================================================
--- ant/core/branches/ANT_17_BRANCH/src/tests/antunit/taskdefs/retry-test.xml (original)
+++ ant/core/branches/ANT_17_BRANCH/src/tests/antunit/taskdefs/retry-test.xml Tue Jul 24 16:04:54
2007
@@ -7,12 +7,12 @@
     <property name="dest" value="${java.io.tmpdir}/dest"/>
     <!-- just in case this ever becomes a legit url... -->
     <property name="src" value="http://iojasodjojaosdj"/>
-    <au:expectfailure expectedmessage="Task [get] failed after [${i}] attempts, giving
up">
+    <au:expectfailure expectedmessage="Task [get] failed after [${i}] attempts; giving
up">
       <retry retrycount="${i}">
         <get src="${src}" dest="${dest}"/>
       </retry>
     </au:expectfailure>
-    <au:assertLogContains text="Attempt [1] error occured, retrying..."/>
+    <au:assertLogContains text="Attempt [1]:  error occurred; retrying..."/>
   </target>
 
   <target name="test-success">
@@ -21,7 +21,7 @@
     <retry retrycount="${i}">
       <touch file="${dest}"/>
     </retry>
-    <au:assertLogDoesntContain text="Attempt [1] error occured, retrying..."/>
+    <au:assertLogDoesntContain text="Attempt [1]:  error occurred; retrying..."/>
   </target>
 
 </project>



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


Mime
View raw message