24 lines
818 B
C
24 lines
818 B
C
|
#ifndef FSFW_TESTS_PUSVERIFICATIONREPORTERMOCK_H
|
||
|
#define FSFW_TESTS_PUSVERIFICATIONREPORTERMOCK_H
|
||
|
|
||
|
#include <queue>
|
||
|
|
||
|
#include "fsfw/tmtcservices/VerificationReporterIF.h"
|
||
|
|
||
|
class PusVerificationReporterMock : public VerificationReporterIF {
|
||
|
public:
|
||
|
std::queue<VerifSuccessParams> successParams;
|
||
|
std::queue<VerifFailureParams> failParams;
|
||
|
|
||
|
[[nodiscard]] size_t successCallCount() const;
|
||
|
VerifSuccessParams& getNextSuccessCallParams();
|
||
|
void popNextSuccessParams();
|
||
|
[[nodiscard]] size_t failCallCount() const;
|
||
|
VerifFailureParams& getNextFailCallParams();
|
||
|
void popNextFailParams();
|
||
|
|
||
|
ReturnValue_t sendSuccessReport(VerifSuccessParams params) override { return 0; }
|
||
|
ReturnValue_t sendFailureReport(VerifFailureParams params) override { return 0; }
|
||
|
};
|
||
|
#endif // FSFW_TESTS_PUSVERIFICATIONREPORTERMOCK_H
|