┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorIsmael Asensio <[email protected]>2022-02-24 00:49:10 +0100
committerIsmael Asensio <[email protected]>2022-02-25 19:23:18 +0000
commitc623522ecb82c546fc1dd27b77da7a064e5913f9 (patch)
tree283e5b4980dee0dbb9b796b8332e4d92e11165e2 /src/tests
parentddba4f5fd88c4fa855e3f2eb0d9d95a6290d150a (diff)
[DolphinQueryTest] Fix class name duplication
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/dolphinquerytest.cpp10
1 files 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 <QUrl>
#include <QUrlQuery>
-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<QUrl>("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"