[ 
https://issues.apache.org/jira/browse/WINK-339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13003269#comment-13003269
 ] 

Luciano Resende commented on WINK-339:
--------------------------------------

Do we need to enhance the tests to exercise this scenario ?

> org.apache.wink.test.mock.MockHttpServletRequestWrapper doesn't handle 
> getContentType() and parameter related methods
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: WINK-339
>                 URL: https://issues.apache.org/jira/browse/WINK-339
>             Project: Wink
>          Issue Type: Bug
>          Components: Testsuite
>    Affects Versions: 1.1.2
>            Reporter: Raymond Feng
>             Fix For: 1.1.2
>
>         Attachments: rfeng.diff
>
>
> We have a MockHttpServletRequestWrapper that extends from 
> org.springframework.mock.web.MockHttpServletRequest. The base class uses 
> instance vars for certain header and it doesn't look up from the headers, for 
> example, getContentType(). The other thing is that it doesn't handle POSTed 
> form (the parameters are in the body) for parameter related calls.
> I'm providing a patch to fix them.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to