diff options
author | Liang Qi <liang.qi@qt.io> | 2017-11-15 09:11:15 +0100 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2017-11-15 09:11:15 +0100 |
commit | 4f94bae73ccabfc714d248c6371f1883aacc1aa8 (patch) | |
tree | f95ae03bdcc0be49747614da2294d5986f43fd72 /tests | |
parent | 2143fd3362cc294c3076f879ef20c70ed3683f33 (diff) | |
parent | 3d23818472e371745f4ad4bd4b6c92de3d119e34 (diff) |
Merge remote-tracking branch 'origin/5.9' into 5.10
Change-Id: Id4d40ec35ed8f13c7704d737312205f334139129
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/parser/tst_parser.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/parser/tst_parser.cpp b/tests/auto/parser/tst_parser.cpp index 13eed5a..22b9059 100644 --- a/tests/auto/parser/tst_parser.cpp +++ b/tests/auto/parser/tst_parser.cpp @@ -67,6 +67,9 @@ void tst_Parser::error() const QStringList expectedErrors = QString::fromUtf8(errorFile.readAll()).split('\n', QString::SkipEmptyParts); + if (!expectedErrors.isEmpty()) + QTest::ignoreMessage(QtWarningMsg, "SCXML document has errors"); + QScopedPointer<QScxmlStateMachine> stateMachine(QScxmlStateMachine::fromFile(scxmlFileName)); QVERIFY(!stateMachine.isNull()); |