struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Musachy Barroso <musa...@gmail.com>
Subject Re: JUnit Plugin: Little refactoring
Date Fri, 18 Sep 2009 02:52:49 GMT
fixed in trunk. thanks!

musachy

On Thu, Sep 17, 2009 at 7:15 PM, Alex Siman <aleksandr.siman@gmail.com> wrote:
>
> // From
>    protected ActionMapping getActionMapping(String url) {
>        MockHttpServletRequest req = new MockHttpServletRequest();
>        req.setRequestURI(url);
>        return
> Dispatcher.getInstance().getContainer().getInstance(ActionMapper.class).getMapping(req,
>                Dispatcher.getInstance().getConfigurationManager());
>    }
>
> // To
>    protected ActionMapping getActionMapping(String url) {
>        MockHttpServletRequest req = new MockHttpServletRequest();
>        req.setRequestURI(url);
>        return getActionMapping(req);
>    }
> --
> View this message in context: http://www.nabble.com/JUnit-Plugin%3A-Little-refactoring-tp25502119p25502119.html
> Sent from the Struts - Dev mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

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


Mime
View raw message