gecko/toolkit/mozapps/extensions/test/unit/data/test_bug417606.xml

161 lines
5.9 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<searchresults total_results="100">
<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>
<learnmore>https://addons.mozilla.org/addon/5992</learnmore>
<install os="ALL" 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>
<install os="ALL" 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>
<learnmore>https://addons.mozilla.org/addon/5992</learnmore>
<install os="ALL" 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>
<learnmore>https://addons.mozilla.org/addon/5992</learnmore>
<install os="Windows" 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>
<learnmore>https://addons.mozilla.org/addon/5992</learnmore>
<install os="ALL" 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>
<install os="ALL" 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>
<learnmore>https://addons.mozilla.org/addon/5992</learnmore>
<install os="ALL" 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>
<install os="Windows">http://localhost:4444/test.xpi</install>
<install os="XPCShell">http://localhost:4444/XPCShell.xpi</install>
<install os="Darwin">http://localhost:4444/test.xpi</install>
</addon>
</searchresults>