From 3afabc14d2d24dbc712de5d3c67fbc6ede6fe234 Mon Sep 17 00:00:00 2001 From: Grigoris Pavlakis <grigpavl@ece.auth.gr> Date: Mon, 7 Jan 2019 16:56:23 +0200 Subject: [PATCH] Correct ambiguous test names. Never mind about the CRC helper, I only correct a typo there. --- inc/Helpers/CRCHelper.hpp | 4 ++-- inc/etl/String.hpp | 1 - test/Services/FunctionManagementService.cpp | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/inc/Helpers/CRCHelper.hpp b/inc/Helpers/CRCHelper.hpp index d70ca578..2f1b65d3 100644 --- a/inc/Helpers/CRCHelper.hpp +++ b/inc/Helpers/CRCHelper.hpp @@ -6,7 +6,7 @@ class CRCHelper { /** - * CRC32 calculation helper class + * CRC16 calculation helper class * This class declares a function which calculates the CRC16 checksum of the given data. * * For now the actual implementation is the CRC16/CCITT variant (ECSS-E-ST-70-41C, pg.615) @@ -26,7 +26,7 @@ public: * Actual CRC calculation function. * @param message (pointer to the data to be checksummed) * @param length (size in bytes) - * @return the CRC32 checksum of the input data + * @return the CRC16 checksum of the input data */ static uint16_t calculateCRC(const uint8_t* message, uint32_t length); diff --git a/inc/etl/String.hpp b/inc/etl/String.hpp index 8fbd401c..f9198df1 100644 --- a/inc/etl/String.hpp +++ b/inc/etl/String.hpp @@ -1,7 +1,6 @@ #ifndef ECSS_SERVICES_ETL_STRING_HPP #define ECSS_SERVICES_ETL_STRING_HPP - #include <cstddef> #include <etl/cstring.h> diff --git a/test/Services/FunctionManagementService.cpp b/test/Services/FunctionManagementService.cpp index 365952e5..68f30b81 100644 --- a/test/Services/FunctionManagementService.cpp +++ b/test/Services/FunctionManagementService.cpp @@ -7,7 +7,7 @@ void test(String<MAXARGLENGTH> a) { std::cout << a.c_str() << std::endl; } -TEST_CASE("FMS - Call Tests") { +TEST_CASE("ST[08] - Call Tests") { FunctionManagementService fms; SECTION("Malformed name") { @@ -27,7 +27,7 @@ TEST_CASE("FMS - Call Tests") { } } -TEST_CASE("FMS - Insert Tests") { +TEST_CASE("ST[08] - Insert Tests") { SECTION("Insertion to full pointer map") { FunctionManagementService fms; -- GitLab