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>
This commit is contained in:
parent
6245fa6752
commit
bd3d36a953
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue