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

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 EmojiManagerTest : public QObject
0012 {
0013     Q_OBJECT
0014 public:
0015     explicit EmojiManagerTest(QObject *parent = nullptr);
0016     ~EmojiManagerTest() override = default;
0017 private Q_SLOTS:
0018     void shouldHaveDefaultValue();
0019 
0020     void shouldGenerateHtml();
0021 
0022     void shouldChangeServerUrl();
0023 
0024     void shouldParseEmoji_data();
0025     void shouldParseEmoji();
0026 
0027     void shouldSupportUnicodeEmojis();
0028     void shouldOrderUnicodeEmojis();
0029 
0030     void shouldNormalizeReactions_data();
0031     void shouldNormalizeReactions();
0032 
0033     void shouldDeleteEmojiCustom_data();
0034     void shouldDeleteEmojiCustom();
0035 
0036     void shouldAddEmojiCustom_data();
0037     void shouldAddEmojiCustom();
0038 
0039     void shouldUpdateEmojiCustom_data();
0040     void shouldUpdateEmojiCustom();
0041 
0042     void replaceAsciiEmoji_data();
0043     void replaceAsciiEmoji();
0044 };