[dolphin] Add test case baloo search parsing
AbandonedPublic

Authored by iasensio on Nov 3 2019, 11:21 PM.

Details

Reviewers
elvisangelaccio
bruns
Group Reviewers
Dolphin
Summary

Add different test cases to dolphinsearchboxtext to check the parsing of baloo search Urls, in the form baloosearch:?searchString=".."
It checks that the search textinput does not get filled with the search terms, and that the search string remains the same after being processed by the search box.

Test time is about 1,2 seconds on my laptop (out of 20sec of the total ctest bench).
If baloo is disabled it just skips the test, as no baloosearch Url will be generated.

I'd really like for this to be well tested, since breaking the test benches seems like a big deal :)

DEPENDS-ON: D24422

Test Plan
  • on dolphin build dir: bin/test/dolphinsearchboxtest

It fails 16/20 cases on current master

Diff Detail

Repository
R318 Dolphin
Branch
search_test
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 18477
Build 18495: arc lint + arc unit