File indexing completed on 2024-04-28 07:46:06

0001 /*
0002     This file is part of the KDE libraries
0003     SPDX-FileCopyrightText: 2012-2018 Dominik Haumann <dhaumann@kde.org>
0004 
0005     SPDX-License-Identifier: LGPL-2.0-or-later
0006 */
0007 
0008 #ifndef KTE_DOCUMENTCURSOR_TEST_H
0009 #define KTE_DOCUMENTCURSOR_TEST_H
0010 
0011 #include <QObject>
0012 
0013 class DocumentCursorTest : public QObject
0014 {
0015     Q_OBJECT
0016 
0017 public:
0018     DocumentCursorTest();
0019     ~DocumentCursorTest() override;
0020 
0021 private Q_SLOTS:
0022     void initTestCase();
0023     void cleanupTestCase();
0024 
0025     void testConvenienceApi();
0026     void testOperators();
0027 
0028     void testValidTextPosition();
0029 };
0030 
0031 #endif