File indexing completed on 2024-06-23 05:01:26

0001 /*
0002     SPDX-FileCopyrightText: 2002-2017 Thomas Baumgart <tbaumgart@kde.org>
0003     SPDX-FileCopyrightText: 2004 Kevin Tambascio <ktambascio@users.sourceforge.net>
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #ifndef MYMONEYACCOUNTTEST_H
0008 #define MYMONEYACCOUNTTEST_H
0009 
0010 #include <QObject>
0011 
0012 class MyMoneyAccount;
0013 
0014 class MyMoneyAccountTest : public QObject
0015 {
0016     Q_OBJECT
0017 
0018 protected:
0019     MyMoneyAccount *m;
0020 
0021 private Q_SLOTS:
0022     void init();
0023     void cleanup();
0024     void testEmptyConstructor();
0025     void testConstructor();
0026     void testSetFunctions();
0027     void testCopyConstructor();
0028     void testAssignmentConstructor();
0029     void testSubAccounts();
0030     void testEquality();
0031     void testHasReferenceTo();
0032     void testAdjustBalance();
0033     void testSetClosed();
0034     void specialAccountTypes();
0035     void specialAccountTypes_data();
0036     void addReconciliation();
0037     void reconciliationHistory();
0038     void testHasOnlineMapping();
0039     void testBudgetOptions();
0040 };
0041 
0042 #endif