hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ryan rawson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-3754) Define a DummyServer for tests
Date Thu, 07 Apr 2011 19:50:05 GMT

    [ 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

Mime
View raw message