diff options
Diffstat (limited to 'rbutil/rbutilqt/test/test-serverinfo.cpp')
-rw-r--r-- | rbutil/rbutilqt/test/test-serverinfo.cpp | 39 |
1 files changed, 30 insertions, 9 deletions
diff --git a/rbutil/rbutilqt/test/test-serverinfo.cpp b/rbutil/rbutilqt/test/test-serverinfo.cpp index af04c1ff3b..925973f466 100644 --- a/rbutil/rbutilqt/test/test-serverinfo.cpp +++ b/rbutil/rbutilqt/test/test-serverinfo.cpp | |||
@@ -32,15 +32,27 @@ class TestServerInfo : public QObject | |||
32 | const char* testinfo = | 32 | const char* testinfo = |
33 | "[release]\n" | 33 | "[release]\n" |
34 | "archosfmrecorder=3.11.2\n" | 34 | "archosfmrecorder=3.11.2\n" |
35 | "iaudiom3=3.11.2,http://download.rockbox.org/release/3.11.2/rockbox-iaudiom5-3.11.2.zip\n" | 35 | "iaudiom3=3.11.2,http://dl.rockbox.org/release/3.11.2/rockbox-iaudiom5-3.11.2.zip\n" |
36 | "sansae200 = 3.11.2\n" | 36 | "sansae200 = 3.11.2\n" |
37 | "iriverh100 = 3.11.2, http://download.rockbox.org/release/3.11.2/rockbox-iriverh100-3.11.2.zip\n" | 37 | "iriverh100 = 3.11.2, http://dl.rockbox.org/release/3.11.2/rockbox-iriverh100-3.11.2.zip\n" |
38 | "iriverh300 = \n" | 38 | "iriverh300 = \n" |
39 | "[release-candidate]\n" | 39 | "[release-candidate]\n" |
40 | "gigabeatfx=f9dce96,http://download.rockbox.org/release-candidate/f9dce96/rockbox-gigabeatfx.zip\n" | 40 | "gigabeatfx=f9dce96,http://dl.rockbox.org/rc/f9dce96/rockbox-gigabeatfx.zip\n" |
41 | "archosfmrecorder=f9dce96\n" | 41 | "archosfmrecorder=f9dce96\n" |
42 | "archosrecorder = f9dce96\n" | 42 | "archosrecorder = f9dce96\n" |
43 | "iaudiox5=f9dce96,http://download.rockbox.org/release-candidate/f9dce96/rockbox-iaudiox5.zip\n"; | 43 | "iaudiox5=f9dce96,http://dl.rockbox.org/rc/f9dce96/rockbox-iaudiox5.zip\n" |
44 | "[dailies]\n" | ||
45 | "timestamp = 20201113\n" | ||
46 | "rev = 362f7a3\n" | ||
47 | "[bleeding]\n" | ||
48 | "timestamp = 20201114T105723Z\n" | ||
49 | "rev = be1be79\n" | ||
50 | "[status]\n" | ||
51 | "archosfmrecorder=3\n" | ||
52 | "iriverh100=2\n" | ||
53 | "iriverh300=1\n" | ||
54 | "iriverh10=0\n" | ||
55 | ; | ||
44 | 56 | ||
45 | 57 | ||
46 | struct testvector { | 58 | struct testvector { |
@@ -53,27 +65,36 @@ struct testvector { | |||
53 | const struct testvector testdata[] = | 65 | const struct testvector testdata[] = |
54 | { | 66 | { |
55 | { "archosfmrecorder", ServerInfo::CurReleaseVersion, "3.11.2" }, | 67 | { "archosfmrecorder", ServerInfo::CurReleaseVersion, "3.11.2" }, |
68 | { "archosfmrecorder", ServerInfo::CurStatus, "Stable" }, | ||
56 | { "iaudiom3", ServerInfo::CurReleaseVersion, "3.11.2" }, | 69 | { "iaudiom3", ServerInfo::CurReleaseVersion, "3.11.2" }, |
57 | { "iaudiom3", ServerInfo::CurReleaseUrl, "http://download.rockbox.org/release/3.11.2/rockbox-iaudiom5-3.11.2.zip" }, | 70 | { "iaudiom3", ServerInfo::CurReleaseUrl, "http://dl.rockbox.org/release/3.11.2/rockbox-iaudiom5-3.11.2.zip" }, |
58 | { "sansae200", ServerInfo::CurReleaseVersion, "3.11.2" }, | 71 | { "sansae200", ServerInfo::CurReleaseVersion, "3.11.2" }, |
59 | { "sansae200", ServerInfo::CurReleaseUrl, "http://download.rockbox.org/release/3.11.2/rockbox-sansae200-3.11.2.zip" }, | 72 | { "sansae200", ServerInfo::CurReleaseUrl, "http://download.rockbox.org/release/3.11.2/rockbox-sansae200-3.11.2.zip" }, |
60 | { "iriverh100", ServerInfo::CurReleaseVersion, "3.11.2" }, | 73 | { "iriverh100", ServerInfo::CurReleaseVersion, "3.11.2" }, |
61 | { "iriverh100", ServerInfo::CurReleaseUrl, "http://download.rockbox.org/release/3.11.2/rockbox-iriverh100-3.11.2.zip" }, | 74 | { "iriverh100", ServerInfo::CurReleaseUrl, "http://dl.rockbox.org/release/3.11.2/rockbox-iriverh100-3.11.2.zip" }, |
75 | { "iriverh100", ServerInfo::CurStatus, "Unstable" }, | ||
76 | { "iriverh100", ServerInfo::CurDevelUrl, "http://build.rockbox.org/data/rockbox-iriverh100.zip" }, | ||
62 | { "iriverh300", ServerInfo::CurReleaseVersion, "" }, | 77 | { "iriverh300", ServerInfo::CurReleaseVersion, "" }, |
63 | { "iriverh300", ServerInfo::CurReleaseUrl, "" }, | 78 | { "iriverh300", ServerInfo::CurReleaseUrl, "" }, |
79 | { "iriverh300", ServerInfo::CurStatus, "Unusable" }, | ||
64 | { "iriverh10", ServerInfo::CurReleaseVersion, "" }, | 80 | { "iriverh10", ServerInfo::CurReleaseVersion, "" }, |
65 | { "iriverh10", ServerInfo::CurReleaseUrl, "" }, | 81 | { "iriverh10", ServerInfo::CurReleaseUrl, "" }, |
82 | { "iriverh10", ServerInfo::CurStatus, "Stable (Retired)" }, | ||
66 | { "gigabeatfx", ServerInfo::RelCandidateVersion, "f9dce96" }, | 83 | { "gigabeatfx", ServerInfo::RelCandidateVersion, "f9dce96" }, |
67 | { "gigabeatfx", ServerInfo::RelCandidateUrl, "http://download.rockbox.org/release-candidate/f9dce96/rockbox-gigabeatfx.zip" }, | 84 | { "gigabeatfx", ServerInfo::RelCandidateUrl, "http://dl.rockbox.org/rc/f9dce96/rockbox-gigabeatfx.zip" }, |
68 | { "archosfmrecorder", ServerInfo::RelCandidateVersion, "" }, | 85 | { "archosfmrecorder", ServerInfo::RelCandidateVersion, "" }, |
69 | { "archosfmrecorder", ServerInfo::RelCandidateUrl, "" }, | 86 | { "archosfmrecorder", ServerInfo::RelCandidateUrl, "" }, |
70 | { "archosrecorder", ServerInfo::RelCandidateVersion, "" }, | 87 | { "archosrecorder", ServerInfo::RelCandidateVersion, "" }, |
71 | { "archosrecorder", ServerInfo::RelCandidateUrl, "" }, | 88 | { "archosrecorder", ServerInfo::RelCandidateUrl, "" }, |
72 | { "iaudiox5", ServerInfo::RelCandidateVersion, "f9dce96" }, | 89 | { "iaudiox5", ServerInfo::RelCandidateVersion, "f9dce96" }, |
73 | { "iaudiox5", ServerInfo::RelCandidateUrl, "http://download.rockbox.org/release-candidate/f9dce96/rockbox-iaudiox5.zip" }, | 90 | { "iaudiox5", ServerInfo::RelCandidateUrl, "http://dl.rockbox.org/rc/f9dce96/rockbox-iaudiox5.zip" }, |
74 | { "iaudiox5.v", ServerInfo::RelCandidateVersion, "f9dce96" }, | 91 | { "iaudiox5.v", ServerInfo::RelCandidateVersion, "f9dce96" }, |
75 | { "iaudiox5.v", ServerInfo::RelCandidateUrl, "http://download.rockbox.org/release-candidate/f9dce96/rockbox-iaudiox5.zip" }, | 92 | { "iaudiox5.v", ServerInfo::RelCandidateUrl, "http://dl.rockbox.org/rc/f9dce96/rockbox-iaudiox5.zip" }, |
93 | { "iaudiox5.v", ServerInfo::BleedingRevision, "be1be79" }, | ||
94 | { "iaudiox5.v", ServerInfo::BleedingDate, "2020-11-14T10:57:23" }, | ||
95 | { "iaudiox5.v", ServerInfo::CurDevelUrl, "http://build.rockbox.org/data/rockbox-iaudiox5.zip" }, | ||
76 | { "iaudiox5.v", ServerInfo::ManualPdfUrl, "http://download.rockbox.org/manual/rockbox-iaudiox5.pdf" }, | 96 | { "iaudiox5.v", ServerInfo::ManualPdfUrl, "http://download.rockbox.org/manual/rockbox-iaudiox5.pdf" }, |
97 | { "ipodmini2g", ServerInfo::ManualPdfUrl, "http://download.rockbox.org/manual/rockbox-ipodmini1g.pdf" }, | ||
77 | { "iriverh100", ServerInfo::ManualHtmlUrl, "http://download.rockbox.org/manual/rockbox-iriverh100/rockbox-build.html" }, | 98 | { "iriverh100", ServerInfo::ManualHtmlUrl, "http://download.rockbox.org/manual/rockbox-iriverh100/rockbox-build.html" }, |
78 | { "iriverh120", ServerInfo::ManualZipUrl, "http://download.rockbox.org/manual/rockbox-iriverh100-html.zip" }, | 99 | { "iriverh120", ServerInfo::ManualZipUrl, "http://download.rockbox.org/manual/rockbox-iriverh100-html.zip" }, |
79 | }; | 100 | }; |