aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMaximilian Goldstein <max.goldstein@qt.io>2021-05-07 14:40:55 +0200
committerMaximilian Goldstein <max.goldstein@qt.io>2021-05-12 14:07:36 +0200
commit974fda409d45e3eff4405eaf7fca1eacf203e4a4 (patch)
tree01667267afae2a63afe2bc7cea5087b6cc0cffb2 /tests
parent1b0fc3af8f999f740d1a976a6be2bdea212ad586 (diff)
qquickaccessible: Use QML_EXTENDED_NAMESPACE instead of Q_ENUMS
This will not change the amount of enums included (Q_ENUMS automatically pulls in all the other enums too, surprisingly). But it will enable us to see the enum values in qmltypes and thus it will work with our tooling now. Task-number: QTBUG-93588 Change-Id: Ie019689daa7f3c456d0e4c4944877c2da5031262 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qml/qmllint/tst_qmllint.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/auto/qml/qmllint/tst_qmllint.cpp b/tests/auto/qml/qmllint/tst_qmllint.cpp
index 5fd45658f6..df303088bf 100644
--- a/tests/auto/qml/qmllint/tst_qmllint.cpp
+++ b/tests/auto/qml/qmllint/tst_qmllint.cpp
@@ -611,12 +611,6 @@ void TestQmllint::dirtyQmlCode_data()
<< QStringLiteral("qtquickWindow20.qml")
<< QStringLiteral("Property \"window\" not found on type \"QQuickWindow\"") << QString()
<< false;
- // This should not cause any warnings but right now the important thing is that it doesn't hang.
- QTest::newRow("Accessible")
- << QStringLiteral("accessible.qml")
- << QStringLiteral(
- "Property \"EditableText\" not found on type \"QQuickAccessibleAttached\"")
- << QString() << false;
QTest::newRow("unresolvedAttachedType")
<< QStringLiteral("unresolvedAttachedType.qml")
<< QStringLiteral("unknown attached property scope UnresolvedAttachedType.")
@@ -752,6 +746,7 @@ void TestQmllint::cleanQmlCode_data()
QTest::newRow("objectArray") << QStringLiteral("objectArray.qml");
QTest::newRow("aliasToList") << QStringLiteral("aliasToList.qml");
QTest::newRow("QVariant") << QStringLiteral("qvariant.qml");
+ QTest::newRow("Accessible") << QStringLiteral("accessible.qml");
}
void TestQmllint::cleanQmlCode()