summaryrefslogtreecommitdiff
path: root/doc/qtcreatordev/examples/exampleplugin/examplefunctions.h
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2023-01-25 16:01:27 +0100
committerEike Ziller <eike.ziller@qt.io>2023-02-28 15:42:48 +0000
commitcace5a57f2a372e5879e12ff0b5d5781f513969b (patch)
treecb25407542cef685ee7216cc456f1494aa8dd55d /doc/qtcreatordev/examples/exampleplugin/examplefunctions.h
parent5e866bbf2ff18b006bca05dbc165e2e418cc0ab9 (diff)
downloadqt-creator-cace5a57f2a372e5879e12ff0b5d5781f513969b.tar.gz
Plugins: Add documentation about testing
Add information about how to write plugin tests and how to integrate unit tests. Change-Id: I13721f03c4c55a265a93f71a7c4d892f3e53a6bb Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Diffstat (limited to 'doc/qtcreatordev/examples/exampleplugin/examplefunctions.h')
-rw-r--r--doc/qtcreatordev/examples/exampleplugin/examplefunctions.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/qtcreatordev/examples/exampleplugin/examplefunctions.h b/doc/qtcreatordev/examples/exampleplugin/examplefunctions.h
new file mode 100644
index 0000000000..7a618cbe57
--- /dev/null
+++ b/doc/qtcreatordev/examples/exampleplugin/examplefunctions.h
@@ -0,0 +1,9 @@
+#pragma once
+
+#include "example_global.h"
+
+namespace Example {
+
+int EXAMPLE_EXPORT addOne(int i);
+
+} // namespace Example