improve coap code coverage
This commit is contained in:
parent
100e7145c9
commit
4f2de595c8
@ -159,6 +159,7 @@ void CoapTests::hello()
|
||||
|
||||
QSignalSpy spy(m_coap, SIGNAL(replyFinished(CoapReply*)));
|
||||
CoapReply *reply = m_coap->get(request);
|
||||
qDebug() << reply->isRunning() << reply->requestData() << reply->errorString();
|
||||
spy.wait();
|
||||
|
||||
QVERIFY2(spy.count() > 0, "Did not get a response.");
|
||||
|
||||
Reference in New Issue
Block a user