diff --git a/unittest/core/CatchDefinitions.cpp b/unittest/core/CatchDefinitions.cpp index 3f4614e81..0b66558ac 100644 --- a/unittest/core/CatchDefinitions.cpp +++ b/unittest/core/CatchDefinitions.cpp @@ -1,5 +1,5 @@ +#include "CatchDefinitions.h" #include -#include StorageManagerIF* tglob::getIpcStoreHandle() { if(objectManager != nullptr) { diff --git a/unittest/core/CatchDefinitions.h b/unittest/core/CatchDefinitions.h index cdc025fa1..366cda7e5 100644 --- a/unittest/core/CatchDefinitions.h +++ b/unittest/core/CatchDefinitions.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef FSFW_UNITTEST_CORE_CATCHDEFINITIONS_H_ +#define FSFW_UNITTEST_CORE_CATCHDEFINITIONS_H_ #include #include @@ -17,3 +18,4 @@ namespace tglob { StorageManagerIF* getIpcStoreHandle(); } +#endif /* FSFW_UNITTEST_CORE_CATCHDEFINITIONS_H_ */ diff --git a/unittest/core/CatchSetup.cpp b/unittest/core/CatchSetup.cpp index a623fb776..5749ecd11 100644 --- a/unittest/core/CatchSetup.cpp +++ b/unittest/core/CatchSetup.cpp @@ -1,7 +1,7 @@ #include "CatchDefinitions.h" -#include "../config/cdatapool/dataPoolInit.h" -#include "../config/objects/Factory.h" +#include +#include #ifdef GCOV