summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/test/stubs/stubs-serverinfo.cpp
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2020-11-15 21:23:02 +0100
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2020-11-15 21:24:51 +0100
commit6c2780e70916dea5159aad6b7de815beef769c85 (patch)
tree7e84be9b8957fb1b623ec44515776aa7ae1fe725 /rbutil/rbutilqt/test/stubs/stubs-serverinfo.cpp
parent9bb60b7d854734475727f7566ae8d8dbb9d46fdb (diff)
downloadrockbox-6c2780e709.tar.gz
rockbox-6c2780e709.tar.bz2
rockbox-6c2780e709.zip
rbutil: Rework server info data handling.
Allow constructing release candidate URL from configuration the same way we construct the URL for releases. Note that the server path used does not exist, taken from old release candidate builds not available anymore. Change-Id: I7332f08df05ed39724b4900556aaa1f5e0ba463b
Diffstat (limited to 'rbutil/rbutilqt/test/stubs/stubs-serverinfo.cpp')
-rw-r--r--rbutil/rbutilqt/test/stubs/stubs-serverinfo.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/test/stubs/stubs-serverinfo.cpp b/rbutil/rbutilqt/test/stubs/stubs-serverinfo.cpp
index 7d2016d6bd..38336a7a6f 100644
--- a/rbutil/rbutilqt/test/stubs/stubs-serverinfo.cpp
+++ b/rbutil/rbutilqt/test/stubs/stubs-serverinfo.cpp
@@ -53,6 +53,9 @@ QVariant SystemInfo::value(SystemInfo::SystemInfos info)
case SystemInfo::ReleaseUrl:
return QString("https://unittest/release/%RELVERSION%/rockbox-%MODEL%-%RELVERSION%.zip");
break;
+ case SystemInfo::CandidateUrl:
+ return QString("https://unittest/rc/%RELVERSION%/rockbox-%MODEL%-%RELVERSION%.zip");
+ break;
default:
return QString();
}