[
https://issues.apache.org/jira/browse/HTTPCLIENT-1244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13471617#comment-13471617
]
Oleg Kalnichevski commented on HTTPCLIENT-1244:
-----------------------------------------------
Patch committed to both SVN trunk and 4.2.x branch. Many thanks, Joe, for
contributing it.
To my best knowledge the only standards that ASF enforces is licensing.
Otherwise it is pretty much up to individual projects to decide what kind of
ALv2 compatible software to use. I am personally biased toward Mockito, but
could live with any mocking framework as long as it is being used consistently
across all HC projects and modules. At present migration off EasyMock to
Mockito looks easier.
Oleg
> 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]