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

0001 /*
0002   SPDX-FileCopyrightText: 2009 Constantin Berzan <exit3219@gmail.com>
0003   SPDX-FileCopyrightText: 2009 Leo Franchi <lfranchi@kde.org>
0004 
0005   SPDX-License-Identifier: LGPL-2.0-or-later
0006 */
0007 
0008 #pragma once
0009 
0010 #include <QObject>
0011 
0012 namespace MessageComposer
0013 {
0014 class Composer;
0015 }
0016 
0017 class ComposerTest : public QObject
0018 {
0019     Q_OBJECT
0020 private Q_SLOTS:
0021     void testAttachments();
0022     void testAutoSave();
0023     void testNonAsciiHeaders();
0024     void testBug271192();
0025 
0026     // TODO test the code for autodetecting the charset of a text attachment.
0027     // TODO figure out what CTE testing has to be done.
0028 private:
0029     void fillComposerData(MessageComposer::Composer *composer);
0030 };