File indexing completed on 2024-06-16 04:45:55

0001 /*
0002     SPDX-FileCopyrightText: 2013-2016 Christian Dávid <christian-david@web.de>
0003     SPDX-License-Identifier: GPL-2.0-or-later
0004 */
0005 
0006 #ifndef ONLINEJOBADMINISTRATIONTEST_H
0007 #define ONLINEJOBADMINISTRATIONTEST_H
0008 
0009 #include <QObject>
0010 #include <QString>
0011 
0012 class MyMoneyFile;
0013 
0014 #define KMM_MYMONEY_UNIT_TESTABLE friend class onlineJobAdministrationTest;
0015 
0016 class onlineJobAdministrationTest : public QObject
0017 {
0018     Q_OBJECT
0019 
0020     MyMoneyFile* file;
0021     QString accountId;
0022 
0023 public:
0024     onlineJobAdministrationTest();
0025 
0026 private Q_SLOTS:
0027     void initTestCase();
0028     void cleanupTestCase();
0029     void init();
0030     void getSettings();
0031     void registerOnlineTask();
0032 
0033 private:
0034     void setupBaseCurrency();
0035 };
0036 
0037 #endif // ONLINEJOBADMINISTRATIONTEST_H