1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/mozapps/extensions/test/browser/browser_searching.xml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,246 @@ 1.4 +<?xml version="1.0" encoding="utf-8" ?> 1.5 +<searchresults total_results="100"> 1.6 + <addon> 1.7 + <name>FAIL</name> 1.8 + <type id='1'>Extension</type> 1.9 + <guid>addon1@tests.mozilla.org</guid> 1.10 + <version>1.0</version> 1.11 + <authors> 1.12 + <author> 1.13 + <name>Test Creator</name> 1.14 + <link>http://example.com/creator.html</link> 1.15 + </author> 1.16 + </authors> 1.17 + <status id='4'>Public</status> 1.18 + <summary>Addon already installed - SEARCH</summary> 1.19 + <description>Test description</description> 1.20 + <compatible_applications> 1.21 + <application> 1.22 + <name>Firefox</name> 1.23 + <appID>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</appID> 1.24 + <min_version>0</min_version> 1.25 + <max_version>*</max_version> 1.26 + </application> 1.27 + <application> 1.28 + <name>SeaMonkey</name> 1.29 + <appID>{92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}</appID> 1.30 + <min_version>0</min_version> 1.31 + <max_version>*</max_version> 1.32 + </application> 1.33 + </compatible_applications> 1.34 + <compatible_os>ALL</compatible_os> 1.35 + <install size="1">http://example.com/addon1.xpi</install> 1.36 + </addon> 1.37 + <addon> 1.38 + <name>FAIL</name> 1.39 + <type id='1'>Extension</type> 1.40 + <guid>install1@tests.mozilla.org</guid> 1.41 + <version>1.0</version> 1.42 + <authors> 1.43 + <author> 1.44 + <name>Test Creator</name> 1.45 + <link>http://example.com/creator.html</link> 1.46 + </author> 1.47 + </authors> 1.48 + <status id='4'>Public</status> 1.49 + <summary>Install already exists - SEARCH</summary> 1.50 + <description>Test description</description> 1.51 + <compatible_applications> 1.52 + <application> 1.53 + <name>Firefox</name> 1.54 + <appID>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</appID> 1.55 + <min_version>0</min_version> 1.56 + <max_version>*</max_version> 1.57 + </application> 1.58 + <application> 1.59 + <name>SeaMonkey</name> 1.60 + <appID>{92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}</appID> 1.61 + <min_version>0</min_version> 1.62 + <max_version>*</max_version> 1.63 + </application> 1.64 + </compatible_applications> 1.65 + <compatible_os>ALL</compatible_os> 1.66 + <install size="1">http://example.com/install1.xpi</install> 1.67 + </addon> 1.68 + <addon> 1.69 + <name>PASS - b</name> 1.70 + <type id='1'>Extension</type> 1.71 + <guid>remote1@tests.mozilla.org</guid> 1.72 + <version>3.0</version> 1.73 + <authors> 1.74 + <author> 1.75 + <name>Test Creator</name> 1.76 + <link>http://example.com/creator.html</link> 1.77 + </author> 1.78 + </authors> 1.79 + <status id='4'>Public</status> 1.80 + <summary>Test summary - SEARCH SEARCH</summary> 1.81 + <description>Test description</description> 1.82 + <compatible_applications> 1.83 + <application> 1.84 + <name>Firefox</name> 1.85 + <appID>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</appID> 1.86 + <min_version>0</min_version> 1.87 + <max_version>*</max_version> 1.88 + </application> 1.89 + <application> 1.90 + <name>SeaMonkey</name> 1.91 + <appID>{92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}</appID> 1.92 + <min_version>0</min_version> 1.93 + <max_version>*</max_version> 1.94 + </application> 1.95 + </compatible_applications> 1.96 + <compatible_os>ALL</compatible_os> 1.97 + <install size="2">http://example.com/browser/toolkit/mozapps/extensions/test/browser/addons/browser_searching.xpi</install> 1.98 + </addon> 1.99 + <addon> 1.100 + <name>PASS - d</name> 1.101 + <type id='1'>Extension</type> 1.102 + <guid>remote2@tests.mozilla.org</guid> 1.103 + <version>4.0</version> 1.104 + <authors> 1.105 + <author> 1.106 + <name>Test Creator</name> 1.107 + <link>http://example.com/creator.html</link> 1.108 + </author> 1.109 + </authors> 1.110 + <status id='4'>Public</status> 1.111 + <summary>Test summary - SEARCHing SEARCH</summary> 1.112 + <description>Test description</description> 1.113 + <compatible_applications> 1.114 + <application> 1.115 + <name>Firefox</name> 1.116 + <appID>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</appID> 1.117 + <min_version>0</min_version> 1.118 + <max_version>*</max_version> 1.119 + </application> 1.120 + <application> 1.121 + <name>SeaMonkey</name> 1.122 + <appID>{92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}</appID> 1.123 + <min_version>0</min_version> 1.124 + <max_version>*</max_version> 1.125 + </application> 1.126 + </compatible_applications> 1.127 + <compatible_os>ALL</compatible_os> 1.128 + <install size="5">http://example.com/remote2.xpi</install> 1.129 + </addon> 1.130 + <addon> 1.131 + <name>PASS - e</name> 1.132 + <type id='1'>Extension</type> 1.133 + <guid>remote3@tests.mozilla.org</guid> 1.134 + <version>5.0</version> 1.135 + <authors> 1.136 + <author> 1.137 + <name>Test Creator</name> 1.138 + <link>http://example.com/creator.html</link> 1.139 + </author> 1.140 + </authors> 1.141 + <status id='4'>Public</status> 1.142 + <summary>Test summary - Does not match query</summary> 1.143 + <description>Test description</description> 1.144 + <compatible_applications> 1.145 + <application> 1.146 + <name>Firefox</name> 1.147 + <appID>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</appID> 1.148 + <min_version>0</min_version> 1.149 + <max_version>*</max_version> 1.150 + </application> 1.151 + <application> 1.152 + <name>SeaMonkey</name> 1.153 + <appID>{92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}</appID> 1.154 + <min_version>0</min_version> 1.155 + <max_version>*</max_version> 1.156 + </application> 1.157 + </compatible_applications> 1.158 + <compatible_os>ALL</compatible_os> 1.159 + <install size="1">http://example.com/remote3.xpi</install> 1.160 + </addon> 1.161 + <addon> 1.162 + <name>PASS - h</name> 1.163 + <type id='1'>Extension</type> 1.164 + <guid>remote4@tests.mozilla.org</guid> 1.165 + <version>6.0</version> 1.166 + <authors> 1.167 + <author> 1.168 + <name>Test Creator</name> 1.169 + <link>http://example.com/creator.html</link> 1.170 + </author> 1.171 + </authors> 1.172 + <status id='4'>Public</status> 1.173 + <summary>Test summary - SEARCHing SEARCH SEARCH</summary> 1.174 + <description>Test description</description> 1.175 + <compatible_applications> 1.176 + <application> 1.177 + <name>Firefox</name> 1.178 + <appID>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</appID> 1.179 + <min_version>0</min_version> 1.180 + <max_version>*</max_version> 1.181 + </application> 1.182 + <application> 1.183 + <name>SeaMonkey</name> 1.184 + <appID>{92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}</appID> 1.185 + <min_version>0</min_version> 1.186 + <max_version>*</max_version> 1.187 + </application> 1.188 + </compatible_applications> 1.189 + <compatible_os>ALL</compatible_os> 1.190 + <install size="4">http://example.com/remote4.xpi</install> 1.191 + </addon> 1.192 + <addon> 1.193 + <name>PASS - i</name> 1.194 + <type id='1'>Extension</type> 1.195 + <guid>remote5@tests.mozilla.org</guid> 1.196 + <version>6.0</version> 1.197 + <authors> 1.198 + <author> 1.199 + <name>Test Creator</name> 1.200 + <link>http://example.com/creator.html</link> 1.201 + </author> 1.202 + </authors> 1.203 + <status id='4'>Public</status> 1.204 + <summary>Incompatible test</summary> 1.205 + <description>Test description</description> 1.206 + <compatible_applications> 1.207 + <application> 1.208 + <name>Firefox</name> 1.209 + <appID>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</appID> 1.210 + <min_version>0</min_version> 1.211 + <max_version>1</max_version> 1.212 + </application> 1.213 + <application> 1.214 + <name>SeaMonkey</name> 1.215 + <appID>{92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}</appID> 1.216 + <min_version>0</min_version> 1.217 + <max_version>1</max_version> 1.218 + </application> 1.219 + </compatible_applications> 1.220 + <compatible_os>ALL</compatible_os> 1.221 + <install size="1">http://example.com/addon1.xpi</install> 1.222 + </addon> 1.223 + <addon> 1.224 + <name>FAIL - j</name> 1.225 + <type id='1'>Extension</type> 1.226 + <guid>remote6@tests.mozilla.org</guid> 1.227 + <version>6.0</version> 1.228 + <authors> 1.229 + <author> 1.230 + <name>Test Creator</name> 1.231 + <link>http://example.com/creator.html</link> 1.232 + </author> 1.233 + </authors> 1.234 + <status id='4'>Public</status> 1.235 + <summary>Incompatible test</summary> 1.236 + <description>Test description</description> 1.237 + <compatible_applications> 1.238 + <application> 1.239 + <name>Fake Product</name> 1.240 + <appID>fakeproduct@mozilla.org</appID> 1.241 + <min_version>0</min_version> 1.242 + <max_version>1</max_version> 1.243 + </application> 1.244 + </compatible_applications> 1.245 + <compatible_os>ALL</compatible_os> 1.246 + <install size="1">http://example.com/addon1.xpi</install> 1.247 + </addon> 1.248 +</searchresults> 1.249 +