* SPDX-License-Identifier: GPL-2.0-or-later
*/
+#include <QStandardPaths>
#include <QTest>
#include <views/draganddrophelper.h>
{
Q_OBJECT
-private slots:
+private Q_SLOTS:
+ void initTestCase();
void testUrlListMatchesUrl_data();
void testUrlListMatchesUrl();
};
+void DragAndDropHelperTest::initTestCase()
+{
+ QStandardPaths::setTestModeEnabled(true);
+}
+
void DragAndDropHelperTest::testUrlListMatchesUrl_data()
{
QTest::addColumn<QList<QUrl>>("urlList");