File indexing completed on 2024-05-26 05:08:48

0001 /*
0002     SPDX-FileCopyrightText: 2003 Michael Edwardes <mte@users.sourceforge.net>
0003     SPDX-FileCopyrightText: 2006 Ace Jones <acejones@users.sourceforge.net>
0004     SPDX-FileCopyrightText: 2021 Thomas Baumgart <tbaumgart@kde.org>
0005     SPDX-License-Identifier: GPL-2.0-or-later
0006 */
0007 
0008 #ifndef MYMONEYSCHEDULETEST_H
0009 #define MYMONEYSCHEDULETEST_H
0010 
0011 #include <QObject>
0012 
0013 class MyMoneyScheduleTest : public QObject
0014 {
0015     Q_OBJECT
0016 
0017 private Q_SLOTS:
0018     void testEmptyConstructor();
0019     void testConstructor();
0020     void testSetFunctions();
0021     void testCopyConstructor();
0022     void testAssignmentConstructor();
0023     void testAddHalfMonths();
0024     void testAdjustedNextDueDate();
0025     void testAdjustedNextPaymentOnLastDayInMonth();
0026     void testModifyNextDueDate();
0027     void testDaysBetweenEvents();
0028     void testEventsPerYear();
0029     void testOccurrenceToString();
0030     void testOccurrencePeriodToString();
0031     void testOccurrencePeriod();
0032     void testSimpleToFromCompoundOccurrence();
0033     void testProcessingDates();
0034     void testAdjustedNextPayment();
0035     void testAdjustedWhenItWillEnd();
0036     void testProcessLastDayInMonth();
0037     void testFixDate();
0038 };
0039 
0040 #endif