File indexing completed on 2024-09-22 04:50:33

0001 /*
0002    SPDX-FileCopyrightText: 2016-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include <QObject>
0010 
0011 class RichTextComposerNgTest : public QObject
0012 {
0013     Q_OBJECT
0014 public:
0015     explicit RichTextComposerNgTest(QObject *parent = nullptr);
0016     ~RichTextComposerNgTest() override;
0017 private Q_SLOTS:
0018     void shouldHaveDefaultValue();
0019     void shouldForceAutoCorrection_data();
0020     void shouldForceAutoCorrection();
0021 
0022     void shouldForceAutoCorrectionWithSelection_data();
0023     void shouldForceAutoCorrectionWithSelection();
0024 
0025     void shouldNotChangeSignatureWhenOriginalAndNewSignatureAreSame();
0026 
0027     void shouldAddSignature_data();
0028     void shouldAddSignature();
0029 
0030     void shouldAddSpecificSignature_data();
0031     void shouldAddSpecificSignature();
0032 
0033     void shouldReplaceSignature_data();
0034     void shouldReplaceSignature();
0035 
0036     void shouldLoadSignatureFromFile_data();
0037     void shouldLoadSignatureFromFile();
0038 
0039     void shouldLoadSignatureFromCommand_data();
0040     void shouldLoadSignatureFromCommand();
0041 
0042     void fixHtmlFontSizeTest();
0043 
0044     void toCleanHtmlRegexTest();
0045 };