GUI: Fix test-projectfile testing

This commit is contained in:
Daniel Marjamäki 2019-07-23 18:09:00 +02:00
parent 4fb6c27276
commit 46686c6c20
1 changed files with 8 additions and 0 deletions

View File

@ -19,6 +19,14 @@
#include <QObject> #include <QObject>
#include "testprojectfile.h" #include "testprojectfile.h"
#include "projectfile.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() void TestProjectFile::loadInexisting()
{ {