You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bo...@apache.org on 2011/10/12 10:22:05 UTC

svn commit: r1182255 - /ant/antlibs/compress/trunk/src/tests/antunit/pack200normalize-test.xml

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>