diff --git a/tests/auto/configurations/testconfigurations.cpp b/tests/auto/configurations/testconfigurations.cpp index 16187156..9d34fa63 100644 --- a/tests/auto/configurations/testconfigurations.cpp +++ b/tests/auto/configurations/testconfigurations.cpp @@ -32,6 +32,7 @@ #include "nymeacore.h" #include "nymeasettings.h" #include "servers/mocktcpserver.h" +#include "../plugins/mock/extern-plugininfo.h" using namespace nymeaserver; diff --git a/tests/auto/integrations/testintegrations.cpp b/tests/auto/integrations/testintegrations.cpp index 1d4098e7..572599d2 100644 --- a/tests/auto/integrations/testintegrations.cpp +++ b/tests/auto/integrations/testintegrations.cpp @@ -37,6 +37,7 @@ #include "servers/mocktcpserver.h" #include "jsonrpc/integrationshandler.h" +#include "../plugins/mock/extern-plugininfo.h" using namespace nymeaserver; diff --git a/tests/auto/ioconnections/testioconnections.cpp b/tests/auto/ioconnections/testioconnections.cpp index 13f1c5c7..32f44c79 100644 --- a/tests/auto/ioconnections/testioconnections.cpp +++ b/tests/auto/ioconnections/testioconnections.cpp @@ -38,6 +38,8 @@ #include "servers/mocktcpserver.h" #include "jsonrpc/integrationshandler.h" +#include "../plugins/mock/extern-plugininfo.h" + using namespace nymeaserver; class TestIOConnections : public NymeaTestBase diff --git a/tests/auto/jsonrpc/testjsonrpc.cpp b/tests/auto/jsonrpc/testjsonrpc.cpp index 05f388a8..5cd6a0fa 100644 --- a/tests/auto/jsonrpc/testjsonrpc.cpp +++ b/tests/auto/jsonrpc/testjsonrpc.cpp @@ -35,6 +35,7 @@ #include "servers/mocktcpserver.h" #include "usermanager/usermanager.h" #include "nymeadbusservice.h" +#include "../plugins/mock/extern-plugininfo.h" using namespace nymeaserver; diff --git a/tests/auto/logging/testlogging.cpp b/tests/auto/logging/testlogging.cpp index c6a6614b..6c735a8f 100644 --- a/tests/auto/logging/testlogging.cpp +++ b/tests/auto/logging/testlogging.cpp @@ -34,6 +34,8 @@ #include "logging/logvaluetool.h" #include "servers/mocktcpserver.h" +#include "../plugins/mock/extern-plugininfo.h" + #include using namespace nymeaserver; diff --git a/tests/auto/rules/testrules.cpp b/tests/auto/rules/testrules.cpp index 14c87989..1e5d1217 100644 --- a/tests/auto/rules/testrules.cpp +++ b/tests/auto/rules/testrules.cpp @@ -33,6 +33,7 @@ #include "servers/mocktcpserver.h" #include "nymeacore.h" #include "jsonrpc/jsonhandler.h" +#include "../plugins/mock/extern-plugininfo.h" using namespace nymeaserver; diff --git a/tests/auto/scripts/testscripts.cpp b/tests/auto/scripts/testscripts.cpp index 5d00c1b4..ae527573 100644 --- a/tests/auto/scripts/testscripts.cpp +++ b/tests/auto/scripts/testscripts.cpp @@ -35,6 +35,8 @@ #include "nymeacore.h" #include "scriptengine/scriptengine.h" +#include "../plugins/mock/extern-plugininfo.h" + #include using namespace nymeaserver; diff --git a/tests/auto/tags/testtags.cpp b/tests/auto/tags/testtags.cpp index af9474e3..bf065c01 100644 --- a/tests/auto/tags/testtags.cpp +++ b/tests/auto/tags/testtags.cpp @@ -31,6 +31,7 @@ #include "nymeatestbase.h" #include "servers/mocktcpserver.h" #include "tagging/tagsstorage.h" +#include "../plugins/mock/extern-plugininfo.h" using namespace nymeaserver; diff --git a/tests/auto/timemanager/testtimemanager.cpp b/tests/auto/timemanager/testtimemanager.cpp index 92a6c7e6..6246adb0 100644 --- a/tests/auto/timemanager/testtimemanager.cpp +++ b/tests/auto/timemanager/testtimemanager.cpp @@ -35,6 +35,8 @@ #include "platform/platform.h" #include "platform/platformsystemcontroller.h" +#include "../plugins/mock/extern-plugininfo.h" + using namespace nymeaserver; class TestTimeManager: public NymeaTestBase diff --git a/tests/testlib/nymeatestbase.h b/tests/testlib/nymeatestbase.h index 3c2bc1a5..251c5d5c 100644 --- a/tests/testlib/nymeatestbase.h +++ b/tests/testlib/nymeatestbase.h @@ -1,6 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -* Copyright 2013 - 2020, nymea GmbH +* Copyright 2013 - 2022, nymea GmbH * Contact: contact@nymea.io * * This file is part of nymea. @@ -35,11 +35,12 @@ #include #include #include +#include + +#include Q_DECLARE_LOGGING_CATEGORY(dcTests) -#include "../plugins/mock/extern-plugininfo.h" - namespace nymeaserver { class MockTcpServer;