Commit 74862df7 authored by Kai Koehne's avatar Kai Koehne

QmlJSTools: Fix autotest

Remove checking of "TabWidget" element from autotest (got removed
in one of the welcome screen rewrites).

Task-number: QTCREATORBUG-7835
Change-Id: Ic420586eec4195ed8e5de414e88cdf95f451dbd7
Reviewed-by: default avatarChristian Kandeler <christian.kandeler@digia.com>
parent d246abe6
......@@ -80,10 +80,6 @@ void QmlJSTools::Internal::QmlJSToolsPlugin::test_basic()
QVERIFY(ovItem);
QCOMPARE(ovItem->className(), QString("Item"));
QCOMPARE(context->imports(doc.data())->info("Item", context.data()).name(), QString("QtQuick"));
const ObjectValue *ovTabWidget = context->lookupType(doc.data(), QStringList() << "TabWidget");
QVERIFY(ovTabWidget);
QCOMPARE(ovTabWidget->className(), QString("TabWidget"));
QCOMPARE(ovTabWidget->prototype(context)->className(), QString("Item"));
const ObjectValue *ovProperty = context->lookupType(doc.data(), QStringList() << "Item" << "states");
QVERIFY(ovProperty);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment