File indexing completed on 2024-12-01 04:35:29
0001 /* 0002 SPDX-FileCopyrightText: 2018-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 TextConverterTest : public QObject 0012 { 0013 Q_OBJECT 0014 public: 0015 explicit TextConverterTest(QObject *parent = nullptr); 0016 ~TextConverterTest() override = default; 0017 private Q_SLOTS: 0018 void shouldConvertText_data(); 0019 void shouldConvertText(); 0020 0021 void shouldHighlightWords_data(); 0022 void shouldHighlightWords(); 0023 0024 void shouldHighlightText_data(); 0025 void shouldHighlightText(); 0026 0027 void shouldConvertTextWithEmoji_data(); 0028 void shouldConvertTextWithEmoji(); 0029 0030 void shouldShowChannels_data(); 0031 void shouldShowChannels(); 0032 0033 void shouldShowUsers_data(); 0034 void shouldShowUsers(); 0035 0036 void shouldShowSearchedText_data(); 0037 void shouldShowSearchedText(); 0038 };