File indexing completed on 2024-12-08 12:24:06
0001 /* 0002 This file is part of the KDE libraries 0003 SPDX-FileCopyrightText: 2010-2018 Dominik Haumann <dhaumann@kde.org> 0004 0005 SPDX-License-Identifier: LGPL-2.0-or-later 0006 */ 0007 0008 #ifndef KATE_DOCUMENT_TEST_H 0009 #define KATE_DOCUMENT_TEST_H 0010 0011 #include <QObject> 0012 0013 class KateDocumentTest : public QObject 0014 { 0015 Q_OBJECT 0016 0017 public: 0018 KateDocumentTest(); 0019 ~KateDocumentTest() override; 0020 0021 public Q_SLOTS: 0022 void initTestCase(); 0023 0024 private Q_SLOTS: 0025 void testWordWrap(); 0026 void testWrapParagraph(); 0027 void testReplaceQStringList(); 0028 void testMovingInterfaceSignals(); 0029 void testSetTextPerformance(); 0030 void testRemoveTextPerformance(); 0031 void testForgivingApiUsage(); 0032 void testRemoveMultipleLines(); 0033 void testInsertNewline(); 0034 void testInsertAfterEOF(); 0035 void testAutoBrackets(); 0036 void testReplaceTabs(); 0037 void testDigest(); 0038 void testModelines(); 0039 void testDefStyleNum(); 0040 void testTypeCharsWithSurrogateAndNewLine(); 0041 void testRemoveComposedCharacters(); 0042 void testAutoReload(); 0043 void testSearch(); 0044 void testMatchingBracket_data(); 0045 void testMatchingBracket(); 0046 void testIndentOnPaste(); 0047 void testAboutToSave(); 0048 void testKeepUndoOverReload(); 0049 void testToggleComment(); 0050 void testInsertTextTooLargeColumn(); 0051 void testBug468495(); 0052 }; 0053 0054 #endif // KATE_DOCUMENT_TEST_H