improve coap code coverage

This commit is contained in:
Simon Stürz 2016-04-13 14:20:05 +02:00 committed by Michael Zanetti
parent 100e7145c9
commit 4f2de595c8

View File

@ -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.");