From 46686c6c206592bc6d85f0bcc6cd78ebf6226d81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Tue, 23 Jul 2019 18:09:00 +0200 Subject: [PATCH] GUI: Fix test-projectfile testing --- gui/test/projectfile/testprojectfile.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gui/test/projectfile/testprojectfile.cpp b/gui/test/projectfile/testprojectfile.cpp index 296fb07c7..59cb6171e 100644 --- a/gui/test/projectfile/testprojectfile.cpp +++ b/gui/test/projectfile/testprojectfile.cpp @@ -19,6 +19,14 @@ #include #include "testprojectfile.h" #include "projectfile.h" +#include "settings.h" + +// Mock... +const char Settings::SafeChecks::XmlRootName[] = "safe-checks"; +const char Settings::SafeChecks::XmlClasses[] = "class-public"; +const char Settings::SafeChecks::XmlExternalFunctions[] = "external-functions"; +const char Settings::SafeChecks::XmlInternalFunctions[] = "internal-functions"; +const char Settings::SafeChecks::XmlExternalVariables[] = "external-variables"; void TestProjectFile::loadInexisting() {