diff options
| author | Ismael Asensio <[email protected]> | 2022-02-24 00:49:10 +0100 |
|---|---|---|
| committer | Ismael Asensio <[email protected]> | 2022-02-25 19:23:18 +0000 |
| commit | c623522ecb82c546fc1dd27b77da7a064e5913f9 (patch) | |
| tree | 283e5b4980dee0dbb9b796b8332e4d92e11165e2 /src/tests | |
| parent | ddba4f5fd88c4fa855e3f2eb0d9d95a6290d150a (diff) | |
[DolphinQueryTest] Fix class name duplication
Diffstat (limited to 'src/tests')
| -rw-r--r-- | src/tests/dolphinquerytest.cpp | 10 |
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" |
