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

Stefan BrĂ¼ns noreply at phabricator.kde.org
Sat Apr 7 02:52:18 UTC 2018


bruns created this revision.
bruns added reviewers: Baloo, michaelh.
Restricted Application added projects: Frameworks, Baloo.
Restricted Application added a subscriber: Frameworks.
bruns requested review of this revision.

REVISION 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

REPOSITORY
  R293 Baloo

BRANCH
  b#392620_unittest

REVISION DETAIL
  https://phabricator.kde.org/D12007

AFFECTED FILES
  autotests/unit/lib/advancedqueryparsertest.cpp

To: bruns, #baloo, michaelh
Cc: #frameworks, ashaposhnikov, michaelh, astippich, spoorun, ngraham, bruns, alexeymin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180407/fd593f81/attachment.html>


More information about the Kde-frameworks-devel mailing list