unittest: fixup the mock method of open

Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
This commit is contained in:
Dongsheng Yang 2017-01-18 20:28:44 +08:00
parent b4fc1a871b
commit 0e3c02f535

View File

@ -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*));