aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2013-06-21 16:51:51 +0200
committerLars Knoll <lars.knoll@digia.com>2013-06-21 19:56:00 +0200
commitee827a8751b31a16cf3d341598c1d8bfd26e9b40 (patch)
tree5805eaac552db21522534dd75626eacf4e31223c /tests/auto
parent287c61d9e7cbdec1551f978beed79192759d3081 (diff)
Mark qqmlecmascript::hasOwnProperty as xfail
hasOwnProperty is not currently properly supported on dynamic objects that re-implement get. Change-Id: Ib6cfe13bbdbe4457adf05cd20e42d3a5e85ac318 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'tests/auto')
-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 56995dae10..17da0a418c 100644
--- a/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp
+++ b/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp
@@ -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");