summaryrefslogtreecommitdiffstats
path: root/tests/auto/qscriptenginedebugger
diff options
context:
space:
mode:
authorKent Hansen <khansen@trolltech.com>2009-06-17 15:42:01 +0200
committerKent Hansen <khansen@trolltech.com>2009-06-17 15:44:46 +0200
commit67d40ba7225dd38ba1e21ff6317920ce9fd5ee75 (patch)
treefb2ea0bf0bde6fb2bba9c0941b3bb5d92c7cb0a9 /tests/auto/qscriptenginedebugger
parent5af2e06cb543bd27450c29a1fca8686413f1cceb (diff)
make sure __FILE__ and __LINE__ properties are restored correctly
Task-number: 256184
Diffstat (limited to 'tests/auto/qscriptenginedebugger')
-rw-r--r--tests/auto/qscriptenginedebugger/tst_qscriptenginedebugger.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/auto/qscriptenginedebugger/tst_qscriptenginedebugger.cpp b/tests/auto/qscriptenginedebugger/tst_qscriptenginedebugger.cpp
index 5e5b70155c..cbdaf1e204 100644
--- a/tests/auto/qscriptenginedebugger/tst_qscriptenginedebugger.cpp
+++ b/tests/auto/qscriptenginedebugger/tst_qscriptenginedebugger.cpp
@@ -131,11 +131,9 @@ void tst_QScriptEngineDebugger::attachAndDetach()
QVERIFY(!engine.globalObject().property("print").strictlyEquals(oldPrint));
debugger.detach();
- QEXPECT_FAIL("", "Task 256184", Continue);
- QVERIFY(!engine.globalObject().property("print").isValid());
- QEXPECT_FAIL("", "Task 256184", Continue);
+ QVERIFY(engine.globalObject().property("print").strictlyEquals(oldPrint));
QVERIFY(!engine.globalObject().property("__FILE__").isValid());
-// QVERIFY(!engine.globalObject().property("__LINE__").isValid());
+ QVERIFY(!engine.globalObject().property("__LINE__").isValid());
}
{
QScriptEngineDebugger debugger;