File indexing completed on 2025-03-23 12:47:19
0001 /* 0002 This file is part of the KDE libraries 0003 SPDX-FileCopyrightText: 2010 Bernhard Beschow <bbeschow@cs.tu-berlin.de> 0004 SPDX-FileCopyrightText: 2014 Sven Brauch <svenbrauch@gmail.com> 0005 0006 SPDX-License-Identifier: LGPL-2.0-or-later 0007 */ 0008 0009 #ifndef KATE_TEMPLATEHANDLER_TEST_H 0010 #define KATE_TEMPLATEHANDLER_TEST_H 0011 0012 #include <QObject> 0013 0014 class TemplateHandlerTest : public QObject 0015 { 0016 Q_OBJECT 0017 0018 public: 0019 TemplateHandlerTest(); 0020 0021 private Q_SLOTS: 0022 void testUndo(); 0023 0024 void testSimpleMirror(); 0025 void testSimpleMirror_data(); 0026 0027 void testAlignC(); 0028 void testAlignC_data(); 0029 0030 void testDefaults(); 0031 void testDefaults_data(); 0032 0033 void testDefaultMirror(); 0034 0035 void testFunctionMirror(); 0036 0037 void testNotEditableFields(); 0038 void testNotEditableFields_data(); 0039 0040 void testAdjacentRanges(); 0041 0042 void testTab(); 0043 void testTab_data(); 0044 0045 void testExitAtCursor(); 0046 0047 void testAutoSelection(); 0048 0049 void testCanRetrieveSelection(); 0050 0051 void testEscapes(); 0052 }; 0053 0054 #endif