summaryrefslogtreecommitdiff
path: root/src/test/burn/WixToolsetTest.BurnE2E/PrereqBaTests.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/burn/WixToolsetTest.BurnE2E/PrereqBaTests.cs')
-rw-r--r--src/test/burn/WixToolsetTest.BurnE2E/PrereqBaTests.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/test/burn/WixToolsetTest.BurnE2E/PrereqBaTests.cs b/src/test/burn/WixToolsetTest.BurnE2E/PrereqBaTests.cs
index ec828f89..52e165b4 100644
--- a/src/test/burn/WixToolsetTest.BurnE2E/PrereqBaTests.cs
+++ b/src/test/burn/WixToolsetTest.BurnE2E/PrereqBaTests.cs
@@ -12,6 +12,8 @@ namespace WixToolsetTest.BurnE2E
12 { 12 {
13 public PrereqBaTests(ITestOutputHelper testOutputHelper) : base(testOutputHelper) { } 13 public PrereqBaTests(ITestOutputHelper testOutputHelper) : base(testOutputHelper) { }
14 14
15 const int E_PREREQBA_INFINITE_LOOP = -2_114_714_646;
16
15 /// <summary> 17 /// <summary>
16 /// This bundle purposely provides a .runtimeconfig.json file that requires a version of .NET Core that doesn't exist, 18 /// This bundle purposely provides a .runtimeconfig.json file that requires a version of .NET Core that doesn't exist,
17 /// with an MSI package to represent the prerequisite package. 19 /// with an MSI package to represent the prerequisite package.
@@ -32,7 +34,7 @@ namespace WixToolsetTest.BurnE2E
32 // Source file should *not* be installed 34 // Source file should *not* be installed
33 Assert.False(File.Exists(packageASourceCodeInstalled), $"Package A payload should not be there on test start: {packageASourceCodeInstalled}"); 35 Assert.False(File.Exists(packageASourceCodeInstalled), $"Package A payload should not be there on test start: {packageASourceCodeInstalled}");
34 36
35 bundleA.Install(); 37 bundleA.Install(E_PREREQBA_INFINITE_LOOP);
36 38
37 // Part of the test is Install actually completing. 39 // Part of the test is Install actually completing.
38 40
@@ -63,7 +65,7 @@ namespace WixToolsetTest.BurnE2E
63 // Source file should *not* be installed 65 // Source file should *not* be installed
64 Assert.False(File.Exists(packageBSourceCodeInstalled), $"Package B payload should not be there on test start: {packageBSourceCodeInstalled}"); 66 Assert.False(File.Exists(packageBSourceCodeInstalled), $"Package B payload should not be there on test start: {packageBSourceCodeInstalled}");
65 67
66 bundleB.Install(); 68 bundleB.Install(E_PREREQBA_INFINITE_LOOP);
67 69
68 // Part of the test is Install actually completing. 70 // Part of the test is Install actually completing.
69 71