File indexing completed on 2024-12-01 04:35:30

0001 /*
0002    SPDX-FileCopyrightText: 2017-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include <QObject>
0010 
0011 class UtilsTest : public QObject
0012 {
0013     Q_OBJECT
0014 public:
0015     explicit UtilsTest(QObject *parent = nullptr);
0016     ~UtilsTest() override = default;
0017 private Q_SLOTS:
0018     void shouldGenerateServerUrl_data();
0019     void shouldGenerateServerUrl();
0020 
0021     void shouldExtractRoomUserFromUrl_data();
0022     void shouldExtractRoomUserFromUrl();
0023 
0024     void shouldConvertTextWithUrl_data();
0025     void shouldConvertTextWithUrl();
0026 
0027     void shouldGenerateAvatarUrl_data();
0028     void shouldGenerateAvatarUrl();
0029 
0030     void shouldTestAvatarInfoValues();
0031 
0032     void shouldGenerateCheckMark_data();
0033     void shouldGenerateCheckMark();
0034 
0035     void shouldGenerateHeader_data();
0036     void shouldGenerateHeader();
0037 };