aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmllint/tst_qmllint.cpp
diff options
context:
space:
mode:
authorMaximilian Goldstein <max.goldstein@qt.io>2021-02-12 11:32:53 +0100
committerMaximilian Goldstein <max.goldstein@qt.io>2021-02-12 11:57:11 +0100
commit4660f51f25a6c56182dff0ea24f7c1ad2bac9cea (patch)
tree0c22127dcaa88724011d85a7c857a70fd7c2e022 /tests/auto/qml/qmllint/tst_qmllint.cpp
parent25f765cbd9067c1ebb61721efbe471d9100d9237 (diff)
qmllint: Fix false unknown grouped property warning
We seem to be checking grouped properties twice by endVisit(UiObjectBinding*) and endVisit(UiObjectDefinition*). So the UiObjectBinding variant is removed here as this gets run before all type information is available. Change-Id: Idfe23869792f787df6109cde3b6bc1d96cce3dc3 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests/auto/qml/qmllint/tst_qmllint.cpp')
-rw-r--r--tests/auto/qml/qmllint/tst_qmllint.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/tst_qmllint.cpp b/tests/auto/qml/qmllint/tst_qmllint.cpp
index fe6996d6d9..14d1515722 100644
--- a/tests/auto/qml/qmllint/tst_qmllint.cpp
+++ b/tests/auto/qml/qmllint/tst_qmllint.cpp
@@ -360,6 +360,7 @@ void TestQmllint::cleanQmlCode_data()
QTest::newRow("overridescript") << QStringLiteral("overridescript.qml");
QTest::newRow("multiExtension") << QStringLiteral("multiExtension.qml");
QTest::newRow("segFault") << QStringLiteral("SegFault.qml");
+ QTest::newRow("grouped scope failure") << QStringLiteral("groupedScope.qml");
}
void TestQmllint::cleanQmlCode()