Skip to content
Snippets Groups Projects
Commit 3afabc14 authored by Grigoris Pavlakis's avatar Grigoris Pavlakis Committed by kongr45gpen
Browse files

Correct ambiguous test names. Never mind about the CRC helper, I only correct a typo there.

parent 6c2dd305
No related branches found
No related tags found
No related merge requests found
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
class CRCHelper { class CRCHelper {
/** /**
* CRC32 calculation helper class * CRC16 calculation helper class
* This class declares a function which calculates the CRC16 checksum of the given data. * 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) * For now the actual implementation is the CRC16/CCITT variant (ECSS-E-ST-70-41C, pg.615)
...@@ -26,7 +26,7 @@ public: ...@@ -26,7 +26,7 @@ public:
* Actual CRC calculation function. * Actual CRC calculation function.
* @param message (pointer to the data to be checksummed) * @param message (pointer to the data to be checksummed)
* @param length (size in bytes) * @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); static uint16_t calculateCRC(const uint8_t* message, uint32_t length);
......
#ifndef ECSS_SERVICES_ETL_STRING_HPP #ifndef ECSS_SERVICES_ETL_STRING_HPP
#define ECSS_SERVICES_ETL_STRING_HPP #define ECSS_SERVICES_ETL_STRING_HPP
#include <cstddef> #include <cstddef>
#include <etl/cstring.h> #include <etl/cstring.h>
......
...@@ -7,7 +7,7 @@ void test(String<MAXARGLENGTH> a) { ...@@ -7,7 +7,7 @@ void test(String<MAXARGLENGTH> a) {
std::cout << a.c_str() << std::endl; std::cout << a.c_str() << std::endl;
} }
TEST_CASE("FMS - Call Tests") { TEST_CASE("ST[08] - Call Tests") {
FunctionManagementService fms; FunctionManagementService fms;
SECTION("Malformed name") { SECTION("Malformed name") {
...@@ -27,7 +27,7 @@ TEST_CASE("FMS - Call Tests") { ...@@ -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") { SECTION("Insertion to full pointer map") {
FunctionManagementService fms; FunctionManagementService fms;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment