Fix tst_qqmlecmascript::callQtInvokables
authorSimon Hausmann <simon.hausmann@digia.com>
Thu, 13 Jun 2013 06:53:34 +0000 (08:53 +0200)
committerLars Knoll <lars.knoll@digia.com>
Thu, 13 Jun 2013 06:55:21 +0000 (08:55 +0200)
commit7281cd44dcf538424acd58297801a79835f0cdfe
tree224b6795746b8679e885546f6505db1f86233e6b
parent4bdde1128f29a5545f52d6fc5fd33f1487625206
Fix tst_qqmlecmascript::callQtInvokables

Make sure to set inheritContext to true, to run the sample scripts the
same way as we run QML right now: with lookups disabled. Lookups with
custom get() don't work right now and cause the tests to fail lookup
properties in QObject.

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