start TM reader unittests
This commit is contained in:
parent
cecaec6007
commit
2dfbce6174
@ -1,3 +1,18 @@
|
||||
#include <catch2/catch_test_macros.hpp>
|
||||
|
||||
TEST_CASE("PUS TM Reader", "[pus-tm-reader]") {}
|
||||
#include "fsfw/tmtcpacket/pus/tm/PusTmCreator.h"
|
||||
#include "mocks/CdsShortTimestamperMock.h"
|
||||
|
||||
TEST_CASE("PUS TM Reader", "[pus-tm-reader]") {
|
||||
auto packetId = PacketId(ccsds::PacketType::TC, true, 0xef);
|
||||
auto spParams =
|
||||
SpacePacketParams(packetId, PacketSeqCtrl(ccsds::SequenceFlags::UNSEGMENTED, 22), 0x00);
|
||||
auto timeStamper = CdsShortTimestamperMock();
|
||||
auto pusTmParams = PusTmParams(17, 2, &timeStamper);
|
||||
timeStamper.valueToStamp = {1, 2, 3, 4, 5, 6, 7};
|
||||
PusTmCreator creator(spParams, pusTmParams);
|
||||
|
||||
SECTION("State") {
|
||||
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user