1 /* 2 This file is part of kcontacts. 3 SPDX-FileCopyrightText: 2016-2019 Laurent Montel <montel@kde.org> 4 5 SPDX-License-Identifier: LGPL-2.0-or-later 6 */ 7 8 #ifndef BIRTHDAYTEST_H 9 #define BIRTHDAYTEST_H 10 11 #include <QObject> 12 13 class BirthDayTest : public QObject 14 { 15 Q_OBJECT 16 public: 17 explicit BirthDayTest(QObject *parent = nullptr); 18 ~BirthDayTest() override; 19 20 private Q_SLOTS: 21 void shouldExportVcard4(); 22 void shouldExportVcard4WithoutTime(); 23 void shouldExportVcard3(); 24 void shouldExportVcard3WithoutTime(); 25 void shouldParseBirthDay(); 26 void shouldParseBirthDayWithoutTime(); 27 void shouldParseBirthDayWithoutTimeAndYear(); 28 void shouldExportVcard4WithoutTimeAndWithoutYear(); 29 void shouldExportVcard3WithoutTimeAndWithoutYear(); 30 }; 31 32 #endif // BIRTHDAYTEST_H 33