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 04:55:17 GMT
amen :)

On Thu, Sep 17, 2009 at 8:36 PM, Alex Siman <aleksandr.siman@gmail.com> wrote:
>
> Found outdated javadoc for method [String executeAction(String uri)]:
>
> /**... result for the action needs to be
>  * FreeMarker, or Velocity (actually, anything except JSPs)
>  */
>
> Note about Embedded JSP plugin.
>
>
> Musachy Barroso wrote:
>>
>> 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
>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/JUnit-Plugin%3A-Little-refactoring-tp25502119p25502637.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