File indexing completed on 2025-01-05 04:54:40
0001 /* 0002 SPDX-FileCopyrightText: 2015-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 RichTextComposerControlerTest : public QObject 0012 { 0013 Q_OBJECT 0014 public: 0015 explicit RichTextComposerControlerTest(QObject *parent = nullptr); 0016 ~RichTextComposerControlerTest() override; 0017 0018 private Q_SLOTS: 0019 void shouldAlignCenter(); 0020 void shouldAlignLeft(); 0021 void shouldAlignRight(); 0022 void shouldAlignJustify(); 0023 void shouldHaveDefaultValue(); 0024 void shouldBoldText(); 0025 void shouldItalicText(); 0026 void shouldTextUnderline(); 0027 void shouldTextStrikeOut(); 0028 0029 void shouldFontFamily(); 0030 void shouldFontSize(); 0031 void shouldFont(); 0032 void shouldTextSuperScript(); 0033 void shouldTextSubScript(); 0034 0035 void shouldRemoveQuote_data(); 0036 void shouldRemoveQuote(); 0037 0038 void shouldRemoveQuoteWithSpecificQuote_data(); 0039 void shouldRemoveQuoteWithSpecificQuote(); 0040 0041 void shouldAddQuote_data(); 0042 void shouldAddQuote(); 0043 };