X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/462982faa361c79daab43ce526ae64646b1ea63c..ffb80cb00d8fd886051f970b5155a55b1d066fcd:/src/tests/dolphinquerytest.cpp diff --git a/src/tests/dolphinquerytest.cpp b/src/tests/dolphinquerytest.cpp index 464404058..d0a590233 100644 --- a/src/tests/dolphinquerytest.cpp +++ b/src/tests/dolphinquerytest.cpp @@ -11,6 +11,7 @@ #include #include #include +#include #include #include @@ -18,7 +19,8 @@ class DolphinSearchBoxTest : public QObject { Q_OBJECT -private slots: +private Q_SLOTS: + void initTestCase(); void testBalooSearchParsing_data(); void testBalooSearchParsing(); }; @@ -45,6 +47,11 @@ QUrl balooQueryUrl(const QString& searchString) return searchUrl; } +void DolphinSearchBoxTest::initTestCase() +{ + QStandardPaths::setTestModeEnabled(true); +} + /** * Defines the parameters for the test cases in testBalooSearchParsing() */