From ae1322df716e9ebdae9fa156c4eeb4fc18d3a191 Mon Sep 17 00:00:00 2001 From: Sergio Ahumada Date: Mon, 3 Mar 2014 23:09:03 +0100 Subject: Fix some typos Change-Id: Idb1e503afa74efe167d68e6fb993f50138546c51 Reviewed-by: Mitch Curtis --- tests/auto/qscriptengineagent/tst_qscriptengineagent.cpp | 4 ++-- tests/benchmarks/script/qscriptclass/tst_qscriptclass.cpp | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/auto/qscriptengineagent/tst_qscriptengineagent.cpp b/tests/auto/qscriptengineagent/tst_qscriptengineagent.cpp index e0e7a5b..1097a41 100644 --- a/tests/auto/qscriptengineagent/tst_qscriptengineagent.cpp +++ b/tests/auto/qscriptengineagent/tst_qscriptengineagent.cpp @@ -809,7 +809,7 @@ void tst_QScriptEngineAgent::functionEntryAndExit_native2() delete spy; } -/** check behaiviour of native function throwing error*/ +/** check behavior of native function throwing error*/ void tst_QScriptEngineAgent::functionEntryAndExit_nativeThrowing() { /* This function was changed from old backend. JSC return more Entrys / Exits, (exactly +1) @@ -2353,7 +2353,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(); diff --git a/tests/benchmarks/script/qscriptclass/tst_qscriptclass.cpp b/tests/benchmarks/script/qscriptclass/tst_qscriptclass.cpp index 68c598f..bd82afa 100644 --- a/tests/benchmarks/script/qscriptclass/tst_qscriptclass.cpp +++ b/tests/benchmarks/script/qscriptclass/tst_qscriptclass.cpp @@ -117,7 +117,7 @@ private: QScriptString foo; }; -// Test the overhead of getting a value of QScriptClass accross the Javascript engine +// Test the overhead of getting a value of QScriptClass across the Javascript engine void tst_QScriptClass::property() { QScriptEngine eng; @@ -130,7 +130,7 @@ void tst_QScriptClass::property() } } -// Test the overhead of setting a value on QScriptClass accross the Javascript engine +// Test the overhead of setting a value on QScriptClass across the Javascript engine void tst_QScriptClass::setProperty() { QScriptEngine eng; @@ -144,7 +144,7 @@ void tst_QScriptClass::setProperty() } } -// Test the time taken to get the propeties flags accross the engine +// Test the time taken to get the propeties flags across the engine void tst_QScriptClass::propertyFlags() { QScriptEngine eng; -- cgit v1.2.1