diff options
author | Maximilian Goldstein <max.goldstein@qt.io> | 2020-05-06 13:21:21 +0200 |
---|---|---|
committer | Maximilian Goldstein <max.goldstein@qt.io> | 2020-05-06 13:58:08 +0200 |
commit | 45537009a8a3f8e855c1adf0208084849b6dc9c4 (patch) | |
tree | e1b30dfb0118875bb57be53e3b15348795dfd35c /tests/auto/qml/qmllint/tst_qmllint.cpp | |
parent | aa470fa92d8139ea849c00e01db5ffc537fe6981 (diff) |
Fix qmllint crash
Fixes: QTBUG-83915
Change-Id: I26731ebcec6be46602b6acc7562c65b1c9f3e43a
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.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/tst_qmllint.cpp b/tests/auto/qml/qmllint/tst_qmllint.cpp index 0f6fac4ddf..bdb5cf37c0 100644 --- a/tests/auto/qml/qmllint/tst_qmllint.cpp +++ b/tests/auto/qml/qmllint/tst_qmllint.cpp @@ -107,6 +107,10 @@ void TestQmllint::testUnqualified_data() QTest::newRow("CatchStatement") << QStringLiteral("CatchStatement.qml") << QStringLiteral("err") << 6 << 21; QTest::newRow("NonSpuriousParent") << QStringLiteral("nonSpuriousParentWarning.qml") << QStringLiteral("property int x: <id>.parent.x") << 6 << 25; + + QTest::newRow("crashConnections") + << QStringLiteral("crashConnections.qml") + << QStringLiteral("target: FirstRunDialog") << 4 << 13; } void TestQmllint::testUnknownCausesFail() |