aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmllint/tst_qmllint.cpp
diff options
context:
space:
mode:
authorEvgeniy A. Dushistov <dushistov@mail.ru>2020-08-18 22:22:10 +0300
committerEvgeniy A. Dushistov <dushistov@mail.ru>2020-08-19 10:09:30 +0300
commit69be96b97833cf45c72e8a29834b521e4523c507 (patch)
tree0152d96248ac3c304b4da2a2a57a1d3c8c0c05ef /tests/auto/qml/qmllint/tst_qmllint.cpp
parent9bb8686f158fd5671dc6eb96aaefde7485d0f485 (diff)
qmllint: handle signals defined in qml file
FindWarningVisitor for signal add property "signal" + "Changed", so it was impossible find "singal" and "onSingal" names. Fixes: QTBUG-83793 Change-Id: I5a62211f413f543fdb6bf00e0ab921561d7a9643 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 7466043389..705ff7686f 100644
--- a/tests/auto/qml/qmllint/tst_qmllint.cpp
+++ b/tests/auto/qml/qmllint/tst_qmllint.cpp
@@ -230,6 +230,7 @@ void TestQmllint::cleanQmlCode_data()
QTest::newRow("AttachedType") << QStringLiteral("AttachedType.qml");
QTest::newRow("qmldirImportAndDepend") << QStringLiteral("qmldirImportAndDepend/good.qml");
QTest::newRow("ParentEnum") << QStringLiteral("parentEnum.qml");
+ QTest::newRow("Signals") << QStringLiteral("Signal.qml");
}
void TestQmllint::cleanQmlCode()