1 /* 2 SPDX-FileCopyrightText: 2008 Robert Knight <robertknight@gmail.com> 3 SPDX-FileCopyrightText: 2018 Kurt Hindenburg <kurt.hindenburg@gmail.com> 4 5 SPDX-License-Identifier: GPL-2.0-or-later 6 */ 7 8 #ifndef TERMINALCHARACTERDECODERTEST_H 9 #define TERMINALCHARACTERDECODERTEST_H 10 11 #include <QObject> 12 13 #include "../characters/Character.h" 14 15 namespace Konsole 16 { 17 class TerminalCharacterDecoderTest : public QObject 18 { 19 Q_OBJECT 20 21 private Q_SLOTS: 22 Character *convertToCharacter(const QString &text, QVector<RenditionFlags> renditions); 23 void testPlainTextDecoder(); 24 void testPlainTextDecoder_data(); 25 void testHTMLDecoder(); 26 void testHTMLDecoder_data(); 27 }; 28 29 } 30 31 #endif // TERMINALCHARACTERDECODERTEST_H 32