new cfdp mock folder, added additional cfdp mocks
This commit is contained in:
25
unittests/mocks/cfdp/UserMock.h
Normal file
25
unittests/mocks/cfdp/UserMock.h
Normal file
@ -0,0 +1,25 @@
|
||||
#ifndef FSFW_TESTS_CFDP_USERMOCK_H
|
||||
#define FSFW_TESTS_CFDP_USERMOCK_H
|
||||
|
||||
#include "fsfw/cfdp/handler/UserBase.h"
|
||||
|
||||
namespace cfdp {
|
||||
|
||||
class UserMock: public UserBase {
|
||||
explicit UserMock(HasFileSystemIF& vfs);
|
||||
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;
|
||||
void transactionFinishedIndication() override;
|
||||
void metadataRecvdIndication() override;
|
||||
void fileSegmentRecvdIndication() override;
|
||||
void reportIndication() override;
|
||||
void suspendedIndication() override;
|
||||
void resumedIndication() override;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif // FSFW_TESTS_CFDP_USERMOCK_H
|
Reference in New Issue
Block a user