File indexing completed on 2024-12-01 09:48:16
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 NICKNAMETEST_H 0009 #define NICKNAMETEST_H 0010 0011 #include <QObject> 0012 0013 class NickNameTest : public QObject 0014 { 0015 Q_OBJECT 0016 public: 0017 explicit NickNameTest(QObject *parent = nullptr); 0018 ~NickNameTest() override; 0019 private Q_SLOTS: 0020 void shouldHaveDefaultValue(); 0021 void shouldAssignValue(); 0022 void shouldAssignExternal(); 0023 void shouldSerialized(); 0024 void shouldEqualNickName(); 0025 void shouldParseNickName(); 0026 void shouldParseWithoutNickName(); 0027 void shouldCreateVCard(); 0028 void shouldCreateVCardWithTwoNickName(); 0029 void shouldCreateVCardWithParameters(); 0030 void shouldGenerateNickNameForVCard3(); 0031 }; 0032 0033 #endif // NICKNAMETEST_H