struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Lindholm <glindh...@yahoo.com>
Subject Re: How to set an ActionValidatorManager to unittest?
Date Thu, 12 Mar 2009 18:08:50 GMT



gordian yuan wrote:
> 
> Hi, All
> 
> I found this article, How do I unit test my action's validation logic
> <http://cwiki.apache.org/confluence/display/WW/How+do+I+unit+test+my+action%27s+validation+logic>,
> 
> However, in struts2.1.6 have been removed ActionValidatorManagerFactory
> class
> My question is how can be obtain an ActionValidatorManager in unittest?
> Any input will be great! Thanks...
> 
> Gordian
> 
> 

I don't know anything about ActionValidatorManager but I use the following
to fully test my actions including validation, interceptors, and results.

http://glindholm.wordpress.com/2008/06/30/unit-testing-struts-2-actions/

Hopefully it's helpful.
-- 
View this message in context: http://www.nabble.com/How-to-set-an-ActionValidatorManager-to-unittest--tp22472794p22482351.html
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