aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmllanguage/tst_qqmllanguage.cpp
diff options
context:
space:
mode:
authorMaximilian Goldstein <max.goldstein@qt.io>2021-02-05 15:14:42 +0100
committerMaximilian Goldstein <max.goldstein@qt.io>2021-02-05 17:19:54 +0100
commit33f3d70c74564fb1e296537e14d1e0bddb4bb944 (patch)
tree3def672f5eb1fb2b004d59eed4ec37423f56c4ae /tests/auto/qml/qqmllanguage/tst_qqmllanguage.cpp
parent4938984f9a779192264757a06e6ca555fc8f5e91 (diff)
qqmlproxymetaobject: Support invoking methods and slots
Previously this just failed silently and returned garbage data. Change-Id: Ia8b72836aa0ccfd50fd18b0f813c2bf3a00801c5 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tests/auto/qml/qqmllanguage/tst_qqmllanguage.cpp')
-rw-r--r--tests/auto/qml/qqmllanguage/tst_qqmllanguage.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmllanguage/tst_qqmllanguage.cpp b/tests/auto/qml/qqmllanguage/tst_qqmllanguage.cpp
index 5e40387ceb..ff76e4510e 100644
--- a/tests/auto/qml/qqmllanguage/tst_qqmllanguage.cpp
+++ b/tests/auto/qml/qqmllanguage/tst_qqmllanguage.cpp
@@ -5497,6 +5497,8 @@ void tst_qqmllanguage::extendedForeignTypes()
QCOMPARE(o->property("foreignExtendedExtension").toInt(), 42);
QCOMPARE(o->property("foreignObjectName").toString(), QLatin1String("foreign"));
QCOMPARE(o->property("foreignExtendedObjectName").toString(), QLatin1String("foreignExtended"));
+ QCOMPARE(o->property("extendedInvokable").toInt(), 123);
+ QCOMPARE(o->property("extendedSlot").toInt(), 456);
}
void tst_qqmllanguage::foreignTypeSingletons() {