aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlmin
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2012-12-11 06:59:37 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-12-11 14:50:32 +0100
commit163b0056096a9d7eca2272fe7e969f99ecd1cab8 (patch)
treea2b8a779134991c4f7f69fa4c53019781d0e0b64 /tests/auto/qml/qmlmin
parent731139b512db04dcb52db4ef3c4c1ad51007e2c7 (diff)
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>
Diffstat (limited to 'tests/auto/qml/qmlmin')
-rw-r--r--tests/auto/qml/qmlmin/tst_qmlmin.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/qml/qmlmin/tst_qmlmin.cpp b/tests/auto/qml/qmlmin/tst_qmlmin.cpp
index 60b69f2239..be93a79034 100644
--- a/tests/auto/qml/qmlmin/tst_qmlmin.cpp
+++ b/tests/auto/qml/qmlmin/tst_qmlmin.cpp
@@ -120,6 +120,10 @@ void tst_qmlmin::initTestCase()
invalidFiles << "tests/auto/qml/qqmlecmascript/data/jsimportfail/missingFileQualifier.js";
invalidFiles << "tests/auto/qml/qqmlecmascript/data/jsimportfail/missingModuleQualifier.js";
invalidFiles << "tests/auto/qml/qqmlecmascript/data/jsimportfail/missingModuleVersion.js";
+ invalidFiles << "tests/auto/qml/qqmlecmascript/data/stringParsing_error.1.qml";
+ invalidFiles << "tests/auto/qml/qqmlecmascript/data/stringParsing_error.2.qml";
+ invalidFiles << "tests/auto/qml/qqmlecmascript/data/stringParsing_error.3.qml";
+ invalidFiles << "tests/auto/qml/qqmlecmascript/data/stringParsing_error.4.qml";
}
QStringList tst_qmlmin::findFiles(const QDir &d)