summaryrefslogtreecommitdiffstats
path: root/api/logic/updater/UpdateChecker_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'api/logic/updater/UpdateChecker_test.cpp')
-rw-r--r--api/logic/updater/UpdateChecker_test.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/api/logic/updater/UpdateChecker_test.cpp b/api/logic/updater/UpdateChecker_test.cpp
index 59f2a5a1..5702d9c6 100644
--- a/api/logic/updater/UpdateChecker_test.cpp
+++ b/api/logic/updater/UpdateChecker_test.cpp
@@ -21,6 +21,11 @@ QDebug operator<<(QDebug dbg, const UpdateChecker::ChannelListEntry &c)
return dbg.maybeSpace();
}
+QString findTestDataUrl(const char *file)
+{
+ return QUrl::fromLocalFile(QFINDTESTDATA(file)).toString();
+}
+
class UpdateCheckerTest : public QObject
{
Q_OBJECT
@@ -35,10 +40,6 @@ slots:
}
- static QString findTestDataUrl(const char *file)
- {
- return QUrl::fromLocalFile(QFINDTESTDATA(file)).toString();
- }
void tst_ChannelListParsing_data()
{
QTest::addColumn<QString>("channel");