From: Kurt Pattyn Date: Wed, 12 Mar 2014 13:16:08 +0000 (+0100) Subject: Fix unit tests X-Git-Tag: v5.3.0-beta1~9 X-Git-Url: http://review.tizen.org/git/?p=contrib%2Fqtwebsockets.git;a=commitdiff_plain;h=b05b0c07dd7b06412fd4a0cb3cc5d2e889236eff Fix unit tests Change-Id: I24091b8b976b30e8d6ef26f41530027339106243 Reviewed-by: Kurt Pattyn --- diff --git a/tests/auto/qwebsocket/tst_qwebsocket.cpp b/tests/auto/qwebsocket/tst_qwebsocket.cpp index d2c5055..9e5997e 100644 --- a/tests/auto/qwebsocket/tst_qwebsocket.cpp +++ b/tests/auto/qwebsocket/tst_qwebsocket.cpp @@ -298,7 +298,7 @@ void tst_QWebSocket::tst_invalidOpen() //at this point the socket is in a connecting state //so, there should no error at this point QCOMPARE(socket.error(), QAbstractSocket::UnknownSocketError); - //QVERIFY(socket.errorString().isEmpty()); + QVERIFY(!socket.errorString().isEmpty()); QVERIFY(!socket.isValid()); QVERIFY(socket.localAddress().isNull()); QCOMPARE(socket.localPort(), quint16(0));