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.
26 lines
463 B
C++
26 lines
463 B
C++
#ifndef CONFIG_TMTC_PUSIDS_HPP_
|
|
#define CONFIG_TMTC_PUSIDS_HPP_
|
|
|
|
#include <cstdint>
|
|
|
|
namespace pus {
|
|
enum Ids: uint8_t {
|
|
PUS_SERVICE_1 = 1,
|
|
PUS_SERVICE_2 = 2,
|
|
PUS_SERVICE_3 = 3,
|
|
PUS_SERVICE_5 = 5,
|
|
PUS_SERVICE_6 = 6,
|
|
PUS_SERVICE_8 = 8,
|
|
PUS_SERVICE_9 = 9,
|
|
PUS_SERVICE_11 = 11,
|
|
PUS_SERVICE_17 = 17,
|
|
PUS_SERVICE_19 = 19,
|
|
PUS_SERVICE_20 = 20,
|
|
PUS_SERVICE_23 = 23,
|
|
PUS_SERVICE_200 = 200,
|
|
PUS_SERVICE_201 = 201,
|
|
};
|
|
};
|
|
|
|
#endif /* CONFIG_TMTC_PUSIDS_HPP_ */
|