[
https://issues.apache.org/jira/browse/HTTPCLIENT-1244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13471360#comment-13471360
]
Joe Campbell commented on HTTPCLIENT-1244:
------------------------------------------
Ok - Attached is a patch that just does the createMock --> createNiceMock
conversion for the caching unit tests. Will work on converting to mockito at
some point in the nearish future. Can I assume that it is an apache standard
to use mockito...
Thanks,
Joe
> convert unit tests for cache module to use Mockito
> --------------------------------------------------
>
> Key: HTTPCLIENT-1244
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1244
> Project: HttpComponents HttpClient
> Issue Type: Improvement
> Components: Cache
> Reporter: Jon Moore
> Labels: test
> Fix For: Future
>
> Attachments: niceMockTransition_.patch
>
>
> Currently the unit tests for the caching module, while comprehensive, use
> strict mocks from EasyMock. In many cases, these tests are brittle in ways
> they shouldn't be. Converting to Mockito (as the rest of the httpclient
> codebase does) would potentially help here, as well as unifying the unit test
> frameworks used across the codebase.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]