diff options
author | Leonardo Sobral Cunha <leo.cunha@nokia.com> | 2010-02-24 05:06:13 (GMT) |
---|---|---|
committer | Leonardo Sobral Cunha <leo.cunha@nokia.com> | 2010-02-24 05:07:27 (GMT) |
commit | b9c5c6b562ffbaeb509cffd300898018357834f3 (patch) | |
tree | 0185bb5c9cf1babb87e4c73bf8de48f3b575bcaf /tests/auto/declarative/shared | |
parent | 42e493f397436607d219edfc76a2e04fbb8c2a18 (diff) | |
download | Qt-b9c5c6b562ffbaeb509cffd300898018357834f3.zip Qt-b9c5c6b562ffbaeb509cffd300898018357834f3.tar.gz Qt-b9c5c6b562ffbaeb509cffd300898018357834f3.tar.bz2 |
Change autotest class prefix from QmlXXX to QDeclarativeXXX, QmlGraphicsXXX to QDeclarativeXXX.
Diffstat (limited to 'tests/auto/declarative/shared')
-rw-r--r-- | tests/auto/declarative/shared/debugutil.cpp | 8 | ||||
-rw-r--r-- | tests/auto/declarative/shared/debugutil_p.h | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/tests/auto/declarative/shared/debugutil.cpp b/tests/auto/declarative/shared/debugutil.cpp index c12df4f..66f04e5 100644 --- a/tests/auto/declarative/shared/debugutil.cpp +++ b/tests/auto/declarative/shared/debugutil.cpp @@ -105,7 +105,7 @@ QByteArray QDeclarativeDebugTestClient::waitForResponse() lastMsg.clear(); QDeclarativeDebugTest::waitForSignal(this, SIGNAL(serverMessage(QByteArray))); if (lastMsg.isEmpty()) { - qWarning() << "tst_QmlDebugClient: no response from server!"; + qWarning() << "tst_QDeclarativeDebugClient: no response from server!"; return QByteArray(); } return lastMsg; @@ -118,12 +118,12 @@ void QDeclarativeDebugTestClient::messageReceived(const QByteArray &ba) } -tst_QmlDebug_Thread::tst_QmlDebug_Thread(QDeclarativeDebugTestData *data, QDeclarativeTestFactory *factory) +tst_QDeclarativeDebug_Thread::tst_QDeclarativeDebug_Thread(QDeclarativeDebugTestData *data, QDeclarativeTestFactory *factory) : m_data(data), m_factory(factory) { } -void tst_QmlDebug_Thread::run() +void tst_QDeclarativeDebug_Thread::run() { bool ok = false; @@ -153,7 +153,7 @@ int QDeclarativeDebugTest::runTests(QDeclarativeTestFactory *factory, const QLis QEventLoop loop; QDeclarativeDebugTestData data(&loop); - tst_QmlDebug_Thread thread(&data, factory); + tst_QDeclarativeDebug_Thread thread(&data, factory); QObject::connect(&thread, SIGNAL(testsFinished(int)), &data, SLOT(testsFinished(int))); QDeclarativeDebugService::notifyOnServerStart(&thread, "start"); diff --git a/tests/auto/declarative/shared/debugutil_p.h b/tests/auto/declarative/shared/debugutil_p.h index 3aaa9db..c152b5a 100644 --- a/tests/auto/declarative/shared/debugutil_p.h +++ b/tests/auto/declarative/shared/debugutil_p.h @@ -131,11 +131,11 @@ private: QByteArray lastMsg; }; -class tst_QmlDebug_Thread : public QThread +class tst_QDeclarativeDebug_Thread : public QThread { Q_OBJECT public: - tst_QmlDebug_Thread(QDeclarativeDebugTestData *data, QDeclarativeTestFactory *factory); + tst_QDeclarativeDebug_Thread(QDeclarativeDebugTestData *data, QDeclarativeTestFactory *factory); void run(); |