diff options
author | Christian Stenger <christian.stenger@digia.com> | 2013-12-06 16:00:29 +0100 |
---|---|---|
committer | Christian Stenger <christian.stenger@digia.com> | 2013-12-12 13:03:48 +0100 |
commit | 5f1e85db23609e5209497f6bd8d9defbf337280f (patch) | |
tree | f085b09e6142f62b2de8b9899fc0853785abc076 /src/plugins/qmljstools/qmljstools_test.cpp | |
parent | 31e2d42dcf5f5d29ce3d72fad53c4feb99e0a68b (diff) | |
download | qt-creator-5f1e85db23609e5209497f6bd8d9defbf337280f.tar.gz |
QmlJSTools: Fix plugin unit test
Change-Id: Ia8c807537de110844c1203bdf44ccd58e7abfa35
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
Diffstat (limited to 'src/plugins/qmljstools/qmljstools_test.cpp')
-rw-r--r-- | src/plugins/qmljstools/qmljstools_test.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/qmljstools/qmljstools_test.cpp b/src/plugins/qmljstools/qmljstools_test.cpp index 010da935dc..9302bde6fb 100644 --- a/src/plugins/qmljstools/qmljstools_test.cpp +++ b/src/plugins/qmljstools/qmljstools_test.cpp @@ -42,7 +42,6 @@ using namespace QmlJSTools; void QmlJSTools::Internal::QmlJSToolsPlugin::test_basic() { - return; QmlJS::ModelManagerInterface *modelManager = QmlJS::ModelManagerInterface::instance(); const QString welcomescreenRootPath = Core::ICore::resourcePath() + QLatin1String("/welcomescreen/welcomescreen.qml"); @@ -57,7 +56,7 @@ void QmlJSTools::Internal::QmlJSToolsPlugin::test_basic() QVERIFY(context); const CppComponentValue *rectangleValue = context->valueOwner()->cppQmlTypes().objectByQualifiedName( - QLatin1String("QtQuick"), QLatin1String("QDeclarative1Rectangle"), LanguageUtils::ComponentVersion(1, 0)); + QLatin1String("QtQuick"), QLatin1String("QDeclarativeRectangle"), LanguageUtils::ComponentVersion(2, 1)); QVERIFY(rectangleValue); QVERIFY(!rectangleValue->isWritable(QLatin1String("border"))); QVERIFY(rectangleValue->hasProperty(QLatin1String("border"))); |