Debugger: Fix QDeclarativeDebugTrace autotest
authorKai Koehne <kai.koehne@nokia.com>
Thu, 17 Nov 2011 11:26:40 +0000 (12:26 +0100)
committerQt by Nokia <qt-info@nokia.com>
Mon, 21 Nov 2011 13:37:00 +0000 (14:37 +0100)
Change-Id: Ic17c42b6a6e388b92729fd2f653515b714f765b0
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
tests/auto/declarative/debugger/qdeclarativedebugtrace/tst_qdeclarativedebugtrace.cpp

index 8359012..9ee5dc8 100644 (file)
@@ -222,7 +222,7 @@ void tst_QDeclarativeDebugTrace::blockingConnectWithTraceEnabled()
     m_client->setTraceStatus(false);
     if (!QDeclarativeDebugTest::waitForSignal(m_client, SIGNAL(complete()))) {
         QString failMsg
-                = QString("No trace received in time. App output: \n\n").arg(m_process->output());
+                = QString("No trace received in time. App output: \n%1\n").arg(m_process->output());
         QFAIL(qPrintable(failMsg));
     }
 
@@ -248,7 +248,7 @@ void tst_QDeclarativeDebugTrace::blockingConnectWithTraceDisabled()
     m_client->setTraceStatus(false);
     if (!QDeclarativeDebugTest::waitForSignal(m_client, SIGNAL(complete()))) {
         QString failMsg
-                = QString("No trace received in time. App output: \n\n").arg(m_process->output());
+                = QString("No trace received in time. App output: \n%1\n").arg(m_process->output());
         QFAIL(qPrintable(failMsg));
     }
 
@@ -270,7 +270,7 @@ void tst_QDeclarativeDebugTrace::nonBlockingConnect()
     m_client->setTraceStatus(false);
     if (!QDeclarativeDebugTest::waitForSignal(m_client, SIGNAL(complete()))) {
         QString failMsg
-                = QString("No trace received in time. App output: \n\n").arg(m_process->output());
+                = QString("No trace received in time. App output: \n%1\n").arg(m_process->output());
         QFAIL(qPrintable(failMsg));
     }