added some param structs
This commit is contained in:
@ -1 +1,2 @@
|
||||
target_sources(${FSFW_TEST_TGT} PRIVATE FaultHandlerMock.cpp UserMock.cpp RemoteConfigTableMock.cpp)
|
||||
target_sources(${FSFW_TEST_TGT} PRIVATE FaultHandlerMock.cpp UserMock.cpp
|
||||
RemoteConfigTableMock.cpp)
|
||||
|
@ -5,11 +5,11 @@
|
||||
|
||||
namespace cfdp {
|
||||
|
||||
class RemoteConfigTableMock: public RemoteConfigTableIF {
|
||||
class RemoteConfigTableMock : public RemoteConfigTableIF {
|
||||
public:
|
||||
bool getRemoteCfg(EntityId remoteId, RemoteEntityCfg *cfg) override;
|
||||
};
|
||||
|
||||
}
|
||||
} // namespace cfdp
|
||||
|
||||
#endif // FSFW_TESTS_CFDP_REMOTCONFIGTABLEMOCK_H
|
||||
|
@ -7,10 +7,9 @@ void cfdp::UserMock::eofSentIndication(cfdp::TransactionId id) {}
|
||||
void cfdp::UserMock::abandonedIndication(cfdp::TransactionId id, cfdp::ConditionCode code,
|
||||
uint64_t progress) {}
|
||||
void cfdp::UserMock::eofRecvIndication(cfdp::TransactionId id) {}
|
||||
void cfdp::UserMock::transactionFinishedIndication() {}
|
||||
void cfdp::UserMock::metadataRecvdIndication() {}
|
||||
void cfdp::UserMock::transactionFinishedIndication(TransactionFinishedParams finishedParams) {}
|
||||
void cfdp::UserMock::metadataRecvdIndication(MetadataRecvParams params) {}
|
||||
void cfdp::UserMock::fileSegmentRecvdIndication() {}
|
||||
void cfdp::UserMock::reportIndication() {}
|
||||
void cfdp::UserMock::suspendedIndication() {}
|
||||
void cfdp::UserMock::resumedIndication() {}
|
||||
|
||||
|
@ -2,24 +2,24 @@
|
||||
#define FSFW_TESTS_CFDP_USERMOCK_H
|
||||
|
||||
#include "fsfw/cfdp/handler/UserBase.h"
|
||||
|
||||
namespace cfdp {
|
||||
|
||||
class UserMock: public UserBase {
|
||||
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 transactionFinishedIndication(TransactionFinishedParams params) override;
|
||||
void metadataRecvdIndication(MetadataRecvParams params) override;
|
||||
void fileSegmentRecvdIndication() override;
|
||||
void reportIndication() override;
|
||||
void suspendedIndication() override;
|
||||
void resumedIndication() override;
|
||||
};
|
||||
|
||||
}
|
||||
} // namespace cfdp
|
||||
|
||||
#endif // FSFW_TESTS_CFDP_USERMOCK_H
|
||||
|
Reference in New Issue
Block a user