diff options
Diffstat (limited to 'tests/manual/websockets/tst_websockets.cpp')
-rw-r--r-- | tests/manual/websockets/tst_websockets.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/manual/websockets/tst_websockets.cpp b/tests/manual/websockets/tst_websockets.cpp index a0e6ec8..57cb940 100644 --- a/tests/manual/websockets/tst_websockets.cpp +++ b/tests/manual/websockets/tst_websockets.cpp @@ -43,7 +43,7 @@ #include <QSignalSpy> #include <QHostInfo> #include <QDebug> -#include "qwebsocket.h" +#include "QtWebSockets/QWebSocket" class tst_WebSocketsTest : public QObject { @@ -104,9 +104,9 @@ tst_WebSocketsTest::tst_WebSocketsTest() : void tst_WebSocketsTest::initTestCase() { m_pWebSocket = new QWebSocket(); - /*m_pWebSocket->open(m_url, true); + m_pWebSocket->open(m_url, true); QTRY_VERIFY_WITH_TIMEOUT(m_pWebSocket->state() == QAbstractSocket::ConnectedState, 1000); - QVERIFY(m_pWebSocket->isValid());*/ + QVERIFY(m_pWebSocket->isValid()); } void tst_WebSocketsTest::cleanupTestCase() |