File indexing completed on 2025-03-23 12:47:16
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 0034 #if HAVE_KAUTH 0035 void saveFileWithElevatedPrivileges(); 0036 #endif 0037 }; 0038 0039 #endif // KATETEXTBUFFERTEST_H