Commit e3a1f016 authored by Don Gagne's avatar Don Gagne

_requestListNoResponse fixed up and back on

parent b25cde07
......@@ -64,10 +64,12 @@ void ParameterManagerTest::_requestListMissingParamSuccess(void)
_noFailureWorker(MockConfiguration::FailMissingParamOnInitialReqest);
}
#if 0
// Test no response to param_request_list
void ParameterManagerTest::_requestListNoResponse(void)
{
// Will pop error about request failure
setExpectedMessageBox(QMessageBox::Ok);
Q_ASSERT(!_mockLink);
_mockLink = MockLink::startPX4MockLink(false, MockConfiguration::FailParamNoReponseToRequestList);
......@@ -93,9 +95,8 @@ void ParameterManagerTest::_requestListNoResponse(void)
QCOMPARE(spyParamsReady.wait(40000), false);
// User should have been notified
checkMultipleExpectedMessageBox(5);
checkExpectedMessageBox();
}
#endif
// MockLink will fail to send a param on initial request, it will also fail to send it on subsequent
// param_read requests.
......
......@@ -22,8 +22,7 @@ class ParameterManagerTest : public UnitTest
private slots:
void _noFailure(void);
// FIXME: Hack to work around changed no reponse handling
//void _requestListNoResponse(void);
void _requestListNoResponse(void);
void _requestListMissingParamSuccess(void);
void _requestListMissingParamFail(void);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment