mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-12-02 05:29:20 -06:00
Mock methods should not neccessarily return mock objects
This commit is contained in:
parent
0e634c5446
commit
d673c32e35
@ -5,8 +5,8 @@
|
||||
|
||||
#include <Account.h>
|
||||
#include <AccountP.h>
|
||||
#include <qofbook.h>
|
||||
|
||||
#include "gmock-qofbook.h"
|
||||
#include "gmock-gobject.h"
|
||||
|
||||
|
||||
@ -41,7 +41,7 @@ public:
|
||||
|
||||
MOCK_METHOD0(begin_edit, void());
|
||||
MOCK_METHOD0(commit_edit, void());
|
||||
MOCK_CONST_METHOD0(get_book, QofMockBook*());
|
||||
MOCK_CONST_METHOD0(get_book, QofBook*());
|
||||
MOCK_CONST_METHOD2(for_each_transaction, gint(TransactionCallback, void*));
|
||||
MOCK_METHOD0(create_imap, GncImportMatchMap*());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user