fsfw/tests/src/fsfw_tests/unit
Robin Mueller 5907f8ee9d
Added CFDP packet stack
This PR adds the packet stack for the CCSDS File Delivery Protocol.
It also refactors the existing TMTC infastructure to allow sending
of CFDP packets to the CCSDS handlers.

This includes the whole PDU (Protocol Data Unit) stack:

- File Data PDUs

and all file directive PDUs

- ACK PDU
- NAK PDU
- Metadata PDU
- Finished PDU
- Prompt PDU
- Keep Alive PDU
- EOF PDU

The PR includes a full set of unittests for the packet stack
with a coverage of 90+ %.

The refactoring of the existing TMTC infastructure includes non-ideal
solutions like diamond inheritance.
Avoiding this solution would require refactoring the packet stack.
This would be a good idea anyway because the existing stack is tightly
coupled to the FSFW, making reuse more difficult if only the stack is
planned to be used without the store functionalities etc.

The PDU implementation provided here is only weakly coupled to the FSFW,
only using components like returnvalues or the Serialization modules.
There are dedicated serializers and deserializers, which also helps in
creating small focused modules which are easy to test.

Some of the modules here were provied by Matthias Tompert.
2021-12-03 15:37:49 +01:00
..
action tests can now be built as part of FSFW 2021-10-07 13:24:46 +02:00
cfdp Added CFDP packet stack 2021-12-03 15:37:49 +01:00
container say hi to my new friend valgrind 2021-10-27 20:41:04 +02:00
datapoollocal Op Divider and bitutility updates 2021-11-10 18:48:02 +01:00
globalfunctions Op Divider and bitutility updates 2021-11-10 18:48:02 +01:00
mocks Make FSFW tests accessible from outside 2021-08-16 10:49:07 +02:00
osal tests can now be built as part of FSFW 2021-10-07 13:24:46 +02:00
serialize updated SerializeAdapter.h 2021-11-10 18:51:56 +01:00
storagemanager tests can now be built as part of FSFW 2021-10-07 13:24:46 +02:00
testcfg removed obsolete comment 2021-10-11 17:14:30 +02:00
testtemplate moved testtemplate and removed user folder 2021-10-11 17:22:54 +02:00
timemanager tests can now be built as part of FSFW 2021-10-07 13:24:46 +02:00
tmtcpacket Bugfix for Packet ID getters 2021-11-18 19:56:24 +01:00
CatchDefinitions.cpp Make FSFW tests accessible from outside 2021-08-16 10:49:07 +02:00
CatchDefinitions.h Make FSFW tests accessible from outside 2021-08-16 10:49:07 +02:00
CatchFactory.cpp using testsconfig.h now 2021-10-11 15:45:37 +02:00
CatchFactory.h tests can now be built as part of FSFW 2021-10-07 13:24:46 +02:00
CatchRunner.cpp tests can now be built as part of FSFW 2021-10-07 13:24:46 +02:00
CatchRunner.h tests can now be built as part of FSFW 2021-10-07 13:24:46 +02:00
CatchSetup.cpp Make FSFW tests accessible from outside 2021-08-16 10:49:07 +02:00
CMakeLists.txt Added CFDP packet stack 2021-12-03 15:37:49 +01:00
printChar.cpp Make FSFW tests accessible from outside 2021-08-16 10:49:07 +02:00
printChar.h Make FSFW tests accessible from outside 2021-08-16 10:49:07 +02:00