From 0bd20ac9fd55c83c2330e4f8b5ff9732327b4634 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Tue, 10 May 2022 17:49:10 +0200 Subject: [PATCH] init acs test files --- .gitmodules | 3 ++ CMakeLists.txt | 3 ++ misc/eclipse/.cproject | 2 +- misc/eclipse/host/eive-unittest.launch | 2 +- thirdparty/rapidcsv | 1 + tmtc | 2 +- unittest/controller/CMakeLists.txt | 1 + unittest/controller/testAcsController.cpp | 35 +++++++++++++++++++ unittest/controller/testThermalController.cpp | 2 +- unittest/meineTestDaten.txt | 3 ++ 10 files changed, 50 insertions(+), 4 deletions(-) create mode 160000 thirdparty/rapidcsv create mode 100644 unittest/controller/testAcsController.cpp create mode 100644 unittest/meineTestDaten.txt diff --git a/.gitmodules b/.gitmodules index d309e0f5..a00cea25 100644 --- a/.gitmodules +++ b/.gitmodules @@ -19,3 +19,6 @@ [submodule "thirdparty/json"] path = thirdparty/json url = https://github.com/nlohmann/json.git +[submodule "thirdparty/rapidcsv"] + path = thirdparty/rapidcsv + url = https://github.com/d99kris/rapidcsv.git diff --git a/CMakeLists.txt b/CMakeLists.txt index c96070b3..814f7f88 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -311,6 +311,8 @@ if(EIVE_ADD_JSON_LIB) add_subdirectory(${LIB_JSON_PATH}) endif() +add_subdirectory(thirdparty/rapidcsv) + if(EIVE_ADD_LINUX_FILES) add_subdirectory(${LIB_ARCSEC_PATH}) add_subdirectory(${LINUX_PATH}) @@ -409,6 +411,7 @@ endif() target_link_libraries(${UNITTEST_NAME} PRIVATE Catch2 ${LIB_EIVE_MISSION} + rapidcsv ) if(TGT_BSP MATCHES "arm/egse") diff --git a/misc/eclipse/.cproject b/misc/eclipse/.cproject index 4c345a2d..355faa4d 100644 --- a/misc/eclipse/.cproject +++ b/misc/eclipse/.cproject @@ -603,7 +603,7 @@ - +