toolkit/mozapps/extensions/test/xpcshell/data/test_AddonRepository_cache.xml

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:b850f6446978
1 <?xml version="1.0" encoding="utf-8" ?>
2 <searchresults total_results="1111">
3 <addon>
4 <name>Repo Add-on 1</name>
5 <type id="1">Extension</type>
6 <guid>test_AddonRepository_1@tests.mozilla.org</guid>
7 <version>2.1</version>
8 <authors>
9 <author>
10 <name>Repo Add-on 1 - Creator</name>
11 <link>http://localhost:4444/repo/1/creator.html</link>
12 </author>
13 <author>
14 <name>Repo Add-on 1 - First Developer</name>
15 <link>http://localhost:4444/repo/1/firstDeveloper.html</link>
16 </author>
17 <author>
18 <name>Repo Add-on 1 - Second Developer</name>
19 <link>http://localhost:4444/repo/1/secondDeveloper.html</link>
20 </author>
21 </authors>
22 <summary>Repo Add-on 1 - Description&lt;br&gt;Second line</summary>
23 <description>&lt;p&gt;Repo Add-on 1 - Full Description &amp;amp; some extra&lt;/p&gt;</description>
24 <eula>Repo Add-on 1 - EULA</eula>
25 <developer_comments>Repo Add-on 1
26 Developer Comments</developer_comments>
27 <icon size="32">http://localhost/repo/1/icon.png</icon>
28 <status id="4">Public</status>
29 <rating>1</rating>
30 <learnmore>http://localhost/repo/1/learnmore.html</learnmore>
31 <homepage>http://localhost/repo/1/homepage.html</homepage>
32 <support>http://localhost/repo/1/support.html</support>
33 <contribution_data>
34 <link>http://localhost/repo/1/contribution.html</link>
35 <suggested_amount currency="USD">$11.11</suggested_amount>
36 <meet_developers>http://localhost/repo/1/meetDevelopers.html</meet_developers>
37 </contribution_data>
38 <reviews num="1111">http://localhost/repo/1/review.html</reviews>
39 <total_downloads>2221</total_downloads>
40 <weekly_downloads>3331</weekly_downloads>
41 <daily_users>4441</daily_users>
42 <last_updated epoch="9">1970-01-01T00:00:09Z</last_updated>
43 <install size="9">http://localhost:4444/repo/1/install.xpi</install>
44 </addon>
45
46 <addon>
47 <name>Repo Add-on 2</name>
48 <type id="2">Theme</type>
49 <guid>test_AddonRepository_2@tests.mozilla.org</guid>
50 <version>2.2</version>
51 <authors>
52 <author>
53 <name>Repo Add-on 2 - Creator</name>
54 <link>http://localhost:4444/repo/2/creator.html</link>
55 </author>
56 <author>
57 <name>Repo Add-on 2 - First Developer</name>
58 <link>http://localhost:4444/repo/2/firstDeveloper.html</link>
59 </author>
60 <author>
61 <name>Repo Add-on 2 - Second Developer</name>
62 <link>http://localhost:4444/repo/2/secondDeveloper.html</link>
63 </author>
64 </authors>
65 <summary>Repo Add-on 2 - Description</summary>
66 <description>Repo Add-on 2 - Full Description</description>
67 <eula>Repo Add-on 2 - EULA</eula>
68 <developer_comments>Repo Add-on 2 - Developer Comments</developer_comments>
69 <icon size="32">http://localhost/repo/2/icon.png</icon>
70 <status id="9">Unknown</status>
71 <previews>
72 <preview primary="1">
73 <full type="image/png">http://localhost:4444/repo/2/firstFull.png</full>
74 <thumbnail type="image/png">http://localhost:4444/repo/2/firstThumbnail.png</thumbnail>
75 <caption>Repo Add-on 2 - First Caption</caption>
76 </preview>
77 <preview primary="0">
78 <full type="image/png">http://localhost:4444/repo/2/secondFull.png</full>
79 <thumbnail type="image/png">http://localhost:4444/repo/2/secondThumbnail.png</thumbnail>
80 <caption>Repo Add-on 2 - Second Caption</caption>
81 </preview>
82 </previews>
83 <rating>2</rating>
84 <learnmore>http://localhost/repo/2/learnmore.html</learnmore>
85 <homepage>http://localhost/repo/2/homepage.html</homepage>
86 <support>http://localhost/repo/2/support.html</support>
87 <contribution_data>
88 <link>http://localhost/repo/2/contribution.html</link>
89 <meet_developers>http://localhost/repo/2/meetDevelopers.html</meet_developers>
90 </contribution_data>
91 <reviews num="1112">http://localhost/repo/2/review.html</reviews>
92 <total_downloads>2222</total_downloads>
93 <weekly_downloads>3332</weekly_downloads>
94 <daily_users>4442</daily_users>
95 <last_updated epoch="9">1970-01-01T00:00:09Z</last_updated>
96 <install size="9">http://localhost:4444/repo/2/install.xpi</install>
97 </addon>
98
99 <addon>
100 <name>Repo Add-on 3</name>
101 <type id="9999">Unknown</type>
102 <guid>test_AddonRepository_3@tests.mozilla.org</guid>
103 <version>2.3</version>
104 <icon size="32">http://localhost/repo/3/icon.png</icon>
105 <previews>
106 <preview primary="1">
107 <full type="image/png">http://localhost:4444/repo/3/firstFull.png</full>
108 <thumbnail type="image/png">http://localhost:4444/repo/3/firstThumbnail.png</thumbnail>
109 <caption>Repo Add-on 3 - First Caption</caption>
110 </preview>
111 <preview primary="0">
112 <full type="image/png">http://localhost:4444/repo/3/secondFull.png</full>
113 <thumbnail type="image/png">http://localhost:4444/repo/3/secondThumbnail.png</thumbnail>
114 <caption>Repo Add-on 3 - Second Caption</caption>
115 </preview>
116 </previews>
117 </addon>
118
119 <addon_compatibility hosted="true" id="123">
120 <guid>test_AddonRepository_1@tests.mozilla.org</guid>
121 <name>PASS</name>
122 <version_ranges>
123 <!-- Will be included -->
124 <version_range type="incompatible">
125 <min_version>0.1</min_version>
126 <max_version>0.2</max_version>
127 <compatible_applications>
128 <application>
129 <name>XPCShell</name>
130 <application_id>666</application_id>
131 <min_version>3.0</min_version>
132 <max_version>4.0</max_version>
133 <appID>xpcshell@tests.mozilla.org</appID>
134 </application>
135 </compatible_applications>
136 </version_range>
137 <!-- Will be included -->
138 <version_range type="incompatible">
139 <min_version>0.2</min_version>
140 <max_version>0.3</max_version>
141 <compatible_applications>
142 <application>
143 <name>XPCShell</name>
144 <application_id>666</application_id>
145 <min_version>5.0</min_version>
146 <max_version>6.0</max_version>
147 <appID>xpcshell@tests.mozilla.org</appID>
148 </application>
149 </compatible_applications>
150 </version_range>
151 <!-- Won't be included - invalid type attribute -->
152 <version_range type="unknown">
153 <min_version>9</min_version>
154 <max_version>10</max_version>
155 <compatible_applications>
156 <application>
157 <name>XPCShell</name>
158 <application_id>666</application_id>
159 <min_version>10.0</min_version>
160 <max_version>11.0</max_version>
161 <appID>xpcshell@tests.mozilla.org</appID>
162 </application>
163 </compatible_applications>
164 </version_range>
165 <!-- Won't be included - no matching appID -->
166 <version_range type="incompatible">
167 <min_version>0.2</min_version>
168 <max_version>0.3</max_version>
169 <compatible_applications>
170 <application>
171 <name>Unknown App</name>
172 <application_id>123</application_id>
173 <min_version>1.0</min_version>
174 <max_version>999.0</max_version>
175 <appID>unknown-app@tests.mozilla.org</appID>
176 </application>
177 </compatible_applications>
178 </version_range>
179 </version_ranges>
180 </addon_compatibility>
181 </searchresults>
182

mercurial