summaryrefslogtreecommitdiff
path: root/tests/auto/declarative/qdeclarativedebugservice
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@nokia.com>2011-08-24 15:51:04 +0200
committerKai Koehne <kai.koehne@nokia.com>2011-08-24 15:51:04 +0200
commit4739a241722c20a4dade8f02b18a809fda94e942 (patch)
tree478d7349c6018cad27a50319ad65d09c58736ee3 /tests/auto/declarative/qdeclarativedebugservice
parent02e2ff4597a7fe81ecbb4b1ef3c5e4a5ac6b7339 (diff)
downloadqt4-tools-4739a241722c20a4dade8f02b18a809fda94e942.tar.gz
tests: Use CONFIG option instead of QDeclarativeDebugHelper class
Change-Id: I84119a3164018a4179f8a7187348865a30b3237a
Diffstat (limited to 'tests/auto/declarative/qdeclarativedebugservice')
-rw-r--r--tests/auto/declarative/qdeclarativedebugservice/qdeclarativedebugservice.pro2
-rw-r--r--tests/auto/declarative/qdeclarativedebugservice/tst_qdeclarativedebugservice.cpp4
2 files changed, 1 insertions, 5 deletions
diff --git a/tests/auto/declarative/qdeclarativedebugservice/qdeclarativedebugservice.pro b/tests/auto/declarative/qdeclarativedebugservice/qdeclarativedebugservice.pro
index a62e148def..ca5a39886d 100644
--- a/tests/auto/declarative/qdeclarativedebugservice/qdeclarativedebugservice.pro
+++ b/tests/auto/declarative/qdeclarativedebugservice/qdeclarativedebugservice.pro
@@ -6,5 +6,5 @@ HEADERS += ../shared/debugutil_p.h
SOURCES += tst_qdeclarativedebugservice.cpp \
../shared/debugutil.cpp
-CONFIG += parallel_test
+CONFIG += parallel_test declarative_debug
diff --git a/tests/auto/declarative/qdeclarativedebugservice/tst_qdeclarativedebugservice.cpp b/tests/auto/declarative/qdeclarativedebugservice/tst_qdeclarativedebugservice.cpp
index 3fa8bba682..74f549c076 100644
--- a/tests/auto/declarative/qdeclarativedebugservice/tst_qdeclarativedebugservice.cpp
+++ b/tests/auto/declarative/qdeclarativedebugservice/tst_qdeclarativedebugservice.cpp
@@ -46,7 +46,6 @@
#include <QThread>
#include <QtDeclarative/qdeclarativeengine.h>
-#include <private/qdeclarativedebughelper_p.h>
#include <private/qdeclarativedebug_p.h>
#include <private/qdeclarativeenginedebug_p.h>
@@ -76,9 +75,6 @@ private slots:
void tst_QDeclarativeDebugService::initTestCase()
{
- QTest::ignoreMessage(QtWarningMsg, "Qml debugging is enabled. Only use this in a safe environment!");
- QDeclarativeDebugHelper::enableDebugging();
-
QTest::ignoreMessage(QtWarningMsg, "QDeclarativeDebugServer: Waiting for connection on port 13769...");
new QDeclarativeEngine(this);