diff options
author | Kai Koehne <kai.koehne@nokia.com> | 2012-02-02 11:18:08 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-10 11:49:38 +0100 |
commit | 9daf11cede6a13fb95f202b2bdee7966a502d3f7 (patch) | |
tree | ae09d426af7edb1e998eeb45f1afb7a644a19800 /tests/auto/declarative/debugger/qv8profilerservice/tst_qv8profilerservice.cpp | |
parent | e761f5b906c427433325debb9f08c4f2d0ba902d (diff) |
Debugger: Consistenly use 'state' instead of 'status'
Fix inconsistent naming e.g. in QtDeclarativeEngineDebug by always
using 'state' instead of 'status'. This is in line with the other
source code, which also seems to favor 'state'.
Change-Id: I65a7a3bd0eb7dfffeb37b5f8dad15b0a4a78de70
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
Diffstat (limited to 'tests/auto/declarative/debugger/qv8profilerservice/tst_qv8profilerservice.cpp')
-rw-r--r-- | tests/auto/declarative/debugger/qv8profilerservice/tst_qv8profilerservice.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/auto/declarative/debugger/qv8profilerservice/tst_qv8profilerservice.cpp b/tests/auto/declarative/debugger/qv8profilerservice/tst_qv8profilerservice.cpp index 2556e41e4f..3ec92f9987 100644 --- a/tests/auto/declarative/debugger/qv8profilerservice/tst_qv8profilerservice.cpp +++ b/tests/auto/declarative/debugger/qv8profilerservice/tst_qv8profilerservice.cpp @@ -201,7 +201,7 @@ void tst_QV8ProfilerService::cleanup() void tst_QV8ProfilerService::blockingConnectWithTraceEnabled() { connect(true, "test.qml"); - QTRY_COMPARE(m_client->status(), QDeclarativeDebugClient::Enabled); + QTRY_COMPARE(m_client->state(), QDeclarativeDebugClient::Enabled); m_client->startProfiling(""); m_client->stopProfiling(""); @@ -215,7 +215,7 @@ void tst_QV8ProfilerService::blockingConnectWithTraceEnabled() void tst_QV8ProfilerService::blockingConnectWithTraceDisabled() { connect(true, "test.qml"); - QTRY_COMPARE(m_client->status(), QDeclarativeDebugClient::Enabled); + QTRY_COMPARE(m_client->state(), QDeclarativeDebugClient::Enabled); m_client->stopProfiling(""); if (QDeclarativeDebugTest::waitForSignal(m_client, SIGNAL(complete()), 1000)) { @@ -235,7 +235,7 @@ void tst_QV8ProfilerService::blockingConnectWithTraceDisabled() void tst_QV8ProfilerService::nonBlockingConnect() { connect(false, "test.qml"); - QTRY_COMPARE(m_client->status(), QDeclarativeDebugClient::Enabled); + QTRY_COMPARE(m_client->state(), QDeclarativeDebugClient::Enabled); m_client->startProfiling(""); m_client->stopProfiling(""); @@ -249,7 +249,7 @@ void tst_QV8ProfilerService::nonBlockingConnect() void tst_QV8ProfilerService::snapshot() { connect(false, "test.qml"); - QTRY_COMPARE(m_client->status(), QDeclarativeDebugClient::Enabled); + QTRY_COMPARE(m_client->state(), QDeclarativeDebugClient::Enabled); m_client->takeSnapshot(); if (!QDeclarativeDebugTest::waitForSignal(m_client, SIGNAL(snapshot()))) { @@ -262,7 +262,7 @@ void tst_QV8ProfilerService::snapshot() void tst_QV8ProfilerService::profileOnExit() { connect(true, "exit.qml"); - QTRY_COMPARE(m_client->status(), QDeclarativeDebugClient::Enabled); + QTRY_COMPARE(m_client->state(), QDeclarativeDebugClient::Enabled); m_client->startProfiling(""); |