aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2020-06-03 14:06:16 +0200
committerFabian Kosmale <fabian.kosmale@qt.io>2020-06-04 15:53:15 +0200
commitbd3d36a9537cd6438643510f40657381831d15c7 (patch)
tree0b652afcbb97b6de3e816dd4e4e62c5cefef489b /tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp
parent6245fa6752c7db9cd1904defaa375788787cac2d (diff)
Adapt test to QMetaMethod change
With the new compile time type registration, the type is no longer unknown, causing the test to fail. Until we decide exactly how to deal with unknown types in QML, leave the test as is, but mark the failing comparison as an expected failure. Change-Id: Iaa23f096f686399b7199541b390655142fc40a37 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp')
-rw-r--r--tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp b/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp
index dc5646be52..cb1dc89441 100644
--- a/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp
+++ b/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp
@@ -3943,6 +3943,7 @@ void tst_qqmlecmascript::signalWithUnknownTypes()
othertype.value = 17;
emit object->signalWithCompletelyUnknownType(othertype);
+ QEXPECT_FAIL("", "New metaobject implementation causes test to pass", Continue);
QVERIFY(!object->variant().isValid());
delete object;