GnuCash c935c2f+
Loading...
Searching...
No Matches
fake-qofquery.h
Go to the documentation of this file.
1
7#ifndef FAKE_QOFQUERY_H
8#define FAKE_QOFQUERY_H
9
10#pragma GCC diagnostic push
11#pragma GCC diagnostic ignored "-Wcpp"
12#include <gmock/gmock.h>
13#pragma GCC diagnostic pop
14
15
16#include <qofquery.h>
17
18#include <Query.h>
19
59{
60public:
63
64 MOCK_METHOD1(set_book, void(QofBook*));
65 MOCK_METHOD5(add_date_match_tt, void(gboolean, time64, gboolean, time64, QofQueryOp));
66 MOCK_METHOD2(add_single_account_match, void(Account*, QofQueryOp));
67 MOCK_METHOD0(run, std::vector<void*>());
68
69 QofIdTypeConst m_obj_type;
70};
71
72#endif
Fake object providing functionality similar to QofQuery.
gint64 time64
Most systems that are currently maintained, including Microsoft Windows, BSD-derived Unixes and Linux...
Definition gnc-date.h:87
const gchar * QofIdTypeConst
QofIdTypeConst declaration.
Definition qofid.h:82
QofQueryOp
Query Term Operators, for combining Query Terms.
Definition qofquery.h:93
find objects that match a certain expression.
STRUCTS.
QofBook reference.
Definition qofbook-p.hpp:47