File indexing completed on 2024-04-28 05:50:33

0001 /*
0002     SPDX-FileCopyrightText: 2008 Robert Knight <robertknight@gmail.com>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #ifndef CHARACTERCOLORTEST_H
0008 #define CHARACTERCOLORTEST_H
0009 
0010 #include <QObject>
0011 
0012 #include "../characters/CharacterColor.h"
0013 
0014 namespace Konsole
0015 {
0016 class CharacterColorTest : public QObject
0017 {
0018     Q_OBJECT
0019 
0020 private Q_SLOTS:
0021     void init();
0022     void cleanup();
0023 
0024     void testColorEntry();
0025 
0026     void testDummyConstructor();
0027     void testColorSpaceDefault_data();
0028     void testColorSpaceDefault();
0029     void testColorSpaceSystem_data();
0030     void testColorSpaceSystem();
0031     void testColorSpaceRGB_data();
0032     void testColorSpaceRGB();
0033     void testColor256_data();
0034     void testColor256();
0035 
0036 private:
0037     static const QColor DefaultColorTable[];
0038 };
0039 
0040 }
0041 
0042 #endif // CHARACTERCOLORTEST_H