fix mock
This commit is contained in:
parent
a236a5ec50
commit
d31a5306f0
@ -6,7 +6,7 @@ AcceptsTmMock::AcceptsTmMock(object_id_t registeredId, MessageQueueId_t queueToR
|
|||||||
AcceptsTmMock::AcceptsTmMock(MessageQueueId_t queueToReturn)
|
AcceptsTmMock::AcceptsTmMock(MessageQueueId_t queueToReturn)
|
||||||
: SystemObject(objects::NO_OBJECT, false), returnedQueue(queueToReturn) {}
|
: SystemObject(objects::NO_OBJECT, false), returnedQueue(queueToReturn) {}
|
||||||
|
|
||||||
MessageQueueId_t AcceptsTmMock::getReportReceptionQueue(uint8_t virtualChannel) {
|
MessageQueueId_t AcceptsTmMock::getReportReceptionQueue(uint8_t virtualChannel) const {
|
||||||
return returnedQueue;
|
return returnedQueue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ class AcceptsTmMock : public SystemObject, public AcceptsTelemetryIF {
|
|||||||
AcceptsTmMock(object_id_t registeredId, MessageQueueId_t queueToReturn);
|
AcceptsTmMock(object_id_t registeredId, MessageQueueId_t queueToReturn);
|
||||||
explicit AcceptsTmMock(MessageQueueId_t queueToReturn);
|
explicit AcceptsTmMock(MessageQueueId_t queueToReturn);
|
||||||
|
|
||||||
MessageQueueId_t getReportReceptionQueue(uint8_t virtualChannel) override;
|
MessageQueueId_t getReportReceptionQueue(uint8_t virtualChannel) const override;
|
||||||
const char* getName() const override;
|
const char* getName() const override;
|
||||||
|
|
||||||
MessageQueueId_t returnedQueue;
|
MessageQueueId_t returnedQueue;
|
||||||
|
Loading…
Reference in New Issue
Block a user