File indexing completed on 2024-04-14 03:54:54

0001 /*
0002     This file is part of the Kate project.
0003 
0004     SPDX-FileCopyrightText: 2010 Christoph Cullmann <cullmann@kde.org>
0005     SPDX-FileCopyrightText: 2010-2018 Dominik Haumann <dhaumann@kde.org>
0006     SPDX-License-Identifier: LGPL-2.0-or-later
0007 */
0008 
0009 #ifndef KATETEXTBUFFERTEST_H
0010 #define KATETEXTBUFFERTEST_H
0011 
0012 #include <QObject>
0013 #include <QTest>
0014 
0015 #include <config.h>
0016 
0017 class KateTextBufferTest : public QObject
0018 {
0019     Q_OBJECT
0020 
0021 public:
0022     KateTextBufferTest();
0023     ~KateTextBufferTest() override;
0024 
0025 private Q_SLOTS:
0026     void basicBufferTest();
0027     void wrapLineTest();
0028     void insertRemoveTextTest();
0029     void cursorTest();
0030     void foldingTest();
0031     void nestedFoldingTest();
0032     void saveFileInUnwritableFolder();
0033     void lineLengthLimit();
0034 
0035 #if HAVE_KAUTH
0036     void saveFileWithElevatedPrivileges();
0037 #endif
0038 };
0039 
0040 #endif // KATETEXTBUFFERTEST_H