diff options
author | Yann Bodson <yann.bodson@nokia.com> | 2010-04-21 04:38:17 (GMT) |
---|---|---|
committer | Yann Bodson <yann.bodson@nokia.com> | 2010-04-21 04:38:17 (GMT) |
commit | 146eb30c23f55c714afdde887ea6bb4df104e057 (patch) | |
tree | 5b81d829cc32b4eaf33f19c8acf5a8b19ac32060 /tests/auto | |
parent | 893cc249e6752a72b27ad60e4f7eaea56ae7909c (diff) | |
download | Qt-146eb30c23f55c714afdde887ea6bb4df104e057.zip Qt-146eb30c23f55c714afdde887ea6bb4df104e057.tar.gz Qt-146eb30c23f55c714afdde887ea6bb4df104e057.tar.bz2 |
Ignore message in QDeclarativeLoader test.
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/declarative/qdeclarativeloader/tst_qdeclarativeloader.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/auto/declarative/qdeclarativeloader/tst_qdeclarativeloader.cpp b/tests/auto/declarative/qdeclarativeloader/tst_qdeclarativeloader.cpp index a5f75bd..7cdadb4 100644 --- a/tests/auto/declarative/qdeclarativeloader/tst_qdeclarativeloader.cpp +++ b/tests/auto/declarative/qdeclarativeloader/tst_qdeclarativeloader.cpp @@ -538,9 +538,8 @@ void tst_QDeclarativeLoader::nonItem() void tst_QDeclarativeLoader::vmeErrors() { QDeclarativeComponent component(&engine, TEST_FILE("vmeErrors.qml")); - //ignore message for now - //QString err = QUrl::fromLocalFile(SRCDIR "/data/VmeError.qml:6: Cannot assign object type QObject with no default method\n onSomethingHappened: QtObject {}) "); - //QTest::ignoreMessage(QtWarningMsg, err.toLatin1().constData()); + QString err = QUrl::fromLocalFile(SRCDIR).toString() + "/data/VmeError.qml:6: Cannot assign object type QObject with no default method"; + QTest::ignoreMessage(QtWarningMsg, err.toLatin1().constData()); QDeclarativeLoader *loader = qobject_cast<QDeclarativeLoader*>(component.create()); QVERIFY(loader); QVERIFY(loader->item() == 0); |