You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "ryan rawson (JIRA)" <ji...@apache.org> on 2011/04/07 21:50:05 UTC

[jira] [Commented] (HBASE-3754) Define a DummyServer for tests

    [ https://issues.apache.org/jira/browse/HBASE-3754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13017100#comment-13017100 ] 

ryan rawson commented on HBASE-3754:
------------------------------------

Could we use mockito for this? It should let you do 1 line mock creation.


> Define a DummyServer for tests
> ------------------------------
>
>                 Key: HBASE-3754
>                 URL: https://issues.apache.org/jira/browse/HBASE-3754
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 0.90.1
>            Reporter: Jean-Daniel Cryans
>             Fix For: 0.92.0
>
>
> There's a number of unit tests that implement their own Server just to pass it to some other class without implementing anything specific except getting the Configuration. We should define one that all could use and refactor the others out.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira