poboiko updated this revision to Diff 59068. poboiko added a comment.
Split test to three separate test functions, which cover different test cases. Renamed folders to something more meaningful; put all the names as static consts in the very beginning, for further reuse inside test functions. Removed useless mimetype detection and use "text/plain" explicitly REPOSITORY R293 Baloo CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D21509?vs=58934&id=59068 BRANCH unindexed-renamed REVISION DETAIL https://phabricator.kde.org/D21509 AFFECTED FILES autotests/unit/file/unindexedfileiteratortest.cpp src/file/unindexedfileindexer.cpp src/file/unindexedfileiterator.cpp src/file/unindexedfileiterator.h To: poboiko, #frameworks, #baloo, bruns Cc: kde-frameworks-devel, domson, ashaposhnikov, michaelh, astippich, spoorun, ngraham, bruns, abrahams