hbase-issues mailing list archives

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

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

Jean-Daniel Cryans commented on HBASE-3754:

Well at least two since most of the time you need to pass a conf down the stream:

Server mockedServer = mock(Server.class);

But that's already a lot better than what we have.

> 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

View raw message