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/qdeclarativeengine | |
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/qdeclarativeengine')
-rw-r--r-- | tests/auto/declarative/qdeclarativeengine/tst_qdeclarativeengine.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/auto/declarative/qdeclarativeengine/tst_qdeclarativeengine.cpp b/tests/auto/declarative/qdeclarativeengine/tst_qdeclarativeengine.cpp index ca48bd2..5dc5f19 100644 --- a/tests/auto/declarative/qdeclarativeengine/tst_qdeclarativeengine.cpp +++ b/tests/auto/declarative/qdeclarativeengine/tst_qdeclarativeengine.cpp @@ -50,11 +50,11 @@ #include <QDeclarativeComponent> #include <QDeclarativeNetworkAccessManagerFactory> -class tst_qmlengine : public QObject +class tst_qdeclarativeengine : public QObject { Q_OBJECT public: - tst_qmlengine() {} + tst_qdeclarativeengine() {} private slots: void rootContext(); @@ -65,7 +65,7 @@ private slots: void clearComponentCache(); }; -void tst_qmlengine::rootContext() +void tst_qdeclarativeengine::rootContext() { QDeclarativeEngine engine; @@ -88,7 +88,7 @@ public: QNetworkAccessManager *manager; }; -void tst_qmlengine::networkAccessManager() +void tst_qdeclarativeengine::networkAccessManager() { QDeclarativeEngine *engine = new QDeclarativeEngine; @@ -105,7 +105,7 @@ void tst_qmlengine::networkAccessManager() delete engine; } -void tst_qmlengine::baseUrl() +void tst_qdeclarativeengine::baseUrl() { QDeclarativeEngine engine; @@ -129,7 +129,7 @@ void tst_qmlengine::baseUrl() QCOMPARE(engine.rootContext()->resolvedUrl(QUrl("main.qml")), cwd.resolved(QUrl("main.qml"))); } -void tst_qmlengine::contextForObject() +void tst_qdeclarativeengine::contextForObject() { QDeclarativeEngine *engine = new QDeclarativeEngine; @@ -162,11 +162,11 @@ void tst_qmlengine::contextForObject() QVERIFY(QDeclarativeEngine::contextForObject(&object) == 0); } -void tst_qmlengine::offlineStoragePath() +void tst_qdeclarativeengine::offlineStoragePath() { // Without these set, QDesktopServices::storageLocation returns // strings with extra "//" at the end. We set them to ignore this problem. - qApp->setApplicationName("tst_qmlengine"); + qApp->setApplicationName("tst_qdeclarativeengine"); qApp->setOrganizationName("Nokia"); qApp->setOrganizationDomain("nokia.com"); @@ -184,7 +184,7 @@ void tst_qmlengine::offlineStoragePath() QCOMPARE(engine.offlineStoragePath(), QDir::homePath()); } -void tst_qmlengine::clearComponentCache() +void tst_qdeclarativeengine::clearComponentCache() { QDeclarativeEngine engine; @@ -235,6 +235,6 @@ void tst_qmlengine::clearComponentCache() } } -QTEST_MAIN(tst_qmlengine) +QTEST_MAIN(tst_qdeclarativeengine) #include "tst_qdeclarativeengine.moc" |