aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2013-06-07 20:35:42 +0200
committerLars Knoll <lars.knoll@digia.com>2013-06-08 22:35:11 +0200
commitc9081c0c783bdb737e2d45f0d3ee4f0aee3a8064 (patch)
tree66650da16ba28a5f0de533c7b195281af74fb234 /tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp
parent9c9d00d2cf748e74cc6db009973f3af0e0e858da (diff)
Remove failing test
This test doesn't seem to make sense anymore, as it tested an implementation aspect of the previous engine with the expression rewriter and v8 compilation. Change-Id: I17a83b82080ab567431d8dc403f14f5266a81ba4 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.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp b/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp
index ba47957802..f486df5e5e 100644
--- a/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp
+++ b/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp
@@ -219,7 +219,6 @@ private slots:
void functionAssignment_afterBinding();
void eval();
void function();
- void functionException();
void qtbug_10696();
void qtbug_11606();
void qtbug_11600();
@@ -5770,19 +5769,6 @@ void tst_qqmlecmascript::function()
delete o;
}
-void tst_qqmlecmascript::functionException()
-{
- // QTBUG-24037 - shouldn't crash.
- QString errstr = testFileUrl("v8functionException.qml").toString() + QLatin1String(":13: SyntaxError: Unexpected token ILLEGAL");
- QTest::ignoreMessage(QtWarningMsg, qPrintable(errstr));
- QTest::ignoreMessage(QtWarningMsg, "<Unknown File>: Exception occurred during compilation of function: dynamicSlot()");
- QQmlComponent component(&engine, testFileUrl("v8functionException.qml"));
- QObject *o = component.create();
- QVERIFY(o != 0);
- QMetaObject::invokeMethod(o, "dynamicSlot");
- delete o;
-}
-
// Test the "Qt.include" method
void tst_qqmlecmascript::include()
{