test auto-initializers

This commit is contained in:
2022-07-26 18:46:28 +02:00
parent 1954ce0ea4
commit 8bf0fb9885
18 changed files with 215 additions and 52 deletions

View File

@ -104,9 +104,12 @@ ReturnValue_t CommandingServiceBase::initialize() {
errReporter =
ObjectManager::instance()->get<InternalErrorReporterIF>(objects::INTERNAL_ERROR_REPORTER);
if (errReporter != nullptr) {
tmSendHelper.setInternalErrorReporter(errReporter);
tmSendHelper.setInternalErrorReporter(*errReporter);
}
} else {
tmSendHelper.setInternalErrorReporter(*errReporter);
}
if (verificationReporter == nullptr) {
verificationReporter =
ObjectManager::instance()->get<VerificationReporterIF>(objects::TC_VERIFICATOR);