aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmllint/tst_qmllint.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2020-03-16 12:15:10 +0100
committerUlf Hermann <ulf.hermann@qt.io>2020-03-16 14:57:13 +0100
commitafe20375bab3dea584c3b6c9bc5812da78f6618e (patch)
tree67d89d63dfbb968bd7e87246381fdf1b941833c7 /tests/auto/qml/qmllint/tst_qmllint.cpp
parent3e57c56aa1d54ac4587284727ca9c952d33f3e43 (diff)
qmllint: Use fully qualified QML type names as superClass
Otherwise we miss subtleties such as Label vs. T.Label. Task-number: QTBUG-82817 Change-Id: Idc2131426b2fd96f279dab83292a348b9295d5c0 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 f1930d3caf..3e5237aebe 100644
--- a/tests/auto/qml/qmllint/tst_qmllint.cpp
+++ b/tests/auto/qml/qmllint/tst_qmllint.cpp
@@ -193,6 +193,7 @@ void TestQmllint::cleanQmlCode_data()
QTest::newRow("goodTypeAssertion") << QStringLiteral("goodTypeAssertion.qml");
QTest::newRow("AttachedProps") << QStringLiteral("AttachedProps.qml");
QTest::newRow("unknownBuiltinFont") << QStringLiteral("ButtonLoader.qml");
+ QTest::newRow("confusingImport") << QStringLiteral("Dialog.qml");
}
void TestQmllint::cleanQmlCode()