Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
E
ECSS Services
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AcubeSat-OBC
ECSS Services
Commits
3afabc14
Commit
3afabc14
authored
6 years ago
by
Grigoris Pavlakis
Committed by
kongr45gpen
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
inc/Helpers/CRCHelper.hpp
+2
-2
2 additions, 2 deletions
inc/Helpers/CRCHelper.hpp
inc/etl/String.hpp
+0
-1
0 additions, 1 deletion
inc/etl/String.hpp
test/Services/FunctionManagementService.cpp
+2
-2
2 additions, 2 deletions
test/Services/FunctionManagementService.cpp
with
4 additions
and
5 deletions
inc/Helpers/CRCHelper.hpp
+
2
−
2
View file @
3afabc14
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
class
CRCHelper
{
class
CRCHelper
{
/**
/**
* CRC
32
calculation helper class
* CRC
16
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 CRC
32
checksum of the input data
* @return the CRC
16
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
);
...
...
This diff is collapsed.
Click to expand it.
inc/etl/String.hpp
+
0
−
1
View file @
3afabc14
#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>
...
...
This diff is collapsed.
Click to expand it.
test/Services/FunctionManagementService.cpp
+
2
−
2
View file @
3afabc14
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment