File indexing completed on 2024-04-21 03:53:28
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 ROLETEST_H 0009 #define ROLETEST_H 0010 0011 #include <QObject> 0012 0013 class RoleTest : public QObject 0014 { 0015 Q_OBJECT 0016 public: 0017 explicit RoleTest(QObject *parent = nullptr); 0018 ~RoleTest() override; 0019 private Q_SLOTS: 0020 void shouldHaveDefaultValue(); 0021 void shouldAssignValue(); 0022 void shouldAssignExternal(); 0023 void shouldSerialized(); 0024 void shouldEqualRole(); 0025 void shouldParseRole(); 0026 void shouldParseWithoutRole(); 0027 void shouldCreateVCard(); 0028 void shouldCreateVCardWithTwoRole(); 0029 void shouldCreateVCardWithParameters(); 0030 void shouldGenerateRoleForVCard3(); 0031 }; 0032 0033 #endif // ROLETEST_H