diff options
author | Erik Verbruggen <erik.verbruggen@theqtcompany.com> | 2016-06-06 13:00:55 +0200 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@qt.io> | 2016-06-07 08:30:09 +0000 |
commit | 2906a351df804c0e8d5e4377b9ecd48d293ddf41 (patch) | |
tree | abbe6cedae8f3fda34877db3b9eb09158f71eb97 /tests | |
parent | 15a1836beaeb11a8244c0700bea37ecca0c28e5a (diff) |
Change verification to run if no parse errors are found.
Recovery from parse errors in XML is often done by ignoring the
erroneous tag and its contents. This means that whole sub-trees are not
"loaded", which obviously leeds to verification errors. However, because
there was 1 parse error causing them, there is no need to give even more
error messages that all stem from the same problem.
Change-Id: I359e26f6d71b08590232b342b79e6a95d689bdd1
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tests')
8 files changed, 0 insertions, 12 deletions
diff --git a/tests/auto/parser/data/badInitial.scxml.errors b/tests/auto/parser/data/badInitial.scxml.errors index cd3b53c..fa2eba9 100644 --- a/tests/auto/parser/data/badInitial.scxml.errors +++ b/tests/auto/parser/data/badInitial.scxml.errors @@ -1,3 +1,2 @@ :/tst_parser/data/badInitial.scxml:8:13: error: Unexpected element initial :/tst_parser/data/badInitial.scxml:12:8: error: Error parsing SCXML file: Opening and ending tag mismatch. -:/tst_parser/data/badInitial.scxml:6:1: error: initial state 'stopped' not found for <scxml> element diff --git a/tests/auto/parser/data/invalidRoot2.scxml.errors b/tests/auto/parser/data/invalidRoot2.scxml.errors index 09e0d81..10aeada 100644 --- a/tests/auto/parser/data/invalidRoot2.scxml.errors +++ b/tests/auto/parser/data/invalidRoot2.scxml.errors @@ -1,3 +1,2 @@ :/tst_parser/data/invalidRoot2.scxml:9:53: error: Unknown element scxmn :/tst_parser/data/invalidRoot2.scxml:10:38: error: Error parsing SCXML file: Expected '>' or '/', but got '[a-zA-Z]'. -:/tst_parser/data/invalidRoot2.scxml:7:51: error: no valid content found in <invoke> tag diff --git a/tests/auto/parser/data/invalidRoot6.scxml.errors b/tests/auto/parser/data/invalidRoot6.scxml.errors index 669b03c..3e6d92d 100644 --- a/tests/auto/parser/data/invalidRoot6.scxml.errors +++ b/tests/auto/parser/data/invalidRoot6.scxml.errors @@ -1,4 +1,3 @@ :/tst_parser/data/invalidRoot6.scxml:10:37: error: Unexpected element state :/tst_parser/data/invalidRoot6.scxml:12:38: error: Unexpected element state :/tst_parser/data/invalidRoot6.scxml:14:24: error: Error parsing SCXML file: Opening and ending tag mismatch. -:/tst_parser/data/invalidRoot6.scxml:7:51: error: no valid content found in <invoke> tag diff --git a/tests/auto/parser/data/noContentInInvoke2.scxml.errors b/tests/auto/parser/data/noContentInInvoke2.scxml.errors index f2fa468..8fb90e5 100644 --- a/tests/auto/parser/data/noContentInInvoke2.scxml.errors +++ b/tests/auto/parser/data/noContentInInvoke2.scxml.errors @@ -1,3 +1 @@ :/tst_parser/data/noContentInInvoke2.scxml:9:27: error: Error parsing SCXML file: Expected '=', but got '[a-zA-Z]'. -:/tst_parser/data/noContentInInvoke2.scxml:6:1: error: initial state 'anyplace' not found for <scxml> element -:/tst_parser/data/noContentInInvoke2.scxml:7:25: error: 'anyp\ace' is not a valid XML ID diff --git a/tests/auto/parser/data/noContentInInvoke3.scxml.errors b/tests/auto/parser/data/noContentInInvoke3.scxml.errors index d2e762b..e35ed7a 100644 --- a/tests/auto/parser/data/noContentInInvoke3.scxml.errors +++ b/tests/auto/parser/data/noContentInInvoke3.scxml.errors @@ -1,2 +1 @@ :/tst_parser/data/noContentInInvoke3.scxml:10:25: error: Error parsing SCXML file: Expected '=', but got '[a-zA-Z]'. -:/tst_parser/data/noContentInInvoke3.scxml:6:1: error: initial state 'anyplace' not found for <scxml> element diff --git a/tests/auto/parser/data/noContentInInvoke4.scxml.errors b/tests/auto/parser/data/noContentInInvoke4.scxml.errors index 8ec3192..cac148d 100644 --- a/tests/auto/parser/data/noContentInInvoke4.scxml.errors +++ b/tests/auto/parser/data/noContentInInvoke4.scxml.errors @@ -1,4 +1 @@ :/tst_parser/data/noContentInInvoke4.scxml:12:6: error: Error parsing SCXML file: Unexpected ''. -:/tst_parser/data/noContentInInvoke4.scxml:6:1: error: initial state 'anyplacE' not found for <scxml> element -:/tst_parser/data/noContentInInvoke4.scxml:8:60: error: unknown state 'somewhere' in target -:/tst_parser/data/noContentInInvoke4.scxml:10:37: error: 's* LIMITomewhere' is not a valid XML ID diff --git a/tests/auto/parser/data/prematureEndOfDocument2.scxml.errors b/tests/auto/parser/data/prematureEndOfDocument2.scxml.errors index 619f08f..e6532cc 100644 --- a/tests/auto/parser/data/prematureEndOfDocument2.scxml.errors +++ b/tests/auto/parser/data/prematureEndOfDocument2.scxml.errors @@ -1,2 +1 @@ :/tst_parser/data/prematureEndOfDocument2.scxml:10:0: error: Error parsing SCXML file: Premature end of document. -:/tst_parser/data/prematureEndOfDocument2.scxml:8:55: error: no valid content found in <invoke> tag diff --git a/tests/auto/parser/data/syntaxErrors3.scxml.errors b/tests/auto/parser/data/syntaxErrors3.scxml.errors index 7ee5711..23479f9 100644 --- a/tests/auto/parser/data/syntaxErrors3.scxml.errors +++ b/tests/auto/parser/data/syntaxErrors3.scxml.errors @@ -1,4 +1,2 @@ :/tst_parser/data/syntaxErrors3.scxml:16:64: error: Unknown element assige :/tst_parser/data/syntaxErrors3.scxml:18:12: error: Error parsing SCXML file: Opening and ending tag mismatch. -:/tst_parser/data/syntaxErrors3.scxml:8:29: error: 'o]erand1' is not a valid XML ID -:/tst_parser/data/syntaxErrors3.scxml:11:55: error: unknown state 'result' in target |