File indexing completed on 2024-12-01 12:38:43
0001 /* 0002 This file is part of the KDE libraries 0003 SPDX-FileCopyrightText: 2010 Bernhard Beschow <bbeschow@cs.tu-berlin.de> 0004 0005 SPDX-License-Identifier: LGPL-2.0-or-later 0006 */ 0007 0008 #ifndef KATE_REGEXPSEARCH_TEST_H 0009 #define KATE_REGEXPSEARCH_TEST_H 0010 0011 #include <QObject> 0012 0013 class RegExpSearchTest : public QObject 0014 { 0015 Q_OBJECT 0016 0017 public: 0018 RegExpSearchTest(); 0019 ~RegExpSearchTest() override; 0020 0021 private Q_SLOTS: 0022 void testReplaceEscapeSequences_data(); 0023 void testReplaceEscapeSequences(); 0024 0025 void testReplacementReferences_data(); 0026 void testReplacementReferences(); 0027 0028 void testReplacementCaseConversion_data(); 0029 void testReplacementCaseConversion(); 0030 0031 void testReplacementCounter_data(); 0032 void testReplacementCounter(); 0033 0034 void testAnchoredRegexp_data(); 0035 void testAnchoredRegexp(); 0036 0037 void testSearchForward(); 0038 0039 void testSearchBackwardInSelection(); 0040 0041 void test(); 0042 void testUnicode(); 0043 }; 0044 0045 #endif