diff options
author | Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 2016-04-05 18:24:44 +0200 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 2016-04-06 09:43:13 +0000 |
commit | 55f2fe374f0314e87e1ca5618bab6fac94430c78 (patch) | |
tree | c3081b258ef95c597e29b6dbe56a042d6a7341d8 /tests | |
parent | a775b9da4794f1f248b63a4a58ee6ad6885f0622 (diff) | |
download | qtscript-55f2fe374f0314e87e1ca5618bab6fac94430c78.tar.gz |
purge symbian vestiges
Change-Id: I3e66ce25ea21aa846b44b6f99b8afbe0959a6526
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'tests')
4 files changed, 0 insertions, 24 deletions
diff --git a/tests/auto/qscriptengine/tst_qscriptengine.cpp b/tests/auto/qscriptengine/tst_qscriptengine.cpp index dde048b..19a6f7e 100644 --- a/tests/auto/qscriptengine/tst_qscriptengine.cpp +++ b/tests/auto/qscriptengine/tst_qscriptengine.cpp @@ -51,12 +51,6 @@ Q_DECLARE_METATYPE(QList<int>) Q_DECLARE_METATYPE(QObjectList) Q_DECLARE_METATYPE(QScriptProgram) -#if defined(Q_OS_SYMBIAN) -# define STRINGIFY(x) #x -# define TOSTRING(x) STRINGIFY(x) -# define SRCDIR "C:/Private/" TOSTRING(SYMBIAN_SRCDIR_UID) -#endif - class tst_QScriptEngine : public QObject { Q_OBJECT diff --git a/tests/auto/qscriptjstestsuite/expect_fail.txt b/tests/auto/qscriptjstestsuite/expect_fail.txt index b15542e..6fedd4a 100644 --- a/tests/auto/qscriptjstestsuite/expect_fail.txt +++ b/tests/auto/qscriptjstestsuite/expect_fail.txt @@ -197,12 +197,3 @@ ecma/Math/15.8.2.6.js | Infinity/Math.ceil(-0.9) ecma/Math/15.8.2.9.js | Infinity/Math.floor(-0) ecma/TypeConversion/9.3.1-3.js | var z = 0; print(1/-z) ecma/TypeConversion/9.3.1-3.js | 1/-1e-2000 - -[Q_OS_SYMBIAN] -ecma/Math/15.8.2.13.js | Math.pow(-1, 0.5) -ecma/Math/15.8.2.13.js | Math.pow(-1, -0.5) -ecma_3/Operators/order-01.js | operator evaluation order: 11.5.1 * -ecma_3/Operators/order-01.js | operator evaluation order: 11.5.2 / -ecma_3/Operators/order-01.js | operator evaluation order: 11.6.2 - -ecma_3/Operators/order-01.js | operator evaluation order: 11.13.2 *= -ecma_3/Operators/order-01.js | operator evaluation order: 11.13.2 /= diff --git a/tests/auto/qscriptjstestsuite/tst_qscriptjstestsuite.cpp b/tests/auto/qscriptjstestsuite/tst_qscriptjstestsuite.cpp index 13668c6..3ce2397 100644 --- a/tests/auto/qscriptjstestsuite/tst_qscriptjstestsuite.cpp +++ b/tests/auto/qscriptjstestsuite/tst_qscriptjstestsuite.cpp @@ -37,10 +37,6 @@ #include <QtScript> -#if defined(Q_OS_SYMBIAN) -# define SRCDIR "." -#endif - struct TestRecord { TestRecord() : lineNumber(-1) { } diff --git a/tests/benchmarks/script/qscriptengine/tst_qscriptengine.cpp b/tests/benchmarks/script/qscriptengine/tst_qscriptengine.cpp index 8149d7e..8fa7e04 100644 --- a/tests/benchmarks/script/qscriptengine/tst_qscriptengine.cpp +++ b/tests/benchmarks/script/qscriptengine/tst_qscriptengine.cpp @@ -478,13 +478,8 @@ void tst_QScriptEngine::nativeCall() newEngine(); m_engine->globalObject().setProperty("fun", m_engine->newFunction(native_function)); QBENCHMARK{ -#if !defined(Q_OS_SYMBIAN) m_engine->evaluate("var w = 0; for (i = 0; i < 100000; ++i) {\n" " w += fun() + fun(); w -= fun(); fun(); w -= fun(); }"); -#else - m_engine->evaluate("var w = 0; for (i = 0; i < 25000; ++i) {\n" - " w += fun() + fun(); w -= fun(); fun(); w -= fun(); }"); -#endif } } |