aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/languageclient/snippet.h
diff options
context:
space:
mode:
authorhjk <[email protected]>2024-01-15 12:01:25 +0100
committerhjk <[email protected]>2024-01-16 09:43:52 +0000
commitd9108d1ae2223a3640ad1098ef6f7aec6421cd5c (patch)
treeaf8f4ea9535df7bc86e032bafdf288532dd85b29 /src/plugins/languageclient/snippet.h
parentf44112ed22d6c0d7a096ce968f3081c230c8e51d (diff)
LanguageClient: Hide plugin class definition in cpp
As part of that, move test object creation closer to tested code. Change-Id: I60f1e431fbdd4ebc2a01ab6ed0c779c288c81b06 Reviewed-by: David Schulz <[email protected]>
Diffstat (limited to 'src/plugins/languageclient/snippet.h')
-rw-r--r--src/plugins/languageclient/snippet.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/languageclient/snippet.h b/src/plugins/languageclient/snippet.h
index d3bb792ab54..6abba9fd5c3 100644
--- a/src/plugins/languageclient/snippet.h
+++ b/src/plugins/languageclient/snippet.h
@@ -11,4 +11,8 @@ namespace LanguageClient {
LANGUAGECLIENT_EXPORT TextEditor::SnippetParseResult parseSnippet(const QString &snippet);
+#ifdef WITH_TESTS
+QObject *createSnippetParsingTest();
+#endif
+
} // namespace LanguageClient