File indexing completed on 2024-03-24 03:56:14

0001 /*
0002     This file is part of libkabc.
0003     SPDX-FileCopyrightText: 2015-2019 Laurent Montel <montel@kde.org>
0004 
0005     SPDX-License-Identifier: LGPL-2.0-or-later
0006 */
0007 
0008 #ifndef LDIFCONVERTERTEST_H
0009 #define LDIFCONVERTERTEST_H
0010 
0011 #include <QObject>
0012 
0013 class LDifConverterTest : public QObject
0014 {
0015     Q_OBJECT
0016 public:
0017     explicit LDifConverterTest(QObject *parent = nullptr);
0018     ~LDifConverterTest() override;
0019 
0020 private Q_SLOTS:
0021     // Import
0022     void shouldImportEmail();
0023     void shouldImportMultiEmails();
0024     void shouldImportStandardBirthday();
0025     void shouldImportStandardBirthdayWithoutYear();
0026     void shouldImportTheBatsBirthday();
0027     void shouldImportTheBatsEmails();
0028     void shouldImportTitle();
0029     void shouldImportWorkStreet();
0030     void shouldImportContactGroup();
0031     void shouldImportMultiEntries();
0032     void shouldImportGroupAndAddress();
0033 
0034     // Export
0035     void shouldExportEmail();
0036     void shouldExportBirthday();
0037     void shouldExportBirthdayWithoutYear();
0038     void shouldExportTitle();
0039     void shouldExportMultiEntries();
0040     void shouldExportGroup();
0041     void shouldExportWorkStreet();
0042     void shouldExportMultiEmails();
0043     void shouldExportFullName();
0044 
0045     // Garbage tests
0046     void testGarbage();
0047 };
0048 
0049 #endif // LDIFCONVERTERTEST_H