File indexing completed on 2024-04-14 14:18:56

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