From 0ba9e8bbc04225c6679ba5a30d359d55b3af7ed0 Mon Sep 17 00:00:00 2001 From: Ismael Asensio Date: Thu, 14 Nov 2019 22:48:26 +0100 Subject: test(search): Add test case for baloo parsing model Summary: Adds a new test unit for the model which parses baloo search URLs 14/19 tests are set to `XFAIL` on current implementation, as they will be fixed in a final revision. Supersedes D25135. Depends on: D25257 Test Plan: `bin/dolphinquerytest` Reviewers: elvisangelaccio, bruns, #dolphin Reviewed By: elvisangelaccio, bruns, #dolphin Subscribers: kfm-devel Tags: #dolphin Differential Revision: https://phabricator.kde.org/D25258 --- src/tests/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/tests/CMakeLists.txt') diff --git a/src/tests/CMakeLists.txt b/src/tests/CMakeLists.txt index 6ecac1f1e..8d4498675 100644 --- a/src/tests/CMakeLists.txt +++ b/src/tests/CMakeLists.txt @@ -49,6 +49,13 @@ if (KF5Baloo_FOUND) LINK_LIBRARIES dolphinprivate dolphinstatic Qt5::Test) endif() +# DolphinQuery +if (KF5Baloo_FOUND) + ecm_add_test(dolphinquerytest.cpp + TEST_NAME dolphinquerytest + LINK_LIBRARIES dolphinprivate dolphinstatic Qt5::Test) +endif() + # KStandardItemModelTest ecm_add_test(kstandarditemmodeltest.cpp TEST_NAME kstandarditemmodeltest -- cgit v1.3