fsfw/unittests/CatchSetup.cpp
Robin Müller af7ebd3564
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
Merge branch 'development' into mueller/refactor-logging-with-fmt
2022-07-18 15:12:55 +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;
}