File indexing completed on 2024-04-21 14:54:25

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 FieldGroupTest_H
0009 #define FieldGroupTest_H
0010 
0011 #include <QObject>
0012 
0013 class FieldGroupTest : public QObject
0014 {
0015     Q_OBJECT
0016 public:
0017     explicit FieldGroupTest(QObject *parent = nullptr);
0018     ~FieldGroupTest() override;
0019 private Q_SLOTS:
0020     void shouldHaveDefaultValue();
0021     void shouldAssignValue();
0022     void shouldAssignExternal();
0023     void shouldSerialized();
0024     void shouldEqualFieldGroup();
0025     void shouldParseFieldGroup();
0026     void shouldParseWithoutFieldGroup();
0027     void shouldCreateVCard();
0028     void shouldCreateVCardWithTwoLang();
0029     void shouldCreateVCardWithParameters();
0030     void shouldNotGenerateFieldGroupForVCard3();
0031 };
0032 
0033 #endif // FieldGroupTest_H