aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/mockup
diff options
context:
space:
mode:
authorMarco Bubke <marco.bubke@qt.io>2017-11-29 12:01:55 +0100
committerMarco Bubke <marco.bubke@qt.io>2017-11-29 13:04:13 +0000
commit67767f9925d9c1b848a0250581f9af4b3539855c (patch)
treee171a49334b92fcb72c3f4bff31e7d13846dd126 /tests/unit/mockup
parentc1aa7458137c11db60a502eddd361c73e96e371a (diff)
UnitTests: Add mockup for Core::ICore::userResourcePath()
Otherwise the unit tests does not linked any more. Change-Id: I1d756b8bef18d65174a8924a15995cc179af61f3 Reviewed-by: Marco Bubke <marco.bubke@qt.io>
Diffstat (limited to 'tests/unit/mockup')
-rw-r--r--tests/unit/mockup/coreplugin/icore.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/unit/mockup/coreplugin/icore.h b/tests/unit/mockup/coreplugin/icore.h
new file mode 100644
index 0000000000..b89f53b843
--- /dev/null
+++ b/tests/unit/mockup/coreplugin/icore.h
@@ -0,0 +1,10 @@
+#include <QDir>
+
+namespace Core {
+namespace ICore {
+static QString userResourcePath()
+{
+ return QDir::tempPath();
+}
+} // namespace ICore
+} // namespace Core