| 1 | /* |
| 2 | This file is part of the kholidays library. |
| 3 | |
| 4 | SPDX-FileCopyrightText: 2010 John Layt <[email protected]> |
| 5 | SPDX-FileCopyrightText: Allen Winter <[email protected]> |
| 6 | |
| 7 | SPDX-License-Identifier: LGPL-2.0-or-later |
| 8 | */ |
| 9 | |
| 10 | #ifndef TESTHOLIDAYREGION_H |
| 11 | #define TESTHOLIDAYREGION_Hcxx . . $ `autotests/testholidayregion.h:11:9`! |
| 12 | |
| 13 | #include <QObject> |
| 14 | |
| 15 | #include "holidayregion.h"cxx . . $ `<file>/src/holidayregion.h`/ |
| 16 | |
| 17 | class QStringcxx . . $ QString#; |
| 18 | class QDatecxx . . $ QDate#; |
| 19 | |
| 20 | class HolidayRegionTestcxx . . $ HolidayRegionTest# : public QObjectcxx . . $ QObject# |
| 21 | { |
| 22 | Q_OBJECTcxx . . $ `<external>/4830994369567095248/qtmetamacros.h:133:9`! |
| 23 | private Q_SLOTScxx . . $ `<external>/4830994369567095248/qtmetamacros.h:46:10`!: |
| 24 | void testLoadFileCalendarSystemscxx . . $ HolidayRegionTest#testLoadFileCalendarSystems(49f6e7a06ebc5aa8).(); |
| 25 | void testLoadFilecxx . . $ HolidayRegionTest#testLoadFile(49f6e7a06ebc5aa8).(); |
| 26 | void testGbcxx . . $ HolidayRegionTest#testGb(49f6e7a06ebc5aa8).(); |
| 27 | void testIrancxx . . $ HolidayRegionTest#testIran(49f6e7a06ebc5aa8).(); |
| 28 | void testIsraelcxx . . $ HolidayRegionTest#testIsrael(49f6e7a06ebc5aa8).(); |
| 29 | void testRegionscxx . . $ HolidayRegionTest#testRegions(49f6e7a06ebc5aa8).(); |
| 30 | void testDefaultRegionscxx . . $ HolidayRegionTest#testDefaultRegions(49f6e7a06ebc5aa8).(); |
| 31 | void testSolistaleInHolidayscxx . . $ HolidayRegionTest#testSolistaleInHolidays(49f6e7a06ebc5aa8).(); |
| 32 | void testLoadFileCalendarSystemsForPlasmacxx . . $ HolidayRegionTest#testLoadFileCalendarSystemsForPlasma(49f6e7a06ebc5aa8).(); |
| 33 | void testDominicanRepublicDiadelaConstitucioncxx . . $ HolidayRegionTest#testDominicanRepublicDiadelaConstitucion(49f6e7a06ebc5aa8).(); |
| 34 | void testUsAmericanJuneteenthcxx . . $ HolidayRegionTest#testUsAmericanJuneteenth(49f6e7a06ebc5aa8).(); |
| 35 | void testCategoryFilteringcxx . . $ HolidayRegionTest#testCategoryFiltering(49f6e7a06ebc5aa8).(); |
| 36 | |
| 37 | private: |
| 38 | void printMetadatacxx . . $ HolidayRegionTest#printMetadata(faa4a13df66c7fa).(const KHolidayscxx . . $ KHolidays/::HolidayRegioncxx . . $ KHolidays/HolidayRegion# ®ion); |
| 39 | void printHolidayscxx . . $ HolidayRegionTest#printHolidays(b49c93ae09d5eb6f).(const KHolidayscxx . . $ KHolidays/::Holidaycxx . . $ KHolidays/Holiday#::Listcxx . . $ KHolidays/Holiday#List# &holidays); |
| 40 | bool holidayListContainscxx . . $ HolidayRegionTest#holidayListContains(b2a76eefd74dcb2d).(const KHolidayscxx . . $ KHolidays/::Holidaycxx . . $ KHolidays/Holiday#::Listcxx . . $ KHolidays/Holiday#List# &holidays, const QStringcxx . . $ QString# &holidayName); |
| 41 | void parseRegionCalendarYearcxx . . $ HolidayRegionTest#parseRegionCalendarYear(9bf605dd1667c30).(const KHolidayscxx . . $ KHolidays/::HolidayRegioncxx . . $ KHolidays/HolidayRegion# ®ion, int year, const QStringcxx . . $ QString# &calendarType = "gregorian"cxx . . $ QString#QString(85c52e162fed56f9).); |
| 42 | void parseRegionDateRangecxx . . $ HolidayRegionTest#parseRegionDateRange(6908a2be040e5183).(const KHolidayscxx . . $ KHolidays/::HolidayRegioncxx . . $ KHolidays/HolidayRegion# ®ion, const QDatecxx . . $ QDate# &startDate, const QDatecxx . . $ QDate# &endDate); |
| 43 | void parseRawRegionDateRangecxx . . $ HolidayRegionTest#parseRawRegionDateRange(6908a2be040e5183).(const KHolidayscxx . . $ KHolidays/::HolidayRegioncxx . . $ KHolidays/HolidayRegion# ®ion, const QDatecxx . . $ QDate# &startDate, const QDatecxx . . $ QDate# &endDate); |
| 44 | void parseRegionDatecxx . . $ HolidayRegionTest#parseRegionDate(caade9adec80c42c).(const KHolidayscxx . . $ KHolidays/::HolidayRegioncxx . . $ KHolidays/HolidayRegion# ®ion, const QDatecxx . . $ QDate# &date); |
| 45 | void parseRegionDateRangeCategorycxx . . $ HolidayRegionTest#parseRegionDateRangeCategory(26c212c03c8989ef).(KHolidayscxx . . $ KHolidays/::HolidayRegioncxx . . $ KHolidays/HolidayRegion# ®ion, const QDatecxx . . $ QDate# &startDate, const QDatecxx . . $ QDate# &endDate, const QStringcxx . . $ QString# &category); |
| 46 | }; |
| 47 | |
| 48 | #endif // TESTHOLIDAYREGION_H |