fsfw/unittests/mocks/cfdp/UserMock.h

26 lines
845 B
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 {
explicit UserMock(HasFileSystemIF& vfs);
2022-08-09 21:03:56 +02:00
public:
void transactionIndication(TransactionId id) override;
void eofSentIndication(TransactionId id) override;
void abandonedIndication(TransactionId id, ConditionCode code, uint64_t progress) override;
void eofRecvIndication(TransactionId id) override;
2022-08-09 21:03:56 +02:00
void transactionFinishedIndication(TransactionFinishedParams params) override;
void metadataRecvdIndication(MetadataRecvParams params) override;
void fileSegmentRecvdIndication() override;
void reportIndication() override;
void suspendedIndication() override;
void resumedIndication() override;
};
2022-08-09 21:03:56 +02:00
} // namespace cfdp
#endif // FSFW_TESTS_CFDP_USERMOCK_H