Mark qqmlecmascript::hasOwnProperty as xfail
authorSimon Hausmann <simon.hausmann@digia.com>
Fri, 21 Jun 2013 14:51:51 +0000 (16:51 +0200)
committerLars Knoll <lars.knoll@digia.com>
Fri, 21 Jun 2013 17:56:00 +0000 (19:56 +0200)
hasOwnProperty is not currently properly supported on dynamic objects that
re-implement get.

Change-Id: Ib6cfe13bbdbe4457adf05cd20e42d3a5e85ac318
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp

index 56995da..17da0a4 100644 (file)
@@ -1649,6 +1649,7 @@ void tst_qqmlecmascript::objectHasOwnProperty()
     QVERIFY(object != 0);
 
     // test QObjects in QML
+    QEXPECT_FAIL("", "hasOwnProperty is currently not properly supported for dynamic objects that re-implement get()", Abort);
     QMetaObject::invokeMethod(object, "testHasOwnPropertySuccess");
     QVERIFY(object->property("result").value<bool>() == true);
     QMetaObject::invokeMethod(object, "testHasOwnPropertyFailure");