diff options
author | Erik Verbruggen <erik.verbruggen@qt.io> | 2018-10-12 12:13:45 +0200 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@qt.io> | 2019-04-16 08:37:22 +0000 |
commit | 398d586a59e768f6e442fdc912d9180df71ff374 (patch) | |
tree | dd835351f4bb706047da993edacfd8c790d1e63f /tests/auto/qml/qmlmin | |
parent | 5fcc9906d7b6d19ea3d79ccf0d6446d01b583973 (diff) |
QML: Allow fetchOrCreateTypeForUrl to report errors without qFatal
Because qFatal will abort() the program.
Task-number: QTBUG-71116
Change-Id: Ifd6be996cfbd6fff8e75ad2b26682c34f837ac88
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tests/auto/qml/qmlmin')
-rw-r--r-- | tests/auto/qml/qmlmin/tst_qmlmin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qml/qmlmin/tst_qmlmin.cpp b/tests/auto/qml/qmlmin/tst_qmlmin.cpp index c393149f59..d1e74aecef 100644 --- a/tests/auto/qml/qmlmin/tst_qmlmin.cpp +++ b/tests/auto/qml/qmlmin/tst_qmlmin.cpp @@ -128,6 +128,7 @@ void tst_qmlmin::initTestCase() invalidFiles << "tests/auto/qml/parserstress/tests/ecma_3/FunExpr/fe-001.js"; invalidFiles << "tests/auto/qml/qjsengine/script/com/trolltech/syntaxerror/__init__.js"; invalidFiles << "tests/auto/qml/debugger/qqmlpreview/data/broken.qml"; + invalidFiles << "tests/auto/qml/qqmllanguage/data/fuzzed.2.qml"; } QStringList tst_qmlmin::findFiles(const QDir &d) |