ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r1182255 - /ant/antlibs/compress/trunk/src/tests/antunit/pack200normalize-test.xml
Date Wed, 12 Oct 2011 08:22:05 GMT
Author: bodewig
Date: Wed Oct 12 08:22:05 2011
New Revision: 1182255

URL: http://svn.apache.org/viewvc?rev=1182255&view=rev
Log:
more specific tests

Modified:
    ant/antlibs/compress/trunk/src/tests/antunit/pack200normalize-test.xml

Modified: ant/antlibs/compress/trunk/src/tests/antunit/pack200normalize-test.xml
URL: http://svn.apache.org/viewvc/ant/antlibs/compress/trunk/src/tests/antunit/pack200normalize-test.xml?rev=1182255&r1=1182254&r2=1182255&view=diff
==============================================================================
--- ant/antlibs/compress/trunk/src/tests/antunit/pack200normalize-test.xml (original)
+++ ant/antlibs/compress/trunk/src/tests/antunit/pack200normalize-test.xml Wed Oct 12 08:22:05
2011
@@ -31,25 +31,25 @@
   </target>
 
   <target name="testSrcfileIsRequired">
-    <au:expectfailure>
+    <au:expectfailure expectedMessage="is required">
       <cmp:pack200normalize/>
     </au:expectfailure>
   </target>
 
   <target name="testSrcfileMustExist">
-    <au:expectfailure>
+    <au:expectfailure expectedMessage="bar.jar doesn't exist">
       <cmp:pack200normalize srcfile="${bar}"/>
     </au:expectfailure>
   </target>
 
   <target name="testSrcfileMustNotBeADirectory">
-    <au:expectfailure>
+    <au:expectfailure expectedMessage="testoutput must be a file">
       <cmp:pack200normalize srcfile="${output}"/>
     </au:expectfailure>
   </target>
 
   <target name="testDestfileMustNotBeADirectory">
-    <au:expectfailure>
+    <au:expectfailure expectedMessage="testoutput must be a file">
       <cmp:pack200normalize srcfile="${foo}" destfile="${output}"/>
     </au:expectfailure>
   </target>



Mime
View raw message