GnuCash c935c2f+
Loading...
Searching...
No Matches
Public Member Functions
MockAccount Class Reference
Inheritance diagram for MockAccount:
Account

Public Member Functions

void * operator new (size_t size)
 
void free ()
 
void operator delete (void *acc, size_t size)
 
 MOCK_METHOD0 (begin_edit, void())
 
 MOCK_METHOD0 (commit_edit, void())
 
 MOCK_CONST_METHOD0 (get_book, QofBook *())
 
 MOCK_CONST_METHOD0 (get_commodity, gnc_commodity *())
 
 MOCK_CONST_METHOD2 (for_each_transaction, gint(TransactionCallback, void *))
 
 MOCK_CONST_METHOD0 (xaccAccountGetSplitList, SplitList *())
 
 MOCK_CONST_METHOD0 (xaccAccountGetSplits, std::vector< Split * > &())
 
 MOCK_METHOD2 (find_account, Account *(const char *, const char *))
 
 MOCK_METHOD3 (add_account, void(const char *, const char *, Account *))
 
 MOCK_METHOD1 (find_account_bayes, Account *(std::vector< const char * > &))
 
 MOCK_METHOD2 (add_account_bayes, void(std::vector< const char * > &, Account *))
 

Detailed Description

Definition at line 25 of file gmock-Account.h.

Constructor & Destructor Documentation

◆ MockAccount()

MockAccount::MockAccount ( )
inline

Definition at line 31 of file gmock-Account.h.

31{}

◆ ~MockAccount()

MockAccount::~MockAccount ( )
inlineprotected

Definition at line 62 of file gmock-Account.h.

62{}

Member Function Documentation

◆ free()

void MockAccount::free ( )
inline

Definition at line 38 of file gmock-Account.h.

39 {
40 delete this;
41 }

◆ operator delete()

void MockAccount::operator delete ( void *  acc,
size_t  size 
)
inline

Definition at line 42 of file gmock-Account.h.

43 {
44 mock_g_object_unref(acc, size);
45 }

◆ operator new()

void * MockAccount::operator new ( size_t  size)
inline

Definition at line 32 of file gmock-Account.h.

33 {
34 return mock_g_object_new (GNC_TYPE_MOCKACCOUNT, NULL, size);
35 }

The documentation for this class was generated from the following file: