File indexing completed on 2024-04-28 05:52:39
0001 /* 0002 This file is part of the Okteta Gui library, made within the KDE community. 0003 0004 SPDX-FileCopyrightText: 2006 Friedrich W. H. Kossebau <kossebau@kde.org> 0005 0006 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 0007 */ 0008 0009 #ifndef KBUFFERCOORDTEST_HPP 0010 #define KBUFFERCOORDTEST_HPP 0011 0012 // Qt 0013 #include <QObject> 0014 0015 namespace Okteta { 0016 0017 class CoordTest : public QObject 0018 { 0019 Q_OBJECT 0020 0021 private Q_SLOTS: // test functions 0022 void testConstructor(); 0023 void testSetConstructor(); 0024 void testFromIndexConstructor(); 0025 void testCopyConstructor(); 0026 void testEquals(); 0027 void testAssign(); 0028 void testSetPosLine(); 0029 void testSet(); 0030 void testIsAtStart(); 0031 void testGotoStart(); 0032 void testGo(); 0033 void testGoN(); 0034 void testGotoControlled(); 0035 void testGoLineStart(); 0036 void testGoLineEnd(); 0037 void testCompareOperator(); 0038 void testIsBelowIsAbove(); 0039 void testIsLaterPriorInLineThan(); 0040 void testIsBeforeLineStart(); 0041 void testIsBeforeLineEnd(); 0042 void testIndexNWidth(); 0043 }; 0044 0045 } 0046 0047 #endif