diff options
author | Kai Koehne <kai.koehne@nokia.com> | 2012-03-16 16:44:24 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-24 15:58:25 +0200 |
commit | 05e57b7736f8c370476e197fc9d4f77f2cb01605 (patch) | |
tree | 5198341ca5e694ecada4e176eb44915684920517 /tests/auto/qml/debugger/qv8profilerservice/tst_qv8profilerservice.cpp | |
parent | bacc47f5a42f7da05ead35c4c4f2adf427ced786 (diff) |
Debugger: Make sure stateChanged is called from debugger thread
Make sure stateAboutToBeChanged(), stateChanged() is always called
from the debugger thread. This matches how messageReceived()
is called. On exit, run an event loop until all stateAboutToBeChanged
calls have returned.
Change-Id: I9cd6199cc80552ad97e4b7d504ea91aa116a6a34
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
Diffstat (limited to 'tests/auto/qml/debugger/qv8profilerservice/tst_qv8profilerservice.cpp')
-rw-r--r-- | tests/auto/qml/debugger/qv8profilerservice/tst_qv8profilerservice.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/auto/qml/debugger/qv8profilerservice/tst_qv8profilerservice.cpp b/tests/auto/qml/debugger/qv8profilerservice/tst_qv8profilerservice.cpp index a258028dbf..d482e81009 100644 --- a/tests/auto/qml/debugger/qv8profilerservice/tst_qv8profilerservice.cpp +++ b/tests/auto/qml/debugger/qv8profilerservice/tst_qv8profilerservice.cpp @@ -314,7 +314,6 @@ void tst_QV8ProfilerService::profileOnExit() m_client->startProfiling(""); QVERIFY2(QQmlDebugTest::waitForSignal(m_client, SIGNAL(complete())), "No trace received in time."); - //QVERIFY(!m_client->traceMessages.isEmpty()); } void tst_QV8ProfilerService::console() |