summaryrefslogtreecommitdiff
path: root/tests/auto/qxmlquery/tst_qxmlquery.cpp
diff options
context:
space:
mode:
authorDavid E. Narvaez <david.narvaez@computer.org>2015-06-21 22:24:39 -0400
committerErik Verbruggen <erik.verbruggen@theqtcompany.com>2015-07-29 07:51:22 +0000
commitd17eba9d34f412e592c3b049c6c14fd9ccada87b (patch)
tree32f16a5ae2272b7d5dfa6c25b53b8aa06cf98330 /tests/auto/qxmlquery/tst_qxmlquery.cpp
parent69c539045191d02a07ff3471bd37486ccf226b18 (diff)
downloadqtxmlpatterns-d17eba9d34f412e592c3b049c6c14fd9ccada87b.tar.gz
Iterate Over the Items (Not the Operands) of a Literal Sequence
The current code iterates over the (empty) list of operands of a Literal Sequence, ignoring any items in it, so Literal Sequences are always ignored in the ExpressionSequence. Task-number: QTBUG-35897 Change-Id: I60341ac21c8e3b77bf6d8dfeebdbafe010844406 Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
Diffstat (limited to 'tests/auto/qxmlquery/tst_qxmlquery.cpp')
-rw-r--r--tests/auto/qxmlquery/tst_qxmlquery.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qxmlquery/tst_qxmlquery.cpp b/tests/auto/qxmlquery/tst_qxmlquery.cpp
index 3350911..cc2cb13 100644
--- a/tests/auto/qxmlquery/tst_qxmlquery.cpp
+++ b/tests/auto/qxmlquery/tst_qxmlquery.cpp
@@ -231,7 +231,7 @@ private:
/**
* One excluded, since we skip static-base-uri.xq.
*/
- ExpectedQueryCount = 29
+ ExpectedQueryCount = 30
};
static void checkBaseURI(const QUrl &baseURI, const QString &candidate);