Fix the test suite
authorLars Knoll <lars.knoll@digia.com>
Tue, 11 Dec 2012 05:59:37 +0000 (06:59 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 11 Dec 2012 13:50:32 +0000 (14:50 +0100)
commit163b0056096a9d7eca2272fe7e969f99ecd1cab8
treea2b8a779134991c4f7f69fa4c53019781d0e0b64
parent731139b512db04dcb52db4ef3c4c1ad51007e2c7
Fix the test suite

We now fail when parsing octal numbers or escape sequences. This
is ok according to the EcmaScript 5.1 spec. So remove all usages
of these numbers or sequences.

In addition delete an invalid test case that can't possibly be
parsed correctly. V8 also chokes on it.

Change-Id: I889de2810310f38206343d16175f9e31ddb44d30
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
19 files changed:
tests/auto/qml/parserstress/tests/ecma/GlobalObject/15.1.2.2-1.js
tests/auto/qml/parserstress/tests/ecma/GlobalObject/15.1.2.3-1.js
tests/auto/qml/parserstress/tests/ecma/GlobalObject/15.1.2.3-2.js
tests/auto/qml/parserstress/tests/ecma/GlobalObject/15.1.2.6.js
tests/auto/qml/parserstress/tests/ecma/GlobalObject/15.1.2.7.js
tests/auto/qml/parserstress/tests/ecma/LexicalConventions/7.7.3-1.js
tests/auto/qml/parserstress/tests/ecma/LexicalConventions/7.7.3-2.js
tests/auto/qml/parserstress/tests/ecma/LexicalConventions/7.7.3.js
tests/auto/qml/parserstress/tests/ecma/LexicalConventions/7.7.4.js
tests/auto/qml/parserstress/tests/ecma/Math/15.8.2.1.js
tests/auto/qml/parserstress/tests/ecma/TypeConversion/9.3.1-3.js
tests/auto/qml/parserstress/tests/ecma_3/RegExp/octal-002.js
tests/auto/qml/parserstress/tests/ecma_3/RegExp/regress-85721.js
tests/auto/qml/parserstress/tests/ecma_3/Regress/regress-441477-01.js
tests/auto/qml/parserstress/tests/ecma_3/String/regress-392378.js
tests/auto/qml/parserstress/tests/ecma_3/Unicode/regress-352044-02-n.js [deleted file]
tests/auto/qml/qmlmin/tst_qmlmin.cpp
tests/auto/qml/qqmllanguage/data/literals.qml
tests/auto/qml/qqmllanguage/tst_qqmllanguage.cpp