aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlmetatype
diff options
context:
space:
mode:
authorKarsten Heimrich <karsten.heimrich@qt.io>2020-08-14 13:04:22 +0200
committerKarsten Heimrich <karsten.heimrich@qt.io>2020-08-23 20:56:31 +0200
commitae36d94c2f385e272ae25fcd0fe780edb70cf7d9 (patch)
tree5812b2a57c9f355313755b95a09358f9c19cd7d4 /tests/auto/qml/qqmlmetatype
parent48b4c1f450109b148f03f62574d78b460859c4a1 (diff)
Remove qml statemachine plugin from qtdeclarative
Task-number: QTBUG-80316 Change-Id: I584b699a1eec88117f343870bd2cd01075da64f7 Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
Diffstat (limited to 'tests/auto/qml/qqmlmetatype')
-rw-r--r--tests/auto/qml/qqmlmetatype/tst_qqmlmetatype.cpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/auto/qml/qqmlmetatype/tst_qqmlmetatype.cpp b/tests/auto/qml/qqmlmetatype/tst_qqmlmetatype.cpp
index 6f59cca1b1..92a5787bdb 100644
--- a/tests/auto/qml/qqmlmetatype/tst_qqmlmetatype.cpp
+++ b/tests/auto/qml/qqmlmetatype/tst_qqmlmetatype.cpp
@@ -570,27 +570,6 @@ void tst_qqmlmetatype::unregisterAttachedProperties()
QScopedPointer<QObject> obj(c.create());
QVERIFY(obj);
}
-
- qmlClearTypeRegistrations();
- {
- QQmlEngine e;
- QQmlComponent c(&e);
-
- // The extra import shuffles the type IDs around, so that we
- // get a different ID for the attached properties. If the attached
- // properties aren't properly cleared, this will crash.
- c.setData("import QtQml.StateMachine 1.0 \n"
- "import QtQuick 2.2 \n"
- "Item { KeyNavigation.up: null }", dummy);
-
- const QQmlType attachedType = QQmlMetaType::qmlType("QtQuick/KeyNavigation",
- QTypeRevision::fromVersion(2, 2));
- QCOMPARE(attachedType.attachedPropertiesType(QQmlEnginePrivate::get(&e)),
- attachedType.metaObject());
-
- QScopedPointer<QObject> obj(c.create());
- QVERIFY(obj);
- }
}
class Grouped : public QObject