From 6c2780e70916dea5159aad6b7de815beef769c85 Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Sun, 15 Nov 2020 21:23:02 +0100 Subject: 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 --- rbutil/rbutilqt/test/test-serverinfo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rbutil/rbutilqt/test/test-serverinfo.cpp') diff --git a/rbutil/rbutilqt/test/test-serverinfo.cpp b/rbutil/rbutilqt/test/test-serverinfo.cpp index 3e71a9763a..9aa8306e50 100644 --- a/rbutil/rbutilqt/test/test-serverinfo.cpp +++ b/rbutil/rbutilqt/test/test-serverinfo.cpp @@ -83,9 +83,9 @@ const struct testvector testdata[] = { "gigabeatfx", ServerInfo::RelCandidateVersion, "f9dce96" }, { "gigabeatfx", ServerInfo::RelCandidateUrl, "http://dl.rockbox.org/rc/f9dce96/rockbox-gigabeatfx.zip" }, { "archosfmrecorder", ServerInfo::RelCandidateVersion, "f9dce96" }, - { "archosfmrecorder", ServerInfo::RelCandidateUrl, "" }, + { "archosfmrecorder", ServerInfo::RelCandidateUrl, "https://unittest/rc/f9dce96/rockbox-archosfmrecorder-f9dce96.zip" }, { "archosrecorder", ServerInfo::RelCandidateVersion, "f9dce96" }, - { "archosrecorder", ServerInfo::RelCandidateUrl, "" }, + { "archosrecorder", ServerInfo::RelCandidateUrl, "https://unittest/rc/f9dce96/rockbox-archosrecorder-f9dce96.zip" }, { "iaudiox5", ServerInfo::RelCandidateVersion, "f9dce96" }, { "iaudiox5", ServerInfo::RelCandidateUrl, "http://dl.rockbox.org/rc/f9dce96/rockbox-iaudiox5.zip" }, { "iaudiox5.v", ServerInfo::RelCandidateVersion, "f9dce96" }, -- cgit v1.2.3