diff options
author | hjk <hjk@qt.io> | 2024-01-19 17:48:18 +0100 |
---|---|---|
committer | hjk <hjk@qt.io> | 2024-01-22 15:57:17 +0000 |
commit | 610a110341c18ed55ca783c50829d3cb70b5c82c (patch) | |
tree | b749f032f90a52532545fc34402b2b982563bc8c /src/plugins/texteditor/texteditorplugin.cpp | |
parent | df9b8028423ed4f9134941761774f19109307f1e (diff) |
TextEditor: Move test creation closer to tested code
Change-Id: I0f132dddd405bf17161e0e032f9496a90cdc5ab9
Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/texteditor/texteditorplugin.cpp')
-rw-r--r-- | src/plugins/texteditor/texteditorplugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/texteditor/texteditorplugin.cpp b/src/plugins/texteditor/texteditorplugin.cpp index 85c0833cdc..533b2ffb24 100644 --- a/src/plugins/texteditor/texteditorplugin.cpp +++ b/src/plugins/texteditor/texteditorplugin.cpp @@ -177,8 +177,8 @@ void TextEditorPlugin::initialize() d->createStandardContextMenu(); #ifdef WITH_TESTS - addTest<CodeAssistTests>(); - addTest<GenerigHighlighterTests>(); + addTestCreator(createCodeAssistTests); + addTestCreator(createGenericHighlighterTests); #endif } |