fsfw/unittests/mocks/InternalErrorReporterMock.h
Robin Mueller 586993c081
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
completed send helper tests
2022-07-25 20:31:06 +02:00

20 lines
547 B
C++

#ifndef FSFW_TESTS_INTERNALERRORREPORTERMOCK_H
#define FSFW_TESTS_INTERNALERRORREPORTERMOCK_H
#include "fsfw/internalerror/InternalErrorReporterIF.h"
class InternalErrorReporterMock : public InternalErrorReporterIF {
public:
unsigned int queueMsgNotSentCallCnt = 0;
unsigned int lostTmCallCnt = 0;
unsigned int storeFullCallCnt = 0;
InternalErrorReporterMock();
void reset();
private:
void queueMessageNotSent() override;
void lostTm() override;
void storeFull() override;
};
#endif // FSFW_TESTS_INTERNALERRORREPORTERMOCK_H