You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Joe Campbell (JIRA)" <ji...@apache.org> on 2010/05/21 21:24:17 UTC

[jira] Commented: (HTTPCLIENT-941) Standardize on a common mocking framework (either EasyMock or Mockito)

    [ https://issues.apache.org/jira/browse/HTTPCLIENT-941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12870120#action_12870120 ] 

Joe Campbell commented on HTTPCLIENT-941:
-----------------------------------------

I was only able to find one use of Mockito in the whole project, and at that in just one test file... Did I miss something?  Attached please find the patch converting that one test case to use EasyMock.

My Company, Comcast, has authorized me to submit this patch to you and grants all license to the Apache Foundation.

> Standardize on a common mocking framework (either EasyMock or Mockito)
> ----------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-941
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-941
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>          Components: Cache, HttpAuth
>            Reporter: Oleg Kalnichevski
>             Fix For: 4.1 Alpha3
>
>
> We are currently using EasyMock in the caching module and Mockito in the main module. While Mockito appears to have a somewhat nicer API, the sheer number of test cases based on EasyMock in the caching module makes it much simpler to replace Mockito with EasyMock than the other way around.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org