aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/declarative/debugger/qdeclarativedebugservice/tst_qdeclarativedebugservice.cpp5
-rw-r--r--tests/auto/declarative/debugger/shared/debugutil.cpp1
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/declarative/debugger/qdeclarativedebugservice/tst_qdeclarativedebugservice.cpp b/tests/auto/declarative/debugger/qdeclarativedebugservice/tst_qdeclarativedebugservice.cpp
index 6063c1fdcb..21aeca9040 100644
--- a/tests/auto/declarative/debugger/qdeclarativedebugservice/tst_qdeclarativedebugservice.cpp
+++ b/tests/auto/declarative/debugger/qdeclarativedebugservice/tst_qdeclarativedebugservice.cpp
@@ -118,8 +118,7 @@ void tst_QDeclarativeDebugService::status()
QTRY_COMPARE(service.status(), QDeclarativeDebugService::Unavailable);
QTest::ignoreMessage(QtWarningMsg, "QDeclarativeDebugService: Conflicting plugin name \"tst_QDeclarativeDebugService::status()\" ");
-
- QDeclarativeDebugService duplicate("tst_QDeclarativeDebugService::status()");
+ QDeclarativeDebugTestService duplicate("tst_QDeclarativeDebugService::status()");
QCOMPARE(duplicate.status(), QDeclarativeDebugService::NotConnected);
}
@@ -138,7 +137,7 @@ void tst_QDeclarativeDebugService::sendMessage()
QCOMPARE(resp, msg);
QTest::ignoreMessage(QtWarningMsg, "QDeclarativeDebugService: Conflicting plugin name \"tst_QDeclarativeDebugService::sendMessage()\" ");
- QDeclarativeDebugService duplicate("tst_QDeclarativeDebugService::sendMessage()");
+ QDeclarativeDebugTestService duplicate("tst_QDeclarativeDebugService::sendMessage()");
duplicate.sendMessage("msg");
}
diff --git a/tests/auto/declarative/debugger/shared/debugutil.cpp b/tests/auto/declarative/debugger/shared/debugutil.cpp
index 7af3d0f68f..b0ba5f27e6 100644
--- a/tests/auto/declarative/debugger/shared/debugutil.cpp
+++ b/tests/auto/declarative/debugger/shared/debugutil.cpp
@@ -62,6 +62,7 @@ bool QDeclarativeDebugTest::waitForSignal(QObject *receiver, const char *member,
QDeclarativeDebugTestService::QDeclarativeDebugTestService(const QString &s, QObject *parent)
: QDeclarativeDebugService(s, parent)
{
+ registerService();
}
void QDeclarativeDebugTestService::messageReceived(const QByteArray &ba)