File indexing completed on 2025-03-09 04:53:55

0001 /*
0002   SPDX-FileCopyrightText: 2009 Constantin Berzan <exit3219@gmail.com>
0003 
0004   SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include <QObject>
0010 
0011 class MainTextJobTest : public QObject
0012 {
0013     Q_OBJECT
0014 private Q_SLOTS:
0015     void initTestCase();
0016     // "text/plain" tests:
0017     void testPlainText();
0018     void testWrappingErrors();
0019 
0020     // charset tests:
0021     void testCustomCharset();
0022     void testNoCharset();
0023     void testBadCharset();
0024     void testFallbackCharset();
0025 
0026     // html tests:
0027     void testHtml();
0028     void testHtmlWithImages();
0029 };