From 67767f9925d9c1b848a0250581f9af4b3539855c Mon Sep 17 00:00:00 2001 From: Marco Bubke Date: Wed, 29 Nov 2017 12:01:55 +0100 Subject: [PATCH] UnitTests: Add mockup for Core::ICore::userResourcePath() Otherwise the unit tests does not linked any more. Change-Id: I1d756b8bef18d65174a8924a15995cc179af61f3 Reviewed-by: Marco Bubke --- tests/unit/mockup/coreplugin/icore.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/unit/mockup/coreplugin/icore.h diff --git a/tests/unit/mockup/coreplugin/icore.h b/tests/unit/mockup/coreplugin/icore.h new file mode 100644 index 00000000000..b89f53b843d --- /dev/null +++ b/tests/unit/mockup/coreplugin/icore.h @@ -0,0 +1,10 @@ +#include + +namespace Core { +namespace ICore { +static QString userResourcePath() +{ + return QDir::tempPath(); +} +} // namespace ICore +} // namespace Core