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/qdeclarativeinfo | |
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/qdeclarativeinfo')
-rw-r--r-- | tests/auto/declarative/qdeclarativeinfo/tst_qdeclarativeinfo.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/auto/declarative/qdeclarativeinfo/tst_qdeclarativeinfo.cpp b/tests/auto/declarative/qdeclarativeinfo/tst_qdeclarativeinfo.cpp index dc3e816..aa3f03b 100644 --- a/tests/auto/declarative/qdeclarativeinfo/tst_qdeclarativeinfo.cpp +++ b/tests/auto/declarative/qdeclarativeinfo/tst_qdeclarativeinfo.cpp @@ -46,11 +46,11 @@ #include <QDeclarativeContext> #include <qdeclarativeinfo.h> -class tst_qmlinfo : public QObject +class tst_qdeclarativeinfo : public QObject { Q_OBJECT public: - tst_qmlinfo() {} + tst_qdeclarativeinfo() {} private slots: void qmlObject(); @@ -68,7 +68,7 @@ inline QUrl TEST_FILE(const QString &filename) return QUrl::fromLocalFile(QLatin1String(SRCDIR) + QLatin1String("/data/") + filename); } -void tst_qmlinfo::qmlObject() +void tst_qdeclarativeinfo::qmlObject() { QDeclarativeComponent component(&engine, TEST_FILE("qmlObject.qml")); @@ -87,7 +87,7 @@ void tst_qmlinfo::qmlObject() qmlInfo(nested) << "Second Test Message"; } -void tst_qmlinfo::nestedQmlObject() +void tst_qdeclarativeinfo::nestedQmlObject() { QDeclarativeComponent component(&engine, TEST_FILE("nestedQmlObject.qml")); @@ -108,7 +108,7 @@ void tst_qmlinfo::nestedQmlObject() qmlInfo(nested2) << "Inner Object"; } -void tst_qmlinfo::nonQmlObject() +void tst_qdeclarativeinfo::nonQmlObject() { QObject object; QTest::ignoreMessage(QtWarningMsg, "QML QtObject (unknown location) Test Message"); @@ -119,13 +119,13 @@ void tst_qmlinfo::nonQmlObject() qmlInfo(&pbObject) << "Test Message"; } -void tst_qmlinfo::nullObject() +void tst_qdeclarativeinfo::nullObject() { QTest::ignoreMessage(QtWarningMsg, "QML (unknown location) Null Object Test Message"); qmlInfo(0) << "Null Object Test Message"; } -void tst_qmlinfo::nonQmlContextedObject() +void tst_qdeclarativeinfo::nonQmlContextedObject() { QObject object; QDeclarativeContext context(&engine); @@ -134,6 +134,6 @@ void tst_qmlinfo::nonQmlContextedObject() qmlInfo(&object) << "Test Message"; } -QTEST_MAIN(tst_qmlinfo) +QTEST_MAIN(tst_qdeclarativeinfo) #include "tst_qdeclarativeinfo.moc" |