Commit c623522e authored by Ismael Asensio's avatar Ismael Asensio
Browse files

[DolphinQueryTest] Fix class name duplication

parent ddba4f5f
Pipeline #142207 passed with stage
in 1 minute and 49 seconds
......@@ -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"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment