1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/mozapps/extensions/test/xpcshell/data/test_migrate.rdf Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,125 @@ 1.4 +<?xml version="1.0"?> 1.5 + 1.6 +<!-- This is a copy of extensions.rdf from Firefox 3.5 including four 1.7 + test extensions. Addon1 was user enabled, addon2 was user disabled, addon3 1.8 + was pending user disable at the next restart and addon4 was pending user 1.9 + enable at the next restart. Additionally addon1 and 2 have had 1.10 + compatibility updates applies to make them compatible with the app and 1.11 + toolkit respectively, addon3 and 4 have not. addon5 is disabled however 1.12 + at the same time as the migration a new version should be detected. addon6 1.13 + is pending install and needs a compatibility update to be compatible. 1.14 + It also contains two themes in the profile --> 1.15 + 1.16 +<RDF:RDF xmlns:NS1="http://www.mozilla.org/2004/em-rdf#" 1.17 + xmlns:NC="http://home.netscape.com/NC-rdf#" 1.18 + xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> 1.19 + <RDF:Description RDF:about="rdf:#$w8dNC3" 1.20 + NS1:id="xpcshell@tests.mozilla.org" 1.21 + NS1:minVersion="1" 1.22 + NS1:maxVersion="1" /> 1.23 + <RDF:Description RDF:about="rdf:#$w8dNC4" 1.24 + NS1:id="xpcshell@tests.mozilla.org" 1.25 + NS1:minVersion="1" 1.26 + NS1:maxVersion="2" /> 1.27 + <RDF:Description RDF:about="rdf:#$w8dNC5" 1.28 + NS1:id="xpcshell@tests.mozilla.org" 1.29 + NS1:minVersion="1" 1.30 + NS1:maxVersion="2" /> 1.31 + <RDF:Description RDF:about="rdf:#$w8dNC6" 1.32 + NS1:id="xpcshell@tests.mozilla.org" 1.33 + NS1:minVersion="1" 1.34 + NS1:maxVersion="2" /> 1.35 + <RDF:Description RDF:about="rdf:#$w8dNC2" 1.36 + NS1:id="toolkit@mozilla.org" 1.37 + NS1:minVersion="1" 1.38 + NS1:maxVersion="1" /> 1.39 + <RDF:Description RDF:about="rdf:#$w8dNC1" 1.40 + NS1:id="toolkit@mozilla.org" 1.41 + NS1:minVersion="1" 1.42 + NS1:maxVersion="2" /> 1.43 + <RDF:Description RDF:about="rdf:#$w8dNC7" 1.44 + NS1:id="toolkit@mozilla.org" 1.45 + NS1:minVersion="1" 1.46 + NS1:maxVersion="2" /> 1.47 + <RDF:Description RDF:about="rdf:#$oadNC1" 1.48 + NS1:id="xpcshell@tests.mozilla.org" 1.49 + NS1:minVersion="1" 1.50 + NS1:maxVersion="2" /> 1.51 + <RDF:Description RDF:about="rdf:#$TpnM4" 1.52 + NS1:id="xpcshell@tests.mozilla.org" 1.53 + NS1:updatedMinVersion="1" 1.54 + NS1:updatedMaxVersion="2" /> 1.55 + <RDF:Description RDF:about="urn:mozilla:item:addon1@tests.mozilla.org" 1.56 + NS1:installLocation="app-profile" 1.57 + NS1:version="1.0" 1.58 + NS1:name="Test 1"> 1.59 + <NS1:type NC:parseType="Integer">2</NS1:type> 1.60 + <NS1:targetApplication RDF:resource="rdf:#$oadNC1"/> 1.61 + </RDF:Description> 1.62 + <RDF:Description RDF:about="urn:mozilla:item:addon2@tests.mozilla.org" 1.63 + NS1:installLocation="app-profile" 1.64 + NS1:version="2.0" 1.65 + NS1:name="Test 2" 1.66 + NS1:userDisabled="true"> 1.67 + <NS1:type NC:parseType="Integer">2</NS1:type> 1.68 + <NS1:targetApplication RDF:resource="rdf:#$w8dNC1"/> 1.69 + </RDF:Description> 1.70 + <RDF:Description RDF:about="urn:mozilla:item:addon3@tests.mozilla.org" 1.71 + NS1:installLocation="app-profile" 1.72 + NS1:version="2.0" 1.73 + NS1:name="Test 3" 1.74 + NS1:userDisabled="needs-disable"> 1.75 + <NS1:type NC:parseType="Integer">2</NS1:type> 1.76 + <NS1:targetApplication RDF:resource="rdf:#$w8dNC3"/> 1.77 + </RDF:Description> 1.78 + <RDF:Description RDF:about="urn:mozilla:item:addon4@tests.mozilla.org" 1.79 + NS1:installLocation="app-profile" 1.80 + NS1:version="2.0" 1.81 + NS1:name="Test 4" 1.82 + NS1:userDisabled="needs-enable"> 1.83 + <NS1:type NC:parseType="Integer">2</NS1:type> 1.84 + <NS1:targetApplication RDF:resource="rdf:#$w8dNC2"/> 1.85 + </RDF:Description> 1.86 + <RDF:Description RDF:about="urn:mozilla:item:addon5@tests.mozilla.org" 1.87 + NS1:installLocation="app-profile" 1.88 + NS1:version="1.0" 1.89 + NS1:name="Test 5" 1.90 + NS1:userDisabled="true"> 1.91 + <NS1:type NC:parseType="Integer">2</NS1:type> 1.92 + <NS1:targetApplication RDF:resource="rdf:#$w8dNC7"/> 1.93 + </RDF:Description> 1.94 + <RDF:Description RDF:about="urn:mozilla:item:addon6@tests.mozilla.org" 1.95 + NS1:name="Test 6" 1.96 + NS1:version="1.0" 1.97 + NS1:newVersion="1.0" 1.98 + NS1:installLocation="app-profile"> 1.99 + <NS1:type NC:parseType="Integer">2</NS1:type> 1.100 + <NS1:targetApplication RDF:resource="rdf:#$TpnM4"/> 1.101 + </RDF:Description> 1.102 + <RDF:Description RDF:about="urn:mozilla:item:theme1@tests.mozilla.org" 1.103 + NS1:installLocation="app-profile" 1.104 + NS1:version="1.0" 1.105 + NS1:name="Theme 2" 1.106 + NS1:internalName="theme1/1.0"> 1.107 + <NS1:type NC:parseType="Integer">4</NS1:type> 1.108 + <NS1:targetApplication RDF:resource="rdf:#$w8dNC5"/> 1.109 + </RDF:Description> 1.110 + <RDF:Description RDF:about="urn:mozilla:item:theme2@tests.mozilla.org" 1.111 + NS1:installLocation="app-profile" 1.112 + NS1:version="2.0" 1.113 + NS1:name="Theme 2" 1.114 + NS1:internalName="theme2/1.0"> 1.115 + <NS1:type NC:parseType="Integer">4</NS1:type> 1.116 + <NS1:targetApplication RDF:resource="rdf:#$w8dNC6"/> 1.117 + </RDF:Description> 1.118 + <RDF:Seq RDF:about="urn:mozilla:item:root"> 1.119 + <RDF:li RDF:resource="urn:mozilla:item:addon1@tests.mozilla.org"/> 1.120 + <RDF:li RDF:resource="urn:mozilla:item:addon2@tests.mozilla.org"/> 1.121 + <RDF:li RDF:resource="urn:mozilla:item:addon3@tests.mozilla.org"/> 1.122 + <RDF:li RDF:resource="urn:mozilla:item:addon4@tests.mozilla.org"/> 1.123 + <RDF:li RDF:resource="urn:mozilla:item:addon5@tests.mozilla.org"/> 1.124 + <RDF:li RDF:resource="urn:mozilla:item:addon6@tests.mozilla.org"/> 1.125 + <RDF:li RDF:resource="urn:mozilla:item:theme1@tests.mozilla.org"/> 1.126 + <RDF:li RDF:resource="urn:mozilla:item:theme2@tests.mozilla.org"/> 1.127 + </RDF:Seq> 1.128 +</RDF:RDF>