diff options
author | Kent Hansen <khansen@trolltech.com> | 2009-08-10 11:43:57 (GMT) |
---|---|---|
committer | Kent Hansen <khansen@trolltech.com> | 2009-08-10 11:43:57 (GMT) |
commit | 457c1f8183df105a932cfa4de54546312ddbf544 (patch) | |
tree | 074e51c462618534592cac1adb802cd525089b18 /tests/auto/qscriptengine | |
parent | 5897326b86d30a347a004d54bd1fd86097caf9aa (diff) | |
download | Qt-457c1f8183df105a932cfa4de54546312ddbf544.zip Qt-457c1f8183df105a932cfa4de54546312ddbf544.tar.gz Qt-457c1f8183df105a932cfa4de54546312ddbf544.tar.bz2 |
remove two expected failures for backtrace()
QScriptContext::backtrace() is implemented now (since commit
34511e1001471ed4041794640aefe508f50ad01c), so the tests work.
Diffstat (limited to 'tests/auto/qscriptengine')
-rw-r--r-- | tests/auto/qscriptengine/tst_qscriptengine.cpp | 2 |
1 files changed, 0 insertions, 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); |