toolkit/mozapps/extensions/test/xpcshell/data/test_bug394300.rdf

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_bug394300.rdf	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,159 @@
     1.4 +<?xml version="1.0" encoding="UTF-8"?>
     1.5 +
     1.6 +<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
     1.7 +         xmlns:em="http://www.mozilla.org/2004/em-rdf#">
     1.8 +
     1.9 +  <RDF:Description about="urn:mozilla:extension:bug394300_1@tests.mozilla.org">
    1.10 +    <em:updates>
    1.11 +      <RDF:Seq>
    1.12 +        <!-- Not a valid install - incompatible app versions -->
    1.13 +        <RDF:li>
    1.14 +          <RDF:Description>
    1.15 +            <em:version>20</em:version>
    1.16 +            <em:targetApplication>
    1.17 +              <RDF:Description>
    1.18 +                <em:id>xpcshell@tests.mozilla.org</em:id>
    1.19 +                <em:minVersion>2</em:minVersion>
    1.20 +                <em:maxVersion>2</em:maxVersion>
    1.21 +                <em:updateLink>http://localhost:4444/broken.xpi</em:updateLink>
    1.22 +              </RDF:Description>
    1.23 +            </em:targetApplication>
    1.24 +          </RDF:Description>
    1.25 +        </RDF:li>
    1.26 +        <!-- Valid install should be the version detected -->
    1.27 +        <RDF:li>
    1.28 +          <RDF:Description>
    1.29 +            <em:version>10</em:version>
    1.30 +            <em:targetApplication>
    1.31 +              <RDF:Description>
    1.32 +                <em:id>xpcshell@tests.mozilla.org</em:id>
    1.33 +                <em:minVersion>1</em:minVersion>
    1.34 +                <em:maxVersion>1</em:maxVersion>
    1.35 +                <em:updateLink>http://localhost:4444/broken.xpi</em:updateLink>
    1.36 +              </RDF:Description>
    1.37 +            </em:targetApplication>
    1.38 +          </RDF:Description>
    1.39 +        </RDF:li>
    1.40 +        <!-- Valid install. Detecting this would indicate that the order
    1.41 +             of entries is playing a part in the update detection. -->
    1.42 +        <RDF:li>
    1.43 +          <RDF:Description>
    1.44 +            <em:version>6</em:version>
    1.45 +            <em:targetApplication>
    1.46 +              <RDF:Description>
    1.47 +                <em:id>xpcshell@tests.mozilla.org</em:id>
    1.48 +                <em:minVersion>1</em:minVersion>
    1.49 +                <em:maxVersion>1</em:maxVersion>
    1.50 +                <em:updateLink>http://localhost:4444/broken.xpi</em:updateLink>
    1.51 +              </RDF:Description>
    1.52 +            </em:targetApplication>
    1.53 +          </RDF:Description>
    1.54 +        </RDF:li>
    1.55 +        <!-- Not a valid install - no minVersion or maxVersion specified -->
    1.56 +        <RDF:li>
    1.57 +          <RDF:Description>
    1.58 +            <em:version>40</em:version>
    1.59 +            <em:targetApplication>
    1.60 +              <RDF:Description>
    1.61 +                <em:id>xpcshell@tests.mozilla.org</em:id>
    1.62 +                <em:updateLink>http://localhost:4444/broken.xpi</em:updateLink>
    1.63 +              </RDF:Description>
    1.64 +            </em:targetApplication>
    1.65 +          </RDF:Description>
    1.66 +        </RDF:li>
    1.67 +        <!-- Not a valid install - incompatible app versions -->
    1.68 +        <RDF:li>
    1.69 +          <RDF:Description>
    1.70 +            <em:version>30</em:version>
    1.71 +            <em:targetApplication>
    1.72 +              <RDF:Description>
    1.73 +                <em:id>xpcshell@tests.mozilla.org</em:id>
    1.74 +                <em:minVersion>2</em:minVersion>
    1.75 +                <em:maxVersion>2</em:maxVersion>
    1.76 +                <em:updateLink>http://localhost:4444/broken.xpi</em:updateLink>
    1.77 +              </RDF:Description>
    1.78 +            </em:targetApplication>
    1.79 +          </RDF:Description>
    1.80 +        </RDF:li>
    1.81 +      </RDF:Seq>
    1.82 +    </em:updates>
    1.83 +  </RDF:Description>
    1.84 +
    1.85 +  <RDF:Description about="urn:mozilla:extension:bug394300_2@tests.mozilla.org">
    1.86 +    <em:updates>
    1.87 +      <RDF:Seq>
    1.88 +        <!-- Not a valid install - incompatible app versions -->
    1.89 +        <RDF:li>
    1.90 +          <RDF:Description>
    1.91 +            <em:version>20</em:version>
    1.92 +            <em:targetApplication>
    1.93 +              <RDF:Description>
    1.94 +                <em:id>toolkit@mozilla.org</em:id>
    1.95 +                <em:minVersion>2</em:minVersion>
    1.96 +                <em:maxVersion>2</em:maxVersion>
    1.97 +                <em:updateLink>http://localhost:4444/broken.xpi</em:updateLink>
    1.98 +              </RDF:Description>
    1.99 +            </em:targetApplication>
   1.100 +          </RDF:Description>
   1.101 +        </RDF:li>
   1.102 +        <!-- Valid install should be the version detected -->
   1.103 +        <RDF:li>
   1.104 +          <RDF:Description>
   1.105 +            <em:version>10</em:version>
   1.106 +            <em:targetApplication>
   1.107 +              <RDF:Description>
   1.108 +                <em:id>toolkit@mozilla.org</em:id>
   1.109 +                <em:minVersion>1.9</em:minVersion>
   1.110 +                <em:maxVersion>1.9</em:maxVersion>
   1.111 +                <em:updateLink>http://localhost:4444/broken.xpi</em:updateLink>
   1.112 +              </RDF:Description>
   1.113 +            </em:targetApplication>
   1.114 +          </RDF:Description>
   1.115 +        </RDF:li>
   1.116 +        <!-- Valid install. Detecting this would indicate that the order
   1.117 +             of entries is playing a part in the update detection. -->
   1.118 +        <RDF:li>
   1.119 +          <RDF:Description>
   1.120 +            <em:version>6</em:version>
   1.121 +            <em:targetApplication>
   1.122 +              <RDF:Description>
   1.123 +                <em:id>toolkit@mozilla.org</em:id>
   1.124 +                <em:minVersion>1.9</em:minVersion>
   1.125 +                <em:maxVersion>1.9</em:maxVersion>
   1.126 +                <em:updateLink>http://localhost:4444/broken.xpi</em:updateLink>
   1.127 +              </RDF:Description>
   1.128 +            </em:targetApplication>
   1.129 +          </RDF:Description>
   1.130 +        </RDF:li>
   1.131 +        <!-- Not a valid install - no minVersion or maxVersion specified -->
   1.132 +        <RDF:li>
   1.133 +          <RDF:Description>
   1.134 +            <em:version>40</em:version>
   1.135 +            <em:targetApplication>
   1.136 +              <RDF:Description>
   1.137 +                <em:id>toolkit@mozilla.org</em:id>
   1.138 +                <em:updateLink>http://localhost:4444/broken.xpi</em:updateLink>
   1.139 +              </RDF:Description>
   1.140 +            </em:targetApplication>
   1.141 +          </RDF:Description>
   1.142 +        </RDF:li>
   1.143 +        <!-- Not a valid install - incompatible app versions -->
   1.144 +        <RDF:li>
   1.145 +          <RDF:Description>
   1.146 +            <em:version>30</em:version>
   1.147 +            <em:targetApplication>
   1.148 +              <RDF:Description>
   1.149 +                <em:id>toolkit@mozilla.org</em:id>
   1.150 +                <em:minVersion>2</em:minVersion>
   1.151 +                <em:maxVersion>2</em:maxVersion>
   1.152 +                <em:updateLink>http://localhost:4444/broken.xpi</em:updateLink>
   1.153 +              </RDF:Description>
   1.154 +            </em:targetApplication>
   1.155 +          </RDF:Description>
   1.156 +        </RDF:li>
   1.157 +      </RDF:Seq>
   1.158 +    </em:updates>
   1.159 +  </RDF:Description>
   1.160 +
   1.161 +</RDF:RDF>
   1.162 +

mercurial