Author: vmassol
Date: 2008-01-15 09:58:45 +0100 (Tue, 15 Jan 2008)
New Revision: 6836

Modified:
   
xwiki-products/xwiki-enterprise/trunk/distribution-test/xmlrpc-tests/src/test/it/com/xpn/xwiki/it/xmlrpc/XhtmlValidityTest.java
Log:
Improved a little bit the error messgae printed out by surefire when the 
XhtmlValidityTest fails. Like for example it's currently failing because of 
errors in the Lucene plugin but it looks as if it's failing because a page 
failed to validate, which is not the case.

Modified: 
xwiki-products/xwiki-enterprise/trunk/distribution-test/xmlrpc-tests/src/test/it/com/xpn/xwiki/it/xmlrpc/XhtmlValidityTest.java
===================================================================
--- 
xwiki-products/xwiki-enterprise/trunk/distribution-test/xmlrpc-tests/src/test/it/com/xpn/xwiki/it/xmlrpc/XhtmlValidityTest.java
     2008-01-15 01:46:02 UTC (rev 6835)
+++ 
xwiki-products/xwiki-enterprise/trunk/distribution-test/xmlrpc-tests/src/test/it/com/xpn/xwiki/it/xmlrpc/XhtmlValidityTest.java
     2008-01-15 08:58:45 UTC (rev 6836)
@@ -174,12 +174,12 @@
         System.err.print(errput);
 
         // Detect server-side error/warning messages from the stdout
-        assertFalse(hasErrors(output));
-        assertFalse(hasWarnings(output));
+        assertFalse("Errors found in the stdout output", hasErrors(output));
+        assertFalse("Warnings found in the stdout output", 
hasWarnings(output));
 
         // Detect server-side error/warning messages from the stderr
-        assertFalse(hasErrors(errput));
-        assertFalse(hasWarnings(errput));
+        assertFalse("Errors found in the stderr output", hasErrors(errput));
+        assertFalse("Warnings found in the stderr output", 
hasWarnings(errput));
 
         rpc.logout();
 

_______________________________________________
notifications mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications

Reply via email to