File indexing completed on 2025-01-26 04:05:00
0001 /* This file is part of the KDE project 0002 * SPDX-FileCopyrightText: 2010 Thomas Zander <zander@kde.org> 0003 * SPDX-FileCopyrightText: 2012 Friedrich W. H. Kossebau <kossebau@kde.org> 0004 * 0005 * SPDX-License-Identifier: LGPL-2.0-or-later 0006 */ 0007 0008 #ifndef TESTKOUNIT_H 0009 #define TESTKOUNIT_H 0010 0011 // Qt 0012 #include <QObject> 0013 0014 class TestKoUnit : public QObject 0015 { 0016 Q_OBJECT 0017 0018 private Q_SLOTS: 0019 void testSimpleConstructor(); 0020 void testConstructor_data(); 0021 void testConstructor(); 0022 void testPixelConstructor(); 0023 void testAssignOperator_data(); 0024 void testAssignOperator(); 0025 void testVariant(); 0026 void testFromSymbol_data(); 0027 void testFromSymbol(); 0028 void testListForUi_data(); 0029 void testListForUi(); 0030 void testToUserValue_data(); 0031 void testToUserValue(); 0032 }; 0033 0034 #endif