fsfw/unittests/mock/CcsdsCheckerMock.h

17 lines
477 B
C
Raw Permalink Normal View History

2022-08-01 17:16:37 +02:00
#ifndef FSFW_TESTS_CCSDSCHECKERMOCK_H
#define FSFW_TESTS_CCSDSCHECKERMOCK_H
#include "fsfw/tcdistribution/CcsdsPacketCheckIF.h"
class CcsdsCheckerMock : public CcsdsPacketCheckIF {
public:
CcsdsCheckerMock();
unsigned int checkCallCount = 0;
size_t checkedPacketLen = 0;
2022-08-22 16:35:53 +02:00
ReturnValue_t nextResult = returnvalue::OK;
2022-08-01 17:16:37 +02:00
ReturnValue_t checkPacket(const SpacePacketReader& currentPacket, size_t packetLen) override;
private:
};
#endif // FSFW_TESTS_CCSDSCHECKERMOCK_H