From 457c1f8183df105a932cfa4de54546312ddbf544 Mon Sep 17 00:00:00 2001 From: Kent Hansen Date: Mon, 10 Aug 2009 13:43:57 +0200 Subject: remove two expected failures for backtrace() QScriptContext::backtrace() is implemented now (since commit 34511e1001471ed4041794640aefe508f50ad01c), so the tests work. --- tests/auto/qscriptengine/tst_qscriptengine.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/auto/qscriptengine/tst_qscriptengine.cpp b/tests/auto/qscriptengine/tst_qscriptengine.cpp index 83874ec..e9eeca2 100644 --- a/tests/auto/qscriptengine/tst_qscriptengine.cpp +++ b/tests/auto/qscriptengine/tst_qscriptengine.cpp @@ -157,7 +157,6 @@ void tst_QScriptEngine::currentContext() QVERIFY(globalCtx->parentContext() == 0); QCOMPARE(globalCtx->engine(), &eng); QCOMPARE(globalCtx->argumentCount(), 0); - QEXPECT_FAIL("", "", Continue); QCOMPARE(globalCtx->backtrace().size(), 1); QVERIFY(!globalCtx->isCalledAsConstructor()); QVERIFY(!globalCtx->callee().isValid()); @@ -178,7 +177,6 @@ void tst_QScriptEngine::pushPopContext() QVERIFY(!ctx->callee().isValid()); QVERIFY(ctx->thisObject().strictlyEquals(eng.globalObject())); QCOMPARE(ctx->argumentCount(), 0); - QEXPECT_FAIL("", "Backtrace not implemented", Continue); QCOMPARE(ctx->backtrace().size(), 2); QCOMPARE(ctx->engine(), &eng); QCOMPARE(ctx->state(), QScriptContext::NormalState); -- cgit v0.12