File indexing completed on 2024-05-12 09:56:52
0001 /* 0002 SPDX-FileCopyrightText: 2008 Robert Knight <robertknight@gmail.com> 0003 SPDX-FileCopyrightText: 2018 Kurt Hindenburg <kurt.hindenburg@gmail.com> 0004 0005 SPDX-License-Identifier: GPL-2.0-or-later 0006 */ 0007 0008 #ifndef TERMINALCHARACTERDECODERTEST_H 0009 #define TERMINALCHARACTERDECODERTEST_H 0010 0011 #include <QObject> 0012 0013 #include "../characters/Character.h" 0014 0015 namespace Konsole 0016 { 0017 class TerminalCharacterDecoderTest : public QObject 0018 { 0019 Q_OBJECT 0020 0021 private Q_SLOTS: 0022 void convertToCharacter(Character *charResult, const QString &text, QVector<RenditionFlags> renditions); 0023 void testPlainTextDecoder(); 0024 void testPlainTextDecoder_data(); 0025 void testHTMLDecoder(); 0026 void testHTMLDecoder_data(); 0027 }; 0028 0029 } 0030 0031 #endif // TERMINALCHARACTERDECODERTEST_H