Author: bayard Date: Thu Aug 23 06:49:58 2007 New Revision: 568991 URL: http://svn.apache.org/viewvc?rev=568991&view=rev Log: Making some of the fail messages a bit more expressive so I can tell that they are all NullPointerExceptions. These are presumably happening due to STR-3085
Modified: struts/struts1/trunk/core/src/test/java/org/apache/struts/action/TestActionServlet.java Modified: struts/struts1/trunk/core/src/test/java/org/apache/struts/action/TestActionServlet.java URL: http://svn.apache.org/viewvc/struts/struts1/trunk/core/src/test/java/org/apache/struts/action/TestActionServlet.java?rev=568991&r1=568990&r2=568991&view=diff ============================================================================== --- struts/struts1/trunk/core/src/test/java/org/apache/struts/action/TestActionServlet.java (original) +++ struts/struts1/trunk/core/src/test/java/org/apache/struts/action/TestActionServlet.java Thu Aug 23 06:49:58 2007 @@ -488,7 +488,7 @@ try { actionServlet.initModuleExceptionConfigs(moduleConfig); } catch (Exception e) { - fail("Unexpected exception caught."); + fail("Unexpected exception caught: " + e); } } @@ -668,7 +668,7 @@ try { actionServlet.initModuleForwards(moduleConfig); } catch (Exception e) { - fail("Unexpected exception caught."); + fail("Unexpected exception caught: " + e); } } @@ -846,7 +846,7 @@ try { actionServlet.initModuleActions(moduleConfig); } catch (Exception e) { - fail("Unexpected exception caught."); + fail("Unexpected exception caught: " + e); } }