struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rich Thornett <r...@thornett.com>
Subject Re: Struts 2 and Validation Testing
Date Fri, 06 Apr 2007 13:41:10 GMT

Tried extending XWorkTestCase in a sample test, but sgot the same error.  I'm
extending MockObjectTestCase anyway, so inheritance wouldn't be the best
solution for me.

Doesn't look like there's been any traction on this issue in Jira yet:
https://issues.apache.org/struts/browse/WW-1868


qmnonic wrote:
> 
> 
> I experienced the same problem in a test case (though different
> circumstances), and it was solved by extending XWorkTestCase instead of
> TestCase as noted in the example - 
> http://struts.apache.org/2.x/docs/how-do-i-unit-test-my-actions-validation-logic.html
> .  This might help...
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Struts-2-and-Validation-Testing-tf3451623.html#a9872429
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message