1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/mozapps/extensions/test/xpcshell/data/test_bug554133.xml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,292 @@ 1.4 +<?xml version="1.0" encoding="utf-8" ?> 1.5 +<searchresults total_results="100"> 1.6 + <addon> 1.7 + <name>PASS</name> 1.8 + <type id='1'>Extension</type> 1.9 + <guid>test1@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://localhost:%PORT%/creator.html</link> 1.15 + </author> 1.16 + </authors> 1.17 + <status id='4'>Public</status> 1.18 + <compatible_applications> 1.19 + <application> 1.20 + <appID>xpcshell@tests.mozilla.org</appID> 1.21 + <min_version>1</min_version> 1.22 + <max_version>1</max_version> 1.23 + </application> 1.24 + </compatible_applications> 1.25 + <install>http://localhost:%PORT%/test.xpi</install> 1.26 + </addon> 1.27 + 1.28 + <addon> 1.29 + <name>FAIL</name> 1.30 + <type id='1'>Extension</type> 1.31 + <guid>test2@tests.mozilla.org</guid> 1.32 + <version>1.0</version> 1.33 + <authors> 1.34 + <author> 1.35 + <name>Test Creator</name> 1.36 + <link>http://localhost:%PORT%/creator.html</link> 1.37 + </author> 1.38 + </authors> 1.39 + <status id='4'>Public</status> 1.40 + <summary>Should not return an incompatible add-on</summary> 1.41 + <compatible_applications> 1.42 + <application> 1.43 + <appID>xpcshell@tests.mozilla.org</appID> 1.44 + <min_version>2</min_version> 1.45 + <max_version>2</max_version> 1.46 + </application> 1.47 + </compatible_applications> 1.48 + <install>http://localhost:%PORT%/test.xpi</install> 1.49 + </addon> 1.50 + 1.51 + <addon> 1.52 + <name>PASS</name> 1.53 + <type id='1'>Extension</type> 1.54 + <guid>test3@tests.mozilla.org</guid> 1.55 + <version>1.0</version> 1.56 + <authors> 1.57 + <author> 1.58 + <name>Test Creator</name> 1.59 + <link>http://localhost:%PORT%/creator.html</link> 1.60 + </author> 1.61 + </authors> 1.62 + <status id='4'>Public</status> 1.63 + <compatible_applications> 1.64 + <application> 1.65 + <appID>xpcshell@tests.mozilla.org</appID> 1.66 + <min_version>1</min_version> 1.67 + <max_version>1</max_version> 1.68 + </application> 1.69 + </compatible_applications> 1.70 + <install>http://localhost:%PORT%/test.xpi</install> 1.71 + </addon> 1.72 + 1.73 + <addon> 1.74 + <name>FAIL</name> 1.75 + <type id='1'>Extension</type> 1.76 + <guid>test4@tests.mozilla.org</guid> 1.77 + <version>1.0</version> 1.78 + <authors> 1.79 + <author> 1.80 + <name>Test Creator</name> 1.81 + <link>http://localhost:%PORT%/creator.html</link> 1.82 + </author> 1.83 + </authors> 1.84 + <status id='4'>Public</status> 1.85 + <summary>Should not return an add-on for a different OS</summary> 1.86 + <compatible_applications> 1.87 + <application> 1.88 + <appID>xpcshell@tests.mozilla.org</appID> 1.89 + <min_version>1</min_version> 1.90 + <max_version>1</max_version> 1.91 + </application> 1.92 + </compatible_applications> 1.93 + <install os="UNKNOWN">http://localhost:%PORT%/test.xpi</install> 1.94 + </addon> 1.95 + 1.96 + <addon> 1.97 + <name>PASS</name> 1.98 + <type id='1'>Extension</type> 1.99 + <guid>test5@tests.mozilla.org</guid> 1.100 + <version>1.0</version> 1.101 + <authors> 1.102 + <author> 1.103 + <name>Test Creator</name> 1.104 + <link>http://localhost:%PORT%/creator.html</link> 1.105 + </author> 1.106 + </authors> 1.107 + <status id='4'>Public</status> 1.108 + <compatible_applications> 1.109 + <application> 1.110 + <appID>xpcshell@tests.mozilla.org</appID> 1.111 + <min_version>1</min_version> 1.112 + <max_version>1</max_version> 1.113 + </application> 1.114 + </compatible_applications> 1.115 + <install>http://localhost:%PORT%/test.xpi</install> 1.116 + </addon> 1.117 + 1.118 + <addon> 1.119 + <name>FAIL</name> 1.120 + <type id='1'>Extension</type> 1.121 + <guid>test5@tests.mozilla.org</guid> 1.122 + <version>1.0</version> 1.123 + <authors> 1.124 + <author> 1.125 + <name>Test Creator</name> 1.126 + <link>http://localhost:%PORT%/creator.html</link> 1.127 + </author> 1.128 + </authors> 1.129 + <status id='4'>Public</status> 1.130 + <summary>Should not include the same result twice</summary> 1.131 + <compatible_applications> 1.132 + <application> 1.133 + <appID>xpcshell@tests.mozilla.org</appID> 1.134 + <min_version>1</min_version> 1.135 + <max_version>1</max_version> 1.136 + </application> 1.137 + </compatible_applications> 1.138 + <install>http://localhost:%PORT%/test.xpi</install> 1.139 + </addon> 1.140 + 1.141 + <addon> 1.142 + <name>PASS</name> 1.143 + <type id='1'>Extension</type> 1.144 + <guid>test6@tests.mozilla.org</guid> 1.145 + <version>1.0</version> 1.146 + <authors> 1.147 + <author> 1.148 + <name>Test Creator</name> 1.149 + <link>http://localhost:%PORT%/creator.html</link> 1.150 + </author> 1.151 + </authors> 1.152 + <status id='4'>Public</status> 1.153 + <compatible_applications> 1.154 + <application> 1.155 + <appID>xpcshell@tests.mozilla.org</appID> 1.156 + <min_version>1</min_version> 1.157 + <max_version>1</max_version> 1.158 + </application> 1.159 + </compatible_applications> 1.160 + <install>http://localhost:%PORT%/test.xpi</install> 1.161 + </addon> 1.162 + 1.163 + <addon> 1.164 + <name>PASS</name> 1.165 + <type id='1'>Extension</type> 1.166 + <guid>test7@tests.mozilla.org</guid> 1.167 + <version>1.0</version> 1.168 + <authors> 1.169 + <author> 1.170 + <name>Test Creator</name> 1.171 + <link>http://localhost:%PORT%/creator.html</link> 1.172 + </author> 1.173 + </authors> 1.174 + <status id='4'>Public</status> 1.175 + <compatible_applications> 1.176 + <application> 1.177 + <appID>xpcshell@tests.mozilla.org</appID> 1.178 + <min_version>1</min_version> 1.179 + <max_version>1</max_version> 1.180 + </application> 1.181 + </compatible_applications> 1.182 + <install>http://localhost:%PORT%/test.xpi</install> 1.183 + </addon> 1.184 + 1.185 + <addon> 1.186 + <name>PASS</name> 1.187 + <type id='1'>Extension</type> 1.188 + <guid>test8@tests.mozilla.org</guid> 1.189 + <version>1.0</version> 1.190 + <authors> 1.191 + <author> 1.192 + <name>Test Creator</name> 1.193 + <link>http://localhost:%PORT%/creator.html</link> 1.194 + </author> 1.195 + </authors> 1.196 + <status id='4'>Public</status> 1.197 + <compatible_applications> 1.198 + <application> 1.199 + <appID>xpcshell@tests.mozilla.org</appID> 1.200 + <min_version>1</min_version> 1.201 + <max_version>1</max_version> 1.202 + </application> 1.203 + </compatible_applications> 1.204 + <install>http://localhost:%PORT%/test.xpi</install> 1.205 + </addon> 1.206 + 1.207 + <addon> 1.208 + <name>PASS</name> 1.209 + <type id='1'>Extension</type> 1.210 + <guid>test9@tests.mozilla.org</guid> 1.211 + <version>1.0</version> 1.212 + <authors> 1.213 + <author> 1.214 + <name>Test Creator</name> 1.215 + <link>http://localhost:%PORT%/creator.html</link> 1.216 + </author> 1.217 + </authors> 1.218 + <status id='4'>Public</status> 1.219 + <compatible_applications> 1.220 + <application> 1.221 + <appID>xpcshell@tests.mozilla.org</appID> 1.222 + <min_version>1</min_version> 1.223 + <max_version>1</max_version> 1.224 + </application> 1.225 + </compatible_applications> 1.226 + <install>http://localhost:%PORT%/test.xpi</install> 1.227 + </addon> 1.228 + 1.229 + <addon> 1.230 + <name>PASS</name> 1.231 + <type id='1'>Extension</type> 1.232 + <guid>test10@tests.mozilla.org</guid> 1.233 + <version>1.0</version> 1.234 + <authors> 1.235 + <author> 1.236 + <name>Test Creator</name> 1.237 + <link>http://localhost:%PORT%/creator.html</link> 1.238 + </author> 1.239 + </authors> 1.240 + <status id='4'>Public</status> 1.241 + <compatible_applications> 1.242 + <application> 1.243 + <appID>xpcshell@tests.mozilla.org</appID> 1.244 + <min_version>1</min_version> 1.245 + <max_version>1</max_version> 1.246 + </application> 1.247 + </compatible_applications> 1.248 + <install>http://localhost:%PORT%/test.xpi</install> 1.249 + </addon> 1.250 + 1.251 + <addon> 1.252 + <name>PASS</name> 1.253 + <type id='1'>Extension</type> 1.254 + <guid>test11@tests.mozilla.org</guid> 1.255 + <version>1.0</version> 1.256 + <authors> 1.257 + <author> 1.258 + <name>Test Creator</name> 1.259 + <link>http://localhost:%PORT%/creator.html</link> 1.260 + </author> 1.261 + </authors> 1.262 + <status id='4'>Public</status> 1.263 + <compatible_applications> 1.264 + <application> 1.265 + <appID>xpcshell@tests.mozilla.org</appID> 1.266 + <min_version>1</min_version> 1.267 + <max_version>1</max_version> 1.268 + </application> 1.269 + </compatible_applications> 1.270 + <install>http://localhost:%PORT%/test.xpi</install> 1.271 + </addon> 1.272 + 1.273 + <addon> 1.274 + <name>PASS</name> 1.275 + <type id='1'>Extension</type> 1.276 + <guid>test12@tests.mozilla.org</guid> 1.277 + <version>1.0</version> 1.278 + <authors> 1.279 + <author> 1.280 + <name>Test Creator</name> 1.281 + <link>http://localhost:%PORT%/creator.html</link> 1.282 + </author> 1.283 + </authors> 1.284 + <status id='4'>Public</status> 1.285 + <compatible_applications> 1.286 + <application> 1.287 + <appID>xpcshell@tests.mozilla.org</appID> 1.288 + <min_version>1</min_version> 1.289 + <max_version>1</max_version> 1.290 + </application> 1.291 + </compatible_applications> 1.292 + <install>http://localhost:%PORT%/test.xpi</install> 1.293 + </addon> 1.294 +</searchresults> 1.295 +