aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2013-06-17 07:31:41 +0200
committerLars Knoll <lars.knoll@digia.com>2013-06-17 08:01:41 +0200
commit59fd742adce2e988264deda6f8378e66ed6da686 (patch)
tree62cc015b268ff74186a00710a23dd91f23cd479b /tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp
parent42825af048ab2724e0d434178dcef1b23b4850ff (diff)
Mark the eval() test as xfail
eval() works differently in strict mode, and it's nicely covered by test262 Change-Id: I9bb84753032d5106c94d78afe765680f3d85348d Reviewed-by: Lars Knoll <lars.knoll@digia.com>
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 08fafa4c8a..172d2b7457 100644
--- a/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp
+++ b/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp
@@ -5744,6 +5744,7 @@ void tst_qqmlecmascript::eval()
QObject *o = component.create();
QVERIFY(o != 0);
+ QEXPECT_FAIL("", "The eval statement works differently in strict mode", Abort);
QCOMPARE(o->property("test1").toBool(), true);
QCOMPARE(o->property("test2").toBool(), true);
QCOMPARE(o->property("test3").toBool(), true);