You mean to add section about testing? Maybe it would better to show
sample code with sample unittest, could you post something like that
here?


Thanks in advance!
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

2013/6/14 Antonios Gkogkakis <gkogk...@tcd.ie>:
> Hi all,
>
> I've made a documentation contribution on the Restful2ActionMapper a few
> months ago,
>
> https://cwiki.apache.org/WW/restfulactionmapper.html
>
> Could someone that has access to the wiki (Lukasz :D) append that, in order
> to test
> an action using the Restful2ActionMapper with StrutsJUnit4TestCase someone
> has to
> set the http method on the protected mock http object, e.g., request.
> setMethod("get")
>
> It makes sense now, but it took me a couple of hours to figure it out :D
>
> Thanks,
> Antonios

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

Reply via email to