fsfw/tests/src/fsfw_tests/unit/CatchSetup.cpp
Robin Mueller 7ab617accb
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
rudimentary clion support
2022-05-12 18:59:39 +02:00

22 lines
503 B
C++

#include "CatchDefinitions.h"
#include "CatchFactory.h"
#ifdef GCOV
#include <gcov.h>
#endif
#include "fsfw/objectmanager/ObjectManager.h"
#include "fsfw/storagemanager/StorageManagerIF.h"
/* Global instantiations normally done in main.cpp */
/* Initialize Data Pool */
int customSetup() {
// global setup
sif::initialize();
ObjectManager* objMan = ObjectManager::instance();
objMan->setObjectFactoryFunction(Factory::produceFrameworkObjects, nullptr);
objMan->initialize();
return 0;
}