toolkit/mozapps/extensions/test/xpcshell/data/test_AddonRepository_cache.xml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/toolkit/mozapps/extensions/test/xpcshell/data/test_AddonRepository_cache.xml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,182 @@
     1.4 +<?xml version="1.0" encoding="utf-8" ?>
     1.5 +<searchresults total_results="1111">
     1.6 +  <addon>
     1.7 +    <name>Repo Add-on 1</name>
     1.8 +    <type id="1">Extension</type>
     1.9 +    <guid>test_AddonRepository_1@tests.mozilla.org</guid>
    1.10 +    <version>2.1</version>
    1.11 +    <authors>
    1.12 +      <author>
    1.13 +        <name>Repo Add-on 1 - Creator</name>
    1.14 +        <link>http://localhost:4444/repo/1/creator.html</link>
    1.15 +      </author>
    1.16 +      <author>
    1.17 +        <name>Repo Add-on 1 - First Developer</name>
    1.18 +        <link>http://localhost:4444/repo/1/firstDeveloper.html</link>
    1.19 +      </author>
    1.20 +      <author>
    1.21 +        <name>Repo Add-on 1 - Second Developer</name>
    1.22 +        <link>http://localhost:4444/repo/1/secondDeveloper.html</link>
    1.23 +      </author>
    1.24 +    </authors>
    1.25 +    <summary>Repo Add-on 1 - Description&lt;br&gt;Second line</summary>
    1.26 +    <description>&lt;p&gt;Repo Add-on 1 - Full Description &amp;amp; some extra&lt;/p&gt;</description>
    1.27 +    <eula>Repo Add-on 1 - EULA</eula>
    1.28 +    <developer_comments>Repo Add-on 1
    1.29 +                        Developer Comments</developer_comments>
    1.30 +    <icon size="32">http://localhost/repo/1/icon.png</icon>
    1.31 +    <status id="4">Public</status>
    1.32 +    <rating>1</rating>
    1.33 +    <learnmore>http://localhost/repo/1/learnmore.html</learnmore>
    1.34 +    <homepage>http://localhost/repo/1/homepage.html</homepage>
    1.35 +    <support>http://localhost/repo/1/support.html</support>
    1.36 +    <contribution_data>
    1.37 +      <link>http://localhost/repo/1/contribution.html</link>
    1.38 +      <suggested_amount currency="USD">$11.11</suggested_amount>
    1.39 +      <meet_developers>http://localhost/repo/1/meetDevelopers.html</meet_developers>
    1.40 +    </contribution_data>
    1.41 +    <reviews num="1111">http://localhost/repo/1/review.html</reviews>
    1.42 +    <total_downloads>2221</total_downloads>
    1.43 +    <weekly_downloads>3331</weekly_downloads>
    1.44 +    <daily_users>4441</daily_users>
    1.45 +    <last_updated epoch="9">1970-01-01T00:00:09Z</last_updated>
    1.46 +    <install size="9">http://localhost:4444/repo/1/install.xpi</install>
    1.47 +  </addon>
    1.48 +
    1.49 +  <addon>
    1.50 +    <name>Repo Add-on 2</name>
    1.51 +    <type id="2">Theme</type>
    1.52 +    <guid>test_AddonRepository_2@tests.mozilla.org</guid>
    1.53 +    <version>2.2</version>
    1.54 +    <authors>
    1.55 +      <author>
    1.56 +        <name>Repo Add-on 2 - Creator</name>
    1.57 +        <link>http://localhost:4444/repo/2/creator.html</link>
    1.58 +      </author>
    1.59 +      <author>
    1.60 +        <name>Repo Add-on 2 - First Developer</name>
    1.61 +        <link>http://localhost:4444/repo/2/firstDeveloper.html</link>
    1.62 +      </author>
    1.63 +      <author>
    1.64 +        <name>Repo Add-on 2 - Second Developer</name>
    1.65 +        <link>http://localhost:4444/repo/2/secondDeveloper.html</link>
    1.66 +      </author>
    1.67 +    </authors>
    1.68 +    <summary>Repo Add-on 2 - Description</summary>
    1.69 +    <description>Repo Add-on 2 - Full Description</description>
    1.70 +    <eula>Repo Add-on 2 - EULA</eula>
    1.71 +    <developer_comments>Repo Add-on 2 - Developer Comments</developer_comments>
    1.72 +    <icon size="32">http://localhost/repo/2/icon.png</icon>
    1.73 +    <status id="9">Unknown</status>
    1.74 +    <previews>
    1.75 +      <preview primary="1">
    1.76 +        <full type="image/png">http://localhost:4444/repo/2/firstFull.png</full>
    1.77 +        <thumbnail type="image/png">http://localhost:4444/repo/2/firstThumbnail.png</thumbnail>
    1.78 +        <caption>Repo Add-on 2 - First Caption</caption>
    1.79 +      </preview>
    1.80 +      <preview primary="0">
    1.81 +        <full type="image/png">http://localhost:4444/repo/2/secondFull.png</full>
    1.82 +        <thumbnail type="image/png">http://localhost:4444/repo/2/secondThumbnail.png</thumbnail>
    1.83 +        <caption>Repo Add-on 2 - Second Caption</caption>
    1.84 +      </preview>
    1.85 +    </previews>
    1.86 +    <rating>2</rating>
    1.87 +    <learnmore>http://localhost/repo/2/learnmore.html</learnmore>
    1.88 +    <homepage>http://localhost/repo/2/homepage.html</homepage>
    1.89 +    <support>http://localhost/repo/2/support.html</support>
    1.90 +    <contribution_data>
    1.91 +      <link>http://localhost/repo/2/contribution.html</link>
    1.92 +      <meet_developers>http://localhost/repo/2/meetDevelopers.html</meet_developers>
    1.93 +    </contribution_data>
    1.94 +    <reviews num="1112">http://localhost/repo/2/review.html</reviews>
    1.95 +    <total_downloads>2222</total_downloads>
    1.96 +    <weekly_downloads>3332</weekly_downloads>
    1.97 +    <daily_users>4442</daily_users>
    1.98 +    <last_updated epoch="9">1970-01-01T00:00:09Z</last_updated>
    1.99 +    <install size="9">http://localhost:4444/repo/2/install.xpi</install>
   1.100 +  </addon>
   1.101 +
   1.102 +  <addon>
   1.103 +    <name>Repo Add-on 3</name>
   1.104 +    <type id="9999">Unknown</type>
   1.105 +    <guid>test_AddonRepository_3@tests.mozilla.org</guid>
   1.106 +    <version>2.3</version>
   1.107 +    <icon size="32">http://localhost/repo/3/icon.png</icon>
   1.108 +    <previews>
   1.109 +      <preview primary="1">
   1.110 +        <full type="image/png">http://localhost:4444/repo/3/firstFull.png</full>
   1.111 +        <thumbnail type="image/png">http://localhost:4444/repo/3/firstThumbnail.png</thumbnail>
   1.112 +        <caption>Repo Add-on 3 - First Caption</caption>
   1.113 +      </preview>
   1.114 +      <preview primary="0">
   1.115 +        <full type="image/png">http://localhost:4444/repo/3/secondFull.png</full>
   1.116 +        <thumbnail type="image/png">http://localhost:4444/repo/3/secondThumbnail.png</thumbnail>
   1.117 +        <caption>Repo Add-on 3 - Second Caption</caption>
   1.118 +      </preview>
   1.119 +    </previews>
   1.120 +  </addon>
   1.121 +
   1.122 +  <addon_compatibility hosted="true" id="123">
   1.123 +    <guid>test_AddonRepository_1@tests.mozilla.org</guid>
   1.124 +    <name>PASS</name>
   1.125 +    <version_ranges>
   1.126 +      <!-- Will be included -->
   1.127 +      <version_range type="incompatible">
   1.128 +        <min_version>0.1</min_version>
   1.129 +        <max_version>0.2</max_version>
   1.130 +        <compatible_applications>
   1.131 +          <application>
   1.132 +            <name>XPCShell</name>
   1.133 +            <application_id>666</application_id>
   1.134 +            <min_version>3.0</min_version>
   1.135 +            <max_version>4.0</max_version>
   1.136 +            <appID>xpcshell@tests.mozilla.org</appID>
   1.137 +          </application>
   1.138 +        </compatible_applications>
   1.139 +      </version_range>
   1.140 +      <!-- Will be included -->
   1.141 +      <version_range type="incompatible">
   1.142 +        <min_version>0.2</min_version>
   1.143 +        <max_version>0.3</max_version>
   1.144 +        <compatible_applications>
   1.145 +          <application>
   1.146 +            <name>XPCShell</name>
   1.147 +            <application_id>666</application_id>
   1.148 +            <min_version>5.0</min_version>
   1.149 +            <max_version>6.0</max_version>
   1.150 +            <appID>xpcshell@tests.mozilla.org</appID>
   1.151 +          </application>
   1.152 +        </compatible_applications>
   1.153 +      </version_range>
   1.154 +      <!-- Won't be included - invalid type attribute -->
   1.155 +      <version_range type="unknown">
   1.156 +        <min_version>9</min_version>
   1.157 +        <max_version>10</max_version>
   1.158 +        <compatible_applications>
   1.159 +          <application>
   1.160 +            <name>XPCShell</name>
   1.161 +            <application_id>666</application_id>
   1.162 +            <min_version>10.0</min_version>
   1.163 +            <max_version>11.0</max_version>
   1.164 +            <appID>xpcshell@tests.mozilla.org</appID>
   1.165 +          </application>
   1.166 +        </compatible_applications>
   1.167 +      </version_range>
   1.168 +      <!-- Won't be included - no matching appID -->
   1.169 +      <version_range type="incompatible">
   1.170 +        <min_version>0.2</min_version>
   1.171 +        <max_version>0.3</max_version>
   1.172 +        <compatible_applications>
   1.173 +          <application>
   1.174 +            <name>Unknown App</name>
   1.175 +            <application_id>123</application_id>
   1.176 +            <min_version>1.0</min_version>
   1.177 +            <max_version>999.0</max_version>
   1.178 +            <appID>unknown-app@tests.mozilla.org</appID>
   1.179 +          </application>
   1.180 +        </compatible_applications>
   1.181 +      </version_range>
   1.182 +    </version_ranges>
   1.183 +  </addon_compatibility>
   1.184 +</searchresults>
   1.185 +

mercurial