aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmllint/tst_qmllint.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmllint/tst_qmllint.cpp')
-rw-r--r--tests/auto/qml/qmllint/tst_qmllint.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/tst_qmllint.cpp b/tests/auto/qml/qmllint/tst_qmllint.cpp
index c8e0dd2db3..a86c202790 100644
--- a/tests/auto/qml/qmllint/tst_qmllint.cpp
+++ b/tests/auto/qml/qmllint/tst_qmllint.cpp
@@ -302,6 +302,10 @@ void TestQmllint::dirtyQmlCode_data()
<< QStringLiteral("onAssignment.qml")
<< QStringLiteral("Property \"loops\" not found on type \"bool\"")
<< QString();
+ QTest::newRow("BadAttached")
+ << QStringLiteral("badAttached.qml")
+ << QStringLiteral("unknown attached property scope WrongAttached.")
+ << QString();
}
void TestQmllint::dirtyQmlCode()
@@ -366,6 +370,7 @@ void TestQmllint::cleanQmlCode_data()
QTest::newRow("segFault") << QStringLiteral("SegFault.qml");
QTest::newRow("grouped scope failure") << QStringLiteral("groupedScope.qml");
QTest::newRow("layouts depends quick") << QStringLiteral("layouts.qml");
+ QTest::newRow("attached") << QStringLiteral("attached.qml");
}
void TestQmllint::cleanQmlCode()