diff options
author | Marco Bubke <marco.bubke@nokia.com> | 2010-05-18 16:38:09 +0200 |
---|---|---|
committer | Kai Koehne <kai.koehne@nokia.com> | 2010-05-28 16:38:29 +0200 |
commit | 27688270fd0fda28d7fe73e254938648d7187c81 (patch) | |
tree | a84f68d2480518ca62ac737d9e385112e2a6a8c0 /tests/auto/qml | |
parent | 3330d15964957567fce18e53615eb107d1453547 (diff) | |
download | qt-creator-27688270fd0fda28d7fe73e254938648d7187c81.tar.gz |
Load plugins at the beginning of the meta info initializing
Reviewed-by: kkoehne
Diffstat (limited to 'tests/auto/qml')
-rw-r--r-- | tests/auto/qml/qmldesigner/coretests/testcore.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/qml/qmldesigner/coretests/testcore.cpp b/tests/auto/qml/qmldesigner/coretests/testcore.cpp index 3330097b20..a702214dd4 100644 --- a/tests/auto/qml/qmldesigner/coretests/testcore.cpp +++ b/tests/auto/qml/qmldesigner/coretests/testcore.cpp @@ -3606,6 +3606,12 @@ void TestCore::testMetaInfo() { QScopedPointer<Model> model(Model::create("Qt/Item")); QVERIFY(model.data()); + + // test whether default type is registered + QVERIFY(model->metaInfo().hasNodeMetaInfo("Qt/Item", 4, 7)); + + // test whether types from plugins are loaded + QVERIFY(model->metaInfo().hasNodeMetaInfo("org.webkit/WebView", 1, 0)); } void TestCore::testMetaInfoSimpleType() |