1
0
forked from fsfw/fsfw

default PUS receiver set automatically now

This commit is contained in:
2022-07-26 17:41:10 +02:00
parent d98b79cf5e
commit 1954ce0ea4
12 changed files with 149 additions and 19 deletions

View File

@ -16,8 +16,19 @@ void PusVerificationReporterMock::popNextFailParams() {
VerifFailureParams& PusVerificationReporterMock::getNextFailCallParams() {
return failParams.front();
}
void PusVerificationReporterMock::popNextSuccessParams() {
if (not successParams.empty()) {
successParams.pop();
}
}
ReturnValue_t PusVerificationReporterMock::sendSuccessReport(VerifSuccessParams params) {
successParams.push(params);
return HasReturnvaluesIF::RETURN_OK;
}
ReturnValue_t PusVerificationReporterMock::sendFailureReport(VerifFailureParams params) {
failParams.push(params);
return HasReturnvaluesIF::RETURN_OK;
}