gecko/toolkit/mozapps/extensions/test/xpcshell/data/test_bug404024.xml

167 lines
6.0 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<searchresults>
<addon>
<name>FAIL</name>
<type id='1'>Extension</type>
<guid>test1@tests.mozilla.org</guid>
<version>1.0</version>
<status id='2'>Sandbox</status>
<summary>Should not return sandboxed add-on</summary>
<compatible_applications>
<application>
<name>XPCShell</name>
<appID>xpcshell@tests.mozilla.org</appID>
<application_id>1</application_id>
<min_version>1</min_version>
<max_version>1</max_version>
</application>
</compatible_applications>
<compatible_os>ALL</compatible_os>
<learnmore>https://addons.mozilla.org/addon/5992</learnmore>
<install hash="sha1:c26f0b0d62e5dcddcda95074d3f3fedb9bbc26e3">http://localhost:4444/test.xpi</install>
</addon>
<addon>
<name>FAIL</name>
<type id='1'>Extension</type>
<guid>test2@tests.mozilla.org</guid>
<version>1.0</version>
<status id='4'>Public</status>
<summary>Should not return an incompatible add-on</summary>
<compatible_applications>
<application>
<name>XPCShell</name>
<appID>xpcshell@tests.mozilla.org</appID>
<application_id>1</application_id>
<min_version>2</min_version>
<max_version>2</max_version>
</application>
</compatible_applications>
<compatible_os>ALL</compatible_os>
<install hash="sha1:c26f0b0d62e5dcddcda95074d3f3fedb9bbc26e3">http://localhost:4444/test.xpi</install>
</addon>
<addon>
<name>FAIL</name>
<type id='1'>Extension</type>
<guid>test3@tests.mozilla.org</guid>
<version>1.0</version>
<status id='4'>Public</status>
<summary>Should not return an incompatible add-on</summary>
<compatible_applications>
<application>
<name>Firefox</name>
<appID>unknown@tests.mozilla.org</appID>
<application_id>1</application_id>
<min_version>2</min_version>
<max_version>2</max_version>
</application>
</compatible_applications>
<compatible_os>ALL</compatible_os>
<learnmore>https://addons.mozilla.org/addon/5992</learnmore>
<install hash="sha1:c26f0b0d62e5dcddcda95074d3f3fedb9bbc26e3">http://localhost:4444/test.xpi</install>
</addon>
<addon>
<name>FAIL</name>
<type id='1'>Extension</type>
<guid>test4@tests.mozilla.org</guid>
<version>1.0</version>
<status id='4'>Public</status>
<summary>Should not return an add-on for a different OS</summary>
<compatible_applications>
<application>
<name>XPCShell</name>
<appID>xpcshell@tests.mozilla.org</appID>
<application_id>1</application_id>
<min_version>1</min_version>
<max_version>1</max_version>
</application>
</compatible_applications>
<compatible_os>Windows</compatible_os>
<learnmore>https://addons.mozilla.org/addon/5992</learnmore>
<install hash="sha1:c26f0b0d62e5dcddcda95074d3f3fedb9bbc26e3">http://localhost:4444/test.xpi</install>
</addon>
<addon>
<name>PASS</name>
<type id='1'>Extension</type>
<guid>test5@tests.mozilla.org</guid>
<version>1.0</version>
<status id='4'>Public</status>
<summary>This should work fine</summary>
<description>Test description</description>
<compatible_applications>
<application>
<name>XPCShell</name>
<appID>xpcshell@tests.mozilla.org</appID>
<application_id>1</application_id>
<min_version>1</min_version>
<max_version>1</max_version>
</application>
</compatible_applications>
<compatible_os>ALL</compatible_os>
<learnmore>https://addons.mozilla.org/addon/5992</learnmore>
<install size="234" hash="sha1:c26f0b0d62e5dcddcda95074d3f3fedb9bbc26e3">http://localhost:4444/test.xpi</install>
</addon>
<addon>
<name>FAIL</name>
<type id='1'>Extension</type>
<guid>bug397778@tests.mozilla.org</guid>
<version>1.0</version>
<status id='4'>Public</status>
<summary>Should not return items that are already installed</summary>
<compatible_applications>
<application>
<name>XPCShell</name>
<appID>xpcshell@tests.mozilla.org</appID>
<application_id>1</application_id>
<min_version>1</min_version>
<max_version>1</max_version>
</application>
</compatible_applications>
<compatible_os>ALL</compatible_os>
<install hash="sha1:c26f0b0d62e5dcddcda95074d3f3fedb9bbc26e3">http://localhost:4444/test.xpi</install>
</addon>
<addon>
<name>FAIL</name>
<type id='1'>Extension</type>
<guid>test5@tests.mozilla.org</guid>
<version>1.0</version>
<status id='4'>Public</status>
<summary>Should not include the same result twice</summary>
<compatible_applications>
<application>
<name>XPCShell</name>
<appID>xpcshell@tests.mozilla.org</appID>
<application_id>1</application_id>
<min_version>1</min_version>
<max_version>1</max_version>
</application>
</compatible_applications>
<compatible_os>ALL</compatible_os>
<learnmore>https://addons.mozilla.org/addon/5992</learnmore>
<install hash="sha1:c26f0b0d62e5dcddcda95074d3f3fedb9bbc26e3">http://localhost:4444/test.xpi</install>
</addon>
<addon>
<name>PASS</name>
<type id='2'>Theme</type>
<guid>test6@tests.mozilla.org</guid>
<version>1.0</version>
<status id='4'>Public</status>
<rating>4</rating>
<summary>Specific OS should work fine</summary>
<eula>EULA should be confirmed</eula>
<thumbnail>http://localhost:4444/test_bug404024/thumbnail.png</thumbnail>
<icon>http://localhost:4444/test_bug404024/icon.png</icon>
<compatible_applications>
<application>
<name>XPCShell</name>
<appID>xpcshell@tests.mozilla.org</appID>
<application_id>1</application_id>
<min_version>1</min_version>
<max_version>1</max_version>
</application>
</compatible_applications>
<compatible_os>XPCShell</compatible_os>
<install size="1204">http://localhost:4444/test.xpi</install>
</addon>
</searchresults>