diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2020-11-15 21:06:33 +0100 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2020-11-15 21:06:33 +0100 |
commit | 9bb60b7d854734475727f7566ae8d8dbb9d46fdb (patch) | |
tree | 78cf94dce69ef588be27d278a52d1670fdaad007 /rbutil/rbutilqt/test | |
parent | 104ff3433a9f26009751cbd317d0024742d1310b (diff) | |
download | rockbox-9bb60b7d854734475727f7566ae8d8dbb9d46fdb.tar.gz rockbox-9bb60b7d854734475727f7566ae8d8dbb9d46fdb.zip |
rbutil: Rework server info data handling.
Allow extracting release candidate version even if no URL is present.
Avoids a special case for version handling.
Change-Id: If496d30059c3181899ab9337a35a07b39eaef52e
Diffstat (limited to 'rbutil/rbutilqt/test')
-rw-r--r-- | rbutil/rbutilqt/test/test-serverinfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/test/test-serverinfo.cpp b/rbutil/rbutilqt/test/test-serverinfo.cpp index 46d9637150..3e71a9763a 100644 --- a/rbutil/rbutilqt/test/test-serverinfo.cpp +++ b/rbutil/rbutilqt/test/test-serverinfo.cpp | |||
@@ -82,9 +82,9 @@ const struct testvector testdata[] = | |||
82 | { "iriverh10", ServerInfo::CurStatus, "Stable (Retired)" }, | 82 | { "iriverh10", ServerInfo::CurStatus, "Stable (Retired)" }, |
83 | { "gigabeatfx", ServerInfo::RelCandidateVersion, "f9dce96" }, | 83 | { "gigabeatfx", ServerInfo::RelCandidateVersion, "f9dce96" }, |
84 | { "gigabeatfx", ServerInfo::RelCandidateUrl, "http://dl.rockbox.org/rc/f9dce96/rockbox-gigabeatfx.zip" }, | 84 | { "gigabeatfx", ServerInfo::RelCandidateUrl, "http://dl.rockbox.org/rc/f9dce96/rockbox-gigabeatfx.zip" }, |
85 | { "archosfmrecorder", ServerInfo::RelCandidateVersion, "" }, | 85 | { "archosfmrecorder", ServerInfo::RelCandidateVersion, "f9dce96" }, |
86 | { "archosfmrecorder", ServerInfo::RelCandidateUrl, "" }, | 86 | { "archosfmrecorder", ServerInfo::RelCandidateUrl, "" }, |
87 | { "archosrecorder", ServerInfo::RelCandidateVersion, "" }, | 87 | { "archosrecorder", ServerInfo::RelCandidateVersion, "f9dce96" }, |
88 | { "archosrecorder", ServerInfo::RelCandidateUrl, "" }, | 88 | { "archosrecorder", ServerInfo::RelCandidateUrl, "" }, |
89 | { "iaudiox5", ServerInfo::RelCandidateVersion, "f9dce96" }, | 89 | { "iaudiox5", ServerInfo::RelCandidateVersion, "f9dce96" }, |
90 | { "iaudiox5", ServerInfo::RelCandidateUrl, "http://dl.rockbox.org/rc/f9dce96/rockbox-iaudiox5.zip" }, | 90 | { "iaudiox5", ServerInfo::RelCandidateUrl, "http://dl.rockbox.org/rc/f9dce96/rockbox-iaudiox5.zip" }, |