X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/f65b0899c3666561cafac14f67ab0bb8a5bfa00a..d04cc677861ee446c001e80cb13c1eb8a5e0ebe6:/src/tests/draganddrophelpertest.cpp diff --git a/src/tests/draganddrophelpertest.cpp b/src/tests/draganddrophelpertest.cpp index 9379347f0..a82e75c7b 100644 --- a/src/tests/draganddrophelpertest.cpp +++ b/src/tests/draganddrophelpertest.cpp @@ -4,6 +4,7 @@ * SPDX-License-Identifier: GPL-2.0-or-later */ +#include #include #include @@ -12,10 +13,16 @@ class DragAndDropHelperTest : public QObject Q_OBJECT private Q_SLOTS: + void initTestCase(); void testUrlListMatchesUrl_data(); void testUrlListMatchesUrl(); }; +void DragAndDropHelperTest::initTestCase() +{ + QStandardPaths::setTestModeEnabled(true); +} + void DragAndDropHelperTest::testUrlListMatchesUrl_data() { QTest::addColumn>("urlList");