From c623522ecb82c546fc1dd27b77da7a064e5913f9 Mon Sep 17 00:00:00 2001 From: Ismael Asensio Date: Thu, 24 Feb 2022 00:49:10 +0100 Subject: [PATCH] [DolphinQueryTest] Fix class name duplication --- src/tests/dolphinquerytest.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/tests/dolphinquerytest.cpp b/src/tests/dolphinquerytest.cpp index d0a590233..2b025eed7 100644 --- a/src/tests/dolphinquerytest.cpp +++ b/src/tests/dolphinquerytest.cpp @@ -15,7 +15,7 @@ #include #include -class DolphinSearchBoxTest : public QObject +class DolphinQueryTest : public QObject { Q_OBJECT @@ -47,7 +47,7 @@ QUrl balooQueryUrl(const QString& searchString) return searchUrl; } -void DolphinSearchBoxTest::initTestCase() +void DolphinQueryTest::initTestCase() { QStandardPaths::setTestModeEnabled(true); } @@ -55,7 +55,7 @@ void DolphinSearchBoxTest::initTestCase() /** * Defines the parameters for the test cases in testBalooSearchParsing() */ -void DolphinSearchBoxTest::testBalooSearchParsing_data() +void DolphinQueryTest::testBalooSearchParsing_data() { QTest::addColumn("searchUrl"); @@ -160,7 +160,7 @@ void DolphinSearchBoxTest::testBalooSearchParsing_data() * properly handled by the searchbox, and only "user" or filename terms are added to the * text bar of the searchbox. */ -void DolphinSearchBoxTest::testBalooSearchParsing() +void DolphinQueryTest::testBalooSearchParsing() { QFETCH(QUrl, searchUrl); QFETCH(QString, expectedText); @@ -190,6 +190,6 @@ void DolphinSearchBoxTest::testBalooSearchParsing() QCOMPARE(query.hasFileName(), hasFileName); } -QTEST_MAIN(DolphinSearchBoxTest) +QTEST_MAIN(DolphinQueryTest) #include "dolphinquerytest.moc" -- 2.47.3