File indexing completed on 2024-04-21 03:53:27

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 IMPPTEST_H
0009 #define IMPPTEST_H
0010 
0011 #include <QObject>
0012 
0013 class ImppTest : public QObject
0014 {
0015     Q_OBJECT
0016 public:
0017     explicit ImppTest(QObject *parent = nullptr);
0018     ~ImppTest() override;
0019 
0020 private Q_SLOTS:
0021     void shouldParseImppVcard4();
0022     void shouldHaveDefaultValue();
0023     void shouldAssignValue();
0024     void shouldSerialized();
0025     void shouldEqualImpp();
0026     void shouldParseWithoutImpp();
0027     void shouldParseImpp();
0028     void shouldParseServiceType_data();
0029     void shouldParseServiceType();
0030     void shouldExportEmptyType();
0031 
0032     void shouldExportType_data();
0033     void shouldExportType();
0034 
0035     void shouldExportWithParameters();
0036     void shouldShouldNotExportTwiceServiceType();
0037 
0038     void testProtocolInformation();
0039 };
0040 
0041 #endif // IMPPTEST_H