https://bugs.kde.org/show_bug.cgi?id=392620

--- Comment #1 from Stefan Brüns <stefan.bru...@rwth-aachen.de> ---
Git commit 4e69ffeab75f81f9c50aa12bb34aba0a477ee23e by Stefan Brüns.
Committed on 08/04/2018 at 15:40.
Pushed by bruns into branch 'master'.

Add test case for parsing of double opening '(('

Summary:
Parsing of e.g. "a OR ((b AND c) AND d)" currently fails, as for
the opening '((' only one token is created by the lexer.

Test Plan:
```
QDEBUG : AdvancedQueryParserTest::testNestedParentheses(a OR ((b AND c) AND d))
  result term [ OR ( : a (QString)) [ AND ( : b (QString)) ( : c (QString)) ] (
: d (QString)) ]
QDEBUG : AdvancedQueryParserTest::testNestedParentheses(a OR ((b AND c) AND d))
expected term [ OR ( : a (QString)) [ AND ( : b (QString)) ( : c (QString)) ( :
d (QString)) ] ]
XFAIL  : AdvancedQueryParserTest::testNestedParentheses(a OR ((b AND c) AND d))
Opening '((' parsed incorrectly
```

Reviewers: #baloo, michaelh

Reviewed By: michaelh

Subscribers: #frameworks

Tags: #frameworks, #baloo

Differential Revision: https://phabricator.kde.org/D12007

M  +26   -1    autotests/unit/lib/advancedqueryparsertest.cpp

https://commits.kde.org/baloo/4e69ffeab75f81f9c50aa12bb34aba0a477ee23e

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to