aboutsummaryrefslogtreecommitdiff
path: root/src/test/burn/TestData/UpdateBundleTests
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2022-09-15 12:17:07 -0500
committerSean Hall <r.sean.hall@gmail.com>2022-09-15 14:14:04 -0500
commit95e8b1be902cce3b5a394066a62e0c32d0688261 (patch)
tree955b165715e275b70033cf7cd4c956d71d365d21 /src/test/burn/TestData/UpdateBundleTests
parentca3bf7968865be1cb80e9d63e7cc177f92469e2f (diff)
downloadwix-95e8b1be902cce3b5a394066a62e0c32d0688261.tar.gz
wix-95e8b1be902cce3b5a394066a62e0c32d0688261.tar.bz2
wix-95e8b1be902cce3b5a394066a62e0c32d0688261.zip
Add more burn E2E tests.
Fix bug where first splash screen wasn't closed. Fix bug where billboard only started the first time. Fix bug where the restart status was lost when the exit code was an error. Fix bug where the hash byte array length was compared to the hash string length (string is twice as long). Fix bug where Burn didn't give update hash if the first byte was 0.
Diffstat (limited to 'src/test/burn/TestData/UpdateBundleTests')
-rw-r--r--src/test/burn/TestData/UpdateBundleTests/BundleBv1/FeedBv2.0_wronghash.xml54
1 files changed, 54 insertions, 0 deletions
diff --git a/src/test/burn/TestData/UpdateBundleTests/BundleBv1/FeedBv2.0_wronghash.xml b/src/test/burn/TestData/UpdateBundleTests/BundleBv1/FeedBv2.0_wronghash.xml
new file mode 100644
index 00000000..82ce6837
--- /dev/null
+++ b/src/test/burn/TestData/UpdateBundleTests/BundleBv1/FeedBv2.0_wronghash.xml
@@ -0,0 +1,54 @@
1<?xml version='1.0' ?>
2<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->
3
4
5<feed xmlns="http://www.w3.org/2005/Atom" xmlns:as="http://appsyndication.org/2006/appsyn">
6 <title type="text">BundleB v2.0</title>
7 <subtitle type="text">Bundle Subtitle.</subtitle>
8 <as:application type="application/exe">1116353B-7C6E-4C29-BFA1-D4A972CD421D</as:application>
9 <updated>2014-07-14T12:39:00.000Z</updated>
10 <id>http://localhost:9999/e2e/BundleB/feed</id>
11 <link rel="self" type="application/atom+xml" href="http://localhost:9999/e2e/BundleB/feed"/>
12 <generator version="0.1">manual build</generator>
13 <entry>
14 <title>Bundle v2.0</title>
15 <id>v2.0</id>
16 <author>
17 <name>Bundle_Author</name>
18 <uri>http://mycompany.com/software</uri>
19 <email>Bundle_Author@mycompany.com</email>
20 </author>
21 <link rel="alternate" href="http://www.mycompany.com/content/view/software"/>
22 <link rel="enclosure" href="http://localhost:9999/e2e/BundleB/2.0/BundleB.exe" length="0" type="application/octet-stream">
23 <as:name>this hash is supposed to be wrong but has a tiny chance of actually being right</as:name>
24 <as:digest algorithm="sha512">00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000</as:digest>
25 </link>
26 <content type="html">
27 &lt;p&gt;Change list:&lt;/p&gt;&lt;ul&gt;
28 &lt;li&gt;Updated release.&lt;/li&gt;
29 &lt;/ul&gt;
30 </content>
31 <as:upgrade version="1.0" />
32 <as:version>2.0.0.0</as:version>
33 <updated>2014-11-10T12:39:00.000Z</updated>
34 </entry>
35 <entry>
36 <title>Bundle v1.0</title>
37 <id>v1.0</id>
38 <author>
39 <name>Bundle_Author</name>
40 <uri>http://mycompany.com/software</uri>
41 <email>Bundle_Author@mycompany.com</email>
42 </author>
43 <link rel="alternate" href="http://www.mycompany.com/content/view/software"/>
44 <link rel="enclosure" href="http://localhost:9999/e2e/BundleB/1.0/BundleB.exe" length="0" type="application/octet-stream"/>
45 <content type="html">
46 &lt;p&gt;Change list:&lt;/p&gt;&lt;ul&gt;
47 &lt;li&gt;Initial release.&lt;/li&gt;
48 &lt;/ul&gt;
49 </content>
50 <as:upgrade version="1.0.0.0-preview" />
51 <as:version>1.0.0.0</as:version>
52 <updated>2014-11-09T12:39:00.000Z</updated>
53 </entry>
54</feed>