summaryrefslogtreecommitdiffstats
path: root/tests/auto/qscriptengineagent
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2011-07-03 11:46:09 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2011-07-03 11:46:09 (GMT)
commit1d5041c712acd10020c38a92f1eedc88368ca19f (patch)
treefb2d4e31c8232456d10bd70a67000076c8d2d48a /tests/auto/qscriptengineagent
parent68ad4618e02d1686e37b979fbf1fd1f349aa6d4f (diff)
parent7f5797a784e237672f291055020ef4bbb6199893 (diff)
downloadQt-4.8.0-beta.zip
Qt-4.8.0-beta.tar.gz
Qt-4.8.0-beta.tar.bz2
Merge branch 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into master-integrationv4.8.0-beta
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1: Doc: Fixing typo
Diffstat (limited to 'tests/auto/qscriptengineagent')
-rw-r--r--tests/auto/qscriptengineagent/tst_qscriptengineagent.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qscriptengineagent/tst_qscriptengineagent.cpp b/tests/auto/qscriptengineagent/tst_qscriptengineagent.cpp
index 2390f19..7da647d 100644
--- a/tests/auto/qscriptengineagent/tst_qscriptengineagent.cpp
+++ b/tests/auto/qscriptengineagent/tst_qscriptengineagent.cpp
@@ -815,7 +815,7 @@ void tst_QScriptEngineAgent::functionEntryAndExit_native2()
/** check behaiviour of native function throwing error*/
void tst_QScriptEngineAgent::functionEntryAndExit_nativeThrowing()
{
- /* This function was changed from old backend. JSC return more Entrys / Exits, (exactly +1)
+ /* This function was changed from old backend. JSC return more Entries / Exits, (exactly +1)
in exception creation time */
QScriptEngine eng;
@@ -2356,7 +2356,7 @@ void tst_QScriptEngineAgent::hasUncaughtException()
QVERIFY2(spy->isPass(), "At least one of a functionExit event should set hasUncaughtException flag.");
spy->reset();
- // Check catched exception.
+ // Check caught exception.
eng.evaluate("function innerFoo() { throw new Error('ciao') }");
eng.evaluate("function foo() {try { innerFoo() } catch (e) {} }");
scriptValue = QScriptValue(eng.globalObject().property("foo")).call();