fsfw/unittests/mocks/cfdp/UserMock.h

27 lines
1.0 KiB
C
Raw Normal View History

#ifndef FSFW_TESTS_CFDP_USERMOCK_H
#define FSFW_TESTS_CFDP_USERMOCK_H
#include "fsfw/cfdp/handler/UserBase.h"
namespace cfdp {
2022-08-09 21:03:56 +02:00
class UserMock : public UserBase {
2022-08-17 17:09:39 +02:00
public:
explicit UserMock(HasFileSystemIF& vfs);
2022-08-09 21:03:56 +02:00
void transactionIndication(TransactionId id) override;
void eofSentIndication(TransactionId id) override;
2022-08-10 10:34:02 +02:00
void abandonedIndication(TransactionId id, ConditionCode code, size_t progress) override;
void eofRecvIndication(TransactionId id) override;
2022-08-09 21:03:56 +02:00
void transactionFinishedIndication(TransactionFinishedParams params) override;
2022-08-10 10:34:02 +02:00
void metadataRecvdIndication(MetadataRecvdParams params) override;
2022-08-10 09:39:57 +02:00
void fileSegmentRecvdIndication(FileSegmentRecvdParams params) override;
2022-08-10 10:34:02 +02:00
void reportIndication(TransactionId id, StatusReportIF& report) override;
void suspendedIndication(TransactionId id, ConditionCode code) override;
void resumedIndication(TransactionId id, size_t progress) override;
void faultIndication(TransactionId id, ConditionCode code, size_t progress) override;
};
2022-08-09 21:03:56 +02:00
} // namespace cfdp
#endif // FSFW_TESTS_CFDP_USERMOCK_H