File indexing completed on 2024-10-06 06:39:40

0001 /*
0002     This file is part of the KContacts framework.
0003     SPDX-FileCopyrightText: 2016-2019 Laurent Montel <montel@kde.org>
0004 
0005     SPDX-License-Identifier: LGPL-2.0-or-later
0006 */
0007 
0008 #ifndef TITLETEST_H
0009 #define TITLETEST_H
0010 
0011 #include <QObject>
0012 
0013 class TitleTest : public QObject
0014 {
0015     Q_OBJECT
0016 public:
0017     explicit TitleTest(QObject *parent = nullptr);
0018     ~TitleTest() override;
0019 private Q_SLOTS:
0020     void shouldHaveDefaultValue();
0021     void shouldAssignValue();
0022     void shouldAssignExternal();
0023     void shouldSerialized();
0024     void shouldEqualTitle();
0025     void shouldParseTwoTitles();
0026     void shouldParseTitle();
0027     void shouldParseWithoutTitle();
0028     void shouldCreateVCard();
0029     void shouldCreateVCardWithTwoTitle();
0030     void shouldCreateVCardWithParameters();
0031     void shouldGenerateTitleForVCard3();
0032 };
0033 
0034 #endif // TITLETEST_H