[
https://issues.apache.org/jira/browse/HTTPCLIENT-1244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17365925#comment-17365925
]
ASF subversion and git services commented on HTTPCLIENT-1244:
-------------------------------------------------------------
Commit 51c03ed6f5654c4c327859736c88a41507281fbb in httpcomponents-client's
branch refs/heads/HTTPCLIENT-1244 from Oleg Kalnichevski
[ https://gitbox.apache.org/repos/asf?p=httpcomponents-client.git;h=51c03ed ]
HTTPCLIENT-1244: Replaced EasyMock with Mockito in the HTTP cache unit tests
> 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: HttpCache
> Reporter: Jonathan Moore
> Assignee: Oleg Kalnichevski
> Priority: Major
> Labels: test
> Fix For: 5.2-alpha1
>
> Attachments:
> 0001-HTTPCLIENT-1244-Move-many-httpclient-cache-tests-ove.patch,
> 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 was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]