aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/texteditor/highlighter_test.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/texteditor/highlighter_test.h')
-rw-r--r--src/plugins/texteditor/highlighter_test.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/plugins/texteditor/highlighter_test.h b/src/plugins/texteditor/highlighter_test.h
new file mode 100644
index 0000000000..30c2848c5c
--- /dev/null
+++ b/src/plugins/texteditor/highlighter_test.h
@@ -0,0 +1,26 @@
+// Copyright (C) 2023 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
+
+#pragma once
+
+#include <QObject>
+
+namespace TextEditor { class BaseTextEditor; }
+
+namespace TextEditor::Internal {
+
+class GenerigHighlighterTests : public QObject
+{
+ Q_OBJECT
+private slots:
+ void initTestCase();
+ void testHighlight_data();
+ void testHighlight();
+ void testChange();
+ void cleanupTestCase();
+
+private:
+ TextEditor::BaseTextEditor *m_editor = nullptr;
+};
+
+} // namespace TextEditor::Internal