aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlmetatype
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qqmlmetatype')
-rw-r--r--tests/auto/qml/qqmlmetatype/tst_qqmlmetatype.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlmetatype/tst_qqmlmetatype.cpp b/tests/auto/qml/qqmlmetatype/tst_qqmlmetatype.cpp
index a3f311e248..520697909a 100644
--- a/tests/auto/qml/qqmlmetatype/tst_qqmlmetatype.cpp
+++ b/tests/auto/qml/qqmlmetatype/tst_qqmlmetatype.cpp
@@ -179,11 +179,13 @@ void tst_qqmlmetatype::qmlType()
QVERIFY(type);
QVERIFY(type->module() == QLatin1String("Test"));
QVERIFY(type->elementName() == QLatin1String("ParserStatusTestType"));
+ QCOMPARE(type->qmlTypeName(), QLatin1String("Test/ParserStatusTestType"));
type = QQmlMetaType::qmlType("Test/ParserStatusTestType", 1, 0);
QVERIFY(type);
QVERIFY(type->module() == QLatin1String("Test"));
QVERIFY(type->elementName() == QLatin1String("ParserStatusTestType"));
+ QCOMPARE(type->qmlTypeName(), QLatin1String("Test/ParserStatusTestType"));
}
void tst_qqmlmetatype::isList()