Skip to content

Commit

Permalink
unittest: fixup the mock method of open
Browse files Browse the repository at this point in the history
Signed-off-by: Dongsheng Yang <[email protected]>
  • Loading branch information
yangdongsheng committed Feb 23, 2017
1 parent b4fc1a8 commit 0e3c02f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/librbd/mock/MockImageState.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ struct MockImageState {
MOCK_CONST_METHOD0(is_refresh_required, bool());
MOCK_METHOD1(refresh, void(Context*));

MOCK_METHOD1(open, void(Context*));
MOCK_METHOD2(open, void(bool, Context*));

MOCK_METHOD0(close, int());
MOCK_METHOD1(close, void(Context*));
Expand Down

0 comments on commit 0e3c02f

Please sign in to comment.