You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Petr Shypila <ik...@gmail.com> on 2015/07/10 12:46:44 UTC

Refactored unit tests for SlingHttpServletRequestImpl

Hello I just refactored unit tests for SlingHttpServletRequestImpl by
moving it to Mockito instead of JMock. I also moved some duplicated code
into test's setup. Hope it will be useful. Patch file you could find on
Githib's Gist[1] or in attachments.

[1] https://gist.github.com/PetrShypila/4e1fcac6db4889b43053

-Petr

Re: Refactored unit tests for SlingHttpServletRequestImpl

Posted by Petr Shypila <ik...@gmail.com>.
Sorry, just forgot to attach a patch file

-Petr

2015-07-10 13:46 GMT+03:00 Petr Shypila <ik...@gmail.com>:

> Hello I just refactored unit tests for SlingHttpServletRequestImpl by
> moving it to Mockito instead of JMock. I also moved some duplicated code
> into test's setup. Hope it will be useful. Patch file you could find on
> Githib's Gist[1] or in attachments.
>
> [1] https://gist.github.com/PetrShypila/4e1fcac6db4889b43053
>
> -Petr
>