From 3f9b58c0890a4263730e2c06b46e7a69d4bfb62d Mon Sep 17 00:00:00 2001 From: Kai Koehne Date: Wed, 7 Mar 2012 14:53:24 +0100 Subject: QML Debugger: Change prefix of warnings Since we've been changing from QtDeclarativeDebugServer to QQmlDebugServer anyway, we might as well change it to the more readable "QML Debugger:" prefix. Change-Id: I852577233d7cdb1f57adc43ec1b85a14d212574d Reviewed-by: Aurindam Jana --- tests/auto/qml/debugger/qqmldebugclient/tst_qqmldebugclient.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/auto/qml/debugger/qqmldebugclient') diff --git a/tests/auto/qml/debugger/qqmldebugclient/tst_qqmldebugclient.cpp b/tests/auto/qml/debugger/qqmldebugclient/tst_qqmldebugclient.cpp index 2891076af6..b18f30ffb3 100644 --- a/tests/auto/qml/debugger/qqmldebugclient/tst_qqmldebugclient.cpp +++ b/tests/auto/qml/debugger/qqmldebugclient/tst_qqmldebugclient.cpp @@ -71,7 +71,7 @@ private slots: void tst_QQmlDebugClient::initTestCase() { - const QString waitingMsg = QString("QQmlDebugServer: Waiting for connection on port %1...").arg(PORT); + const QString waitingMsg = QString("QML Debugger: Waiting for connection on port %1...").arg(PORT); QTest::ignoreMessage(QtWarningMsg, waitingMsg.toAscii().constData()); new QQmlEngine(this); @@ -80,7 +80,7 @@ void tst_QQmlDebugClient::initTestCase() QQmlDebugTestClient client("tst_QQmlDebugClient::handshake()", m_conn); QQmlDebugTestService service("tst_QQmlDebugClient::handshake()"); - QTest::ignoreMessage(QtWarningMsg, "QQmlDebugServer: Connection established"); + QTest::ignoreMessage(QtWarningMsg, "QML Debugger: Connection established."); for (int i = 0; i < 50; ++i) { // try for 5 seconds ... m_conn->connectToHost("127.0.0.1", PORT); @@ -150,7 +150,7 @@ void tst_QQmlDebugClient::parallelConnect() { QQmlDebugConnection connection2; - QTest::ignoreMessage(QtWarningMsg, "QQmlDebugServer: Another client is already connected"); + QTest::ignoreMessage(QtWarningMsg, "QML Debugger: Another client is already connected."); // will connect & immediately disconnect connection2.connectToHost("127.0.0.1", PORT); QVERIFY(connection2.waitForConnected()); @@ -172,7 +172,7 @@ void tst_QQmlDebugClient::sequentialConnect() QTest::qWait(100); connection2.connectToHost("127.0.0.1", PORT); - QTest::ignoreMessage(QtWarningMsg, "QQmlDebugServer: Connection established"); + QTest::ignoreMessage(QtWarningMsg, "QML Debugger: Connection established."); QVERIFY(connection2.waitForConnected()); QVERIFY(connection2.isConnected()); QTRY_VERIFY(client2.state() == QQmlDebugClient::Enabled); -- cgit v1.2.3