1 /* 2 * Copyright 2002-2019 Thomas Baumgart <tbaumgart@kde.org> 3 * Copyright 2003 Michael Edwardes <mte@users.sourceforge.net> 4 * Copyright 2004-2006 Ace Jones <acejones@users.sourceforge.net> 5 * Copyright 2004 Kevin Tambascio <ktambascio@users.sourceforge.net> 6 * Copyright 2009-2014 Cristian Oneț <onet.cristian@gmail.com> 7 * Copyright 2012 Alessandro Russo <axela74@yahoo.it> 8 * Copyright 2016 Christian Dávid <christian-david@web.de> 9 * Copyright 2018 Łukasz Wojniłowicz <lukasz.wojnilowicz@gmail.com> 10 * 11 * This program is free software; you can redistribute it and/or 12 * modify it under the terms of the GNU General Public License as 13 * published by the Free Software Foundation; either version 2 of 14 * the License, or (at your option) any later version. 15 * 16 * This program is distributed in the hope that it will be useful, 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 * GNU General Public License for more details. 20 * 21 * You should have received a copy of the GNU General Public License 22 * along with this program. If not, see <http://www.gnu.org/licenses/>. 23 */ 24 25 #ifndef MYMONEYXMLCONTENTHANDLERTEST_H 26 #define MYMONEYXMLCONTENTHANDLERTEST_H 27 28 #include <QObject> 29 30 class MyMoneyXmlContentHandlerTest : public QObject 31 { 32 Q_OBJECT 33 34 private Q_SLOTS: 35 void readMyMoneyObject(); 36 void readKeyValueContainer(); 37 void writeKeyValueContainer(); 38 void readTransaction(); 39 void readTransactionEx(); 40 void writeTransaction(); 41 void readSplit(); 42 void writeSplit(); 43 void testReplaceIDinSplit(); 44 void readAccount(); 45 void writeAccount(); 46 void readWritePayee(); 47 void readWriteTag(); 48 void readInstitution(); 49 void writeInstitution(); 50 void readSchedule(); 51 void writeSchedule(); 52 void testOverdue(); 53 void testNextPayment(); 54 void testNextPaymentOnLastDayOfMonth(); 55 void testPaymentDates(); 56 void testHasReferenceTo(); 57 void testPaidEarlyOneTime(); 58 void testReplaceId(); 59 }; 60 61 #endif 62