Robin Mueller
ade15ad16d
This PR refactores the tests so they are built as part of the FSFW. This is done by adding Catch2 with the FetchContent directive. A future implementation might also use a system installation of Catch2 by first checking whether Catch2 can already be found as a package The custom configuration folder testcfg was moved from the user folder to the actual unittest folder. The tests can be built by setting the CMake FSFW_BUILD_UNITTESTS option to TRUE/ON. They are built with the static library and dropped inside the build folders fsfw directory.
30 lines
722 B
C++
30 lines
722 B
C++
#ifndef HOSTED_CONFIG_OBJECTS_SYSTEMOBJECTLIST_H_
|
|
#define HOSTED_CONFIG_OBJECTS_SYSTEMOBJECTLIST_H_
|
|
|
|
#include "fsfw/objectmanager/frameworkObjects.h"
|
|
#include "common/objects/commonObjectsList.h"
|
|
#include <cstdint>
|
|
|
|
// The objects will be instantiated in the ID order
|
|
namespace objects {
|
|
enum sourceObjects: uint32_t {
|
|
/* All addresses between start and end are reserved for the FSFW */
|
|
FSFW_CONFIG_RESERVED_START = PUS_SERVICE_1_VERIFICATION,
|
|
FSFW_CONFIG_RESERVED_END = TM_STORE,
|
|
|
|
UDP_BRIDGE = 15,
|
|
UDP_POLLING_TASK = 16,
|
|
|
|
TEST_ECHO_COM_IF = 20,
|
|
TEST_DEVICE = 21,
|
|
|
|
HK_RECEIVER_MOCK = 22,
|
|
TEST_LOCAL_POOL_OWNER_BASE = 25,
|
|
|
|
SHARED_SET_ID = 26
|
|
|
|
};
|
|
}
|
|
|
|
#endif /* BSP_CONFIG_OBJECTS_SYSTEMOBJECTLIST_H_ */
|