Mock methods should not neccessarily return mock objects

This commit is contained in:
Christian Gruber 2020-09-22 22:24:57 +02:00
parent 0e634c5446
commit d673c32e35

View File

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