diff options
Diffstat (limited to 'tests/auto/qml/qmllint/tst_qmllint.cpp')
-rw-r--r-- | tests/auto/qml/qmllint/tst_qmllint.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/tst_qmllint.cpp b/tests/auto/qml/qmllint/tst_qmllint.cpp index 1b77e941ab..0b78285c23 100644 --- a/tests/auto/qml/qmllint/tst_qmllint.cpp +++ b/tests/auto/qml/qmllint/tst_qmllint.cpp @@ -138,6 +138,8 @@ void TestQmllint::oldQmltypes() { const QString errors = runQmllint("oldQmltypes.qml", true); QVERIFY(errors.contains(QStringLiteral("Warning: typeinfo not declared in qmldir file"))); + QVERIFY(!errors.contains(QStringLiteral("Warning: QQuickItem was not found. Did you add all import paths?"))); + QVERIFY(errors.contains(QStringLiteral("Warning: Found deprecated dependency specifications"))); } void TestQmllint::dirtyQmlCode_data() |