aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp')
-rw-r--r--tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp b/tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp
index 51641a2295..259bac97e8 100644
--- a/tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp
+++ b/tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp
@@ -3870,6 +3870,7 @@ void tst_QmlCppCodegen::setLookupConversion()
QVERIFY(o->objectName().isEmpty());
QMetaObject::invokeMethod(o.data(), "t");
QCOMPARE(o->objectName(), u"a"_s);
+ QCOMPARE(o->property("value").toInt(), 9);
}
void tst_QmlCppCodegen::shadowedAsCasts()