File indexing completed on 2024-04-14 14:18:53

0001 /*
0002     This file is part of kcontacts.
0003     SPDX-FileCopyrightText: 2016-2019 Laurent Montel <montel@kde.org>
0004 
0005     SPDX-License-Identifier: LGPL-2.0-or-later
0006 */
0007 
0008 #ifndef BIRTHDAYTEST_H
0009 #define BIRTHDAYTEST_H
0010 
0011 #include <QObject>
0012 
0013 class BirthDayTest : public QObject
0014 {
0015     Q_OBJECT
0016 public:
0017     explicit BirthDayTest(QObject *parent = nullptr);
0018     ~BirthDayTest() override;
0019 
0020 private Q_SLOTS:
0021     void shouldExportVcard4();
0022     void shouldExportVcard4WithoutTime();
0023     void shouldExportVcard3();
0024     void shouldExportVcard3WithoutTime();
0025     void shouldParseBirthDay();
0026     void shouldParseBirthDayWithoutTime();
0027     void shouldParseBirthDayWithoutTimeAndYear();
0028     void shouldExportVcard4WithoutTimeAndWithoutYear();
0029     void shouldExportVcard3WithoutTimeAndWithoutYear();
0030 };
0031 
0032 #endif // BIRTHDAYTEST_H