diff options
author | Matt A. Tobin <email@mattatobin.com> | 2018-02-10 02:49:12 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2018-02-10 02:49:12 -0500 |
commit | 4fb11cd5966461bccc3ed1599b808237be6b0de9 (patch) | |
tree | d7f0ccd49cebb3544d52635ff1bd6ed4d763823f /toolkit/mozapps/webextensions/test/xpcshell/data/test_AddonRepository_cache.xml | |
parent | f164d9124708b50789dbb6959e1de96cc5697c48 (diff) | |
download | UXP-4fb11cd5966461bccc3ed1599b808237be6b0de9.tar UXP-4fb11cd5966461bccc3ed1599b808237be6b0de9.tar.gz UXP-4fb11cd5966461bccc3ed1599b808237be6b0de9.tar.lz UXP-4fb11cd5966461bccc3ed1599b808237be6b0de9.tar.xz UXP-4fb11cd5966461bccc3ed1599b808237be6b0de9.zip |
Move WebExtensions enabled Add-ons Manager
Diffstat (limited to 'toolkit/mozapps/webextensions/test/xpcshell/data/test_AddonRepository_cache.xml')
-rw-r--r-- | toolkit/mozapps/webextensions/test/xpcshell/data/test_AddonRepository_cache.xml | 182 |
1 files changed, 182 insertions, 0 deletions
diff --git a/toolkit/mozapps/webextensions/test/xpcshell/data/test_AddonRepository_cache.xml b/toolkit/mozapps/webextensions/test/xpcshell/data/test_AddonRepository_cache.xml new file mode 100644 index 000000000..f707f1217 --- /dev/null +++ b/toolkit/mozapps/webextensions/test/xpcshell/data/test_AddonRepository_cache.xml @@ -0,0 +1,182 @@ +<?xml version="1.0" encoding="utf-8" ?> +<searchresults total_results="1111"> + <addon> + <name>Repo Add-on 1</name> + <type id="1">Extension</type> + <guid>test_AddonRepository_1@tests.mozilla.org</guid> + <version>2.1</version> + <authors> + <author> + <name>Repo Add-on 1 - Creator</name> + <link>http://localhost:4444/repo/1/creator.html</link> + </author> + <author> + <name>Repo Add-on 1 - First Developer</name> + <link>http://localhost:4444/repo/1/firstDeveloper.html</link> + </author> + <author> + <name>Repo Add-on 1 - Second Developer</name> + <link>http://localhost:4444/repo/1/secondDeveloper.html</link> + </author> + </authors> + <summary>Repo Add-on 1 - Description<br>Second line</summary> + <description><p>Repo Add-on 1 - Full Description &amp; some extra</p></description> + <eula>Repo Add-on 1 - EULA</eula> + <developer_comments>Repo Add-on 1 + Developer Comments</developer_comments> + <icon size="32">http://localhost/repo/1/icon.png</icon> + <status id="4">Public</status> + <rating>1</rating> + <learnmore>http://localhost/repo/1/learnmore.html</learnmore> + <homepage>http://localhost/repo/1/homepage.html</homepage> + <support>http://localhost/repo/1/support.html</support> + <contribution_data> + <link>http://localhost/repo/1/contribution.html</link> + <suggested_amount currency="USD">$11.11</suggested_amount> + <meet_developers>http://localhost/repo/1/meetDevelopers.html</meet_developers> + </contribution_data> + <reviews num="1111">http://localhost/repo/1/review.html</reviews> + <total_downloads>2221</total_downloads> + <weekly_downloads>3331</weekly_downloads> + <daily_users>4441</daily_users> + <last_updated epoch="9">1970-01-01T00:00:09Z</last_updated> + <install size="9">http://localhost:4444/repo/1/install.xpi</install> + </addon> + + <addon> + <name>Repo Add-on 2</name> + <type id="2">Theme</type> + <guid>test_AddonRepository_2@tests.mozilla.org</guid> + <version>2.2</version> + <authors> + <author> + <name>Repo Add-on 2 - Creator</name> + <link>http://localhost:4444/repo/2/creator.html</link> + </author> + <author> + <name>Repo Add-on 2 - First Developer</name> + <link>http://localhost:4444/repo/2/firstDeveloper.html</link> + </author> + <author> + <name>Repo Add-on 2 - Second Developer</name> + <link>http://localhost:4444/repo/2/secondDeveloper.html</link> + </author> + </authors> + <summary>Repo Add-on 2 - Description</summary> + <description>Repo Add-on 2 - Full Description</description> + <eula>Repo Add-on 2 - EULA</eula> + <developer_comments>Repo Add-on 2 - Developer Comments</developer_comments> + <icon size="32">http://localhost/repo/2/icon.png</icon> + <status id="9">Unknown</status> + <previews> + <preview primary="1"> + <full type="image/png">http://localhost:4444/repo/2/firstFull.png</full> + <thumbnail type="image/png">http://localhost:4444/repo/2/firstThumbnail.png</thumbnail> + <caption>Repo Add-on 2 - First Caption</caption> + </preview> + <preview primary="0"> + <full type="image/png">http://localhost:4444/repo/2/secondFull.png</full> + <thumbnail type="image/png">http://localhost:4444/repo/2/secondThumbnail.png</thumbnail> + <caption>Repo Add-on 2 - Second Caption</caption> + </preview> + </previews> + <rating>2</rating> + <learnmore>http://localhost/repo/2/learnmore.html</learnmore> + <homepage>http://localhost/repo/2/homepage.html</homepage> + <support>http://localhost/repo/2/support.html</support> + <contribution_data> + <link>http://localhost/repo/2/contribution.html</link> + <meet_developers>http://localhost/repo/2/meetDevelopers.html</meet_developers> + </contribution_data> + <reviews num="1112">http://localhost/repo/2/review.html</reviews> + <total_downloads>2222</total_downloads> + <weekly_downloads>3332</weekly_downloads> + <daily_users>4442</daily_users> + <last_updated epoch="9">1970-01-01T00:00:09Z</last_updated> + <install size="9">http://localhost:4444/repo/2/install.xpi</install> + </addon> + + <addon> + <name>Repo Add-on 3</name> + <type id="2">Theme</type> + <guid>test_AddonRepository_3@tests.mozilla.org</guid> + <version>2.3</version> + <icon size="32">http://localhost/repo/3/icon.png</icon> + <previews> + <preview primary="1"> + <full type="image/png">http://localhost:4444/repo/3/firstFull.png</full> + <thumbnail type="image/png">http://localhost:4444/repo/3/firstThumbnail.png</thumbnail> + <caption>Repo Add-on 3 - First Caption</caption> + </preview> + <preview primary="0"> + <full type="image/png">http://localhost:4444/repo/3/secondFull.png</full> + <thumbnail type="image/png">http://localhost:4444/repo/3/secondThumbnail.png</thumbnail> + <caption>Repo Add-on 3 - Second Caption</caption> + </preview> + </previews> + </addon> + + <addon_compatibility hosted="true" id="123"> + <guid>test_AddonRepository_1@tests.mozilla.org</guid> + <name>PASS</name> + <version_ranges> + <!-- Will be included --> + <version_range type="incompatible"> + <min_version>0.1</min_version> + <max_version>0.2</max_version> + <compatible_applications> + <application> + <name>XPCShell</name> + <application_id>666</application_id> + <min_version>3.0</min_version> + <max_version>4.0</max_version> + <appID>xpcshell@tests.mozilla.org</appID> + </application> + </compatible_applications> + </version_range> + <!-- Will be included --> + <version_range type="incompatible"> + <min_version>0.2</min_version> + <max_version>0.3</max_version> + <compatible_applications> + <application> + <name>XPCShell</name> + <application_id>666</application_id> + <min_version>5.0</min_version> + <max_version>6.0</max_version> + <appID>xpcshell@tests.mozilla.org</appID> + </application> + </compatible_applications> + </version_range> + <!-- Won't be included - invalid type attribute --> + <version_range type="unknown"> + <min_version>9</min_version> + <max_version>10</max_version> + <compatible_applications> + <application> + <name>XPCShell</name> + <application_id>666</application_id> + <min_version>10.0</min_version> + <max_version>11.0</max_version> + <appID>xpcshell@tests.mozilla.org</appID> + </application> + </compatible_applications> + </version_range> + <!-- Won't be included - no matching appID --> + <version_range type="incompatible"> + <min_version>0.2</min_version> + <max_version>0.3</max_version> + <compatible_applications> + <application> + <name>Unknown App</name> + <application_id>123</application_id> + <min_version>1.0</min_version> + <max_version>999.0</max_version> + <appID>unknown-app@tests.mozilla.org</appID> + </application> + </compatible_applications> + </version_range> + </version_ranges> + </addon_compatibility> +</searchresults> + |