1
0
forked from fsfw/fsfw

unit test for detection of missed reply when commanded externally

This commit is contained in:
2022-06-06 10:53:08 +02:00
parent 161dbde0d7
commit 4fba2704aa
4 changed files with 31 additions and 4 deletions
@@ -83,7 +83,11 @@ void DeviceHandlerMock::fillCommandAndReplyMap() {
uint32_t DeviceHandlerMock::getTransitionDelayMs(Mode_t modeFrom, Mode_t modeTo) { return 500; }
void DeviceHandlerMock::changePeriodicReplyCountdown(uint32_t timeout) {
periodicReplyCountdown.setTimeout(0);
periodicReplyCountdown.setTimeout(timeout);
}
void DeviceHandlerMock::changeSimpleCommandReplyCountdown(uint32_t timeout) {
simpleCommandReplyTimeout.setTimeout(timeout);
}
void DeviceHandlerMock::resetPeriodicReplyState() {