forked from qt-creator/qt-creator
QmlJSTools: Fix tests
Amends 316e48fc50
.
Change-Id: I5d28a89cdae23a76b37654aff6560b8334452e01
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -38,7 +38,7 @@ void QmlJSToolsTest::test_basic()
|
||||
QVERIFY(context);
|
||||
|
||||
const CppComponentValue *rectangleValue = context->valueOwner()->cppQmlTypes().objectByQualifiedName(
|
||||
QLatin1String("QtQuick"), QLatin1String("QDeclarativeRectangle"), LanguageUtils::ComponentVersion(2, 15));
|
||||
QLatin1String("QtQuick"), QLatin1String("QDeclarativeRectangle"), LanguageUtils::ComponentVersion());
|
||||
QVERIFY(rectangleValue);
|
||||
QVERIFY(!rectangleValue->isWritable(QLatin1String("border")));
|
||||
QVERIFY(rectangleValue->hasProperty(QLatin1String("border")));
|
||||
|
Reference in New Issue
Block a user