2022-07-25 14:04:06 +02:00
|
|
|
#ifndef FSFW_TESTS_INTERNALERRORREPORTERMOCK_H
|
|
|
|
#define FSFW_TESTS_INTERNALERRORREPORTERMOCK_H
|
|
|
|
|
|
|
|
#include "fsfw/internalerror/InternalErrorReporterIF.h"
|
|
|
|
|
2022-07-25 19:36:56 +02:00
|
|
|
class InternalErrorReporterMock : public InternalErrorReporterIF {
|
2022-07-25 14:04:06 +02:00
|
|
|
public:
|
2022-07-25 14:31:57 +02:00
|
|
|
unsigned int queueMsgNotSentCallCnt = 0;
|
|
|
|
unsigned int lostTmCallCnt = 0;
|
|
|
|
unsigned int storeFullCallCnt = 0;
|
2022-07-25 14:04:06 +02:00
|
|
|
InternalErrorReporterMock();
|
2022-07-25 20:31:06 +02:00
|
|
|
void reset();
|
|
|
|
|
|
|
|
private:
|
2022-07-25 14:31:57 +02:00
|
|
|
void queueMessageNotSent() override;
|
|
|
|
void lostTm() override;
|
|
|
|
void storeFull() override;
|
2022-07-25 14:04:06 +02:00
|
|
|
};
|
|
|
|
#endif // FSFW_TESTS_INTERNALERRORREPORTERMOCK_H
|