Robin Mueller
a18706ec53
1. Further reduces the amount of code the user needs to copy and paste 2. Makes FSFW tests more accessible. This can be used to simplify moving mission unit tests to the FSFW 3. A lot of include improvements
22 lines
619 B
C++
22 lines
619 B
C++
#ifndef FSFW_UNITTEST_CORE_CATCHDEFINITIONS_H_
|
|
#define FSFW_UNITTEST_CORE_CATCHDEFINITIONS_H_
|
|
|
|
#include <fsfw/ipc/messageQueueDefinitions.h>
|
|
#include <fsfw/returnvalues/HasReturnvaluesIF.h>
|
|
#include <fsfw/storagemanager/StorageManagerIF.h>
|
|
|
|
namespace retval {
|
|
static constexpr int CATCH_OK = static_cast<int>(HasReturnvaluesIF::RETURN_OK);
|
|
static constexpr int CATCH_FAILED = static_cast<int>(HasReturnvaluesIF::RETURN_FAILED);
|
|
}
|
|
|
|
namespace tconst {
|
|
static constexpr MessageQueueId_t testQueueId = 42;
|
|
}
|
|
|
|
namespace tglob {
|
|
StorageManagerIF* getIpcStoreHandle();
|
|
}
|
|
|
|
#endif /* FSFW_UNITTEST_CORE_CATCHDEFINITIONS_H_ */
|