diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2022-04-19 17:15:05 -0500 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2022-04-19 18:35:15 -0500 |
| commit | 57fd164d56466a52854e825afd5fdc2b6b97f12a (patch) | |
| tree | 7d4ace6d7a55c2a50302e3b6866456026a2c6222 /src/ext/Bal/test/WixToolsetTest.ManagedHost | |
| parent | 6435d26c7e2ce54ec38d0cc9eb4d2cb10e9614e0 (diff) | |
| download | wix-57fd164d56466a52854e825afd5fdc2b6b97f12a.tar.gz wix-57fd164d56466a52854e825afd5fdc2b6b97f12a.tar.bz2 wix-57fd164d56466a52854e825afd5fdc2b6b97f12a.zip | |
Replace Dnc.Host with Dnc.HostGenerator to support linker trimming.
Diffstat (limited to 'src/ext/Bal/test/WixToolsetTest.ManagedHost')
3 files changed, 125 insertions, 97 deletions
diff --git a/src/ext/Bal/test/WixToolsetTest.ManagedHost/DncHostFixture.cs b/src/ext/Bal/test/WixToolsetTest.ManagedHost/DncHostFixture.cs index 8dd5ff11..14b80fe8 100644 --- a/src/ext/Bal/test/WixToolsetTest.ManagedHost/DncHostFixture.cs +++ b/src/ext/Bal/test/WixToolsetTest.ManagedHost/DncHostFixture.cs | |||
| @@ -2,9 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolsetTest.ManagedHost | 3 | namespace WixToolsetTest.ManagedHost |
| 4 | { | 4 | { |
| 5 | using System.IO; | ||
| 6 | using WixBuildTools.TestSupport; | 5 | using WixBuildTools.TestSupport; |
| 7 | using WixToolset.Core.TestPackage; | ||
| 8 | using Xunit; | 6 | using Xunit; |
| 9 | 7 | ||
| 10 | public class DncHostFixture | 8 | public class DncHostFixture |
| @@ -21,11 +19,13 @@ namespace WixToolsetTest.ManagedHost | |||
| 21 | var testEngine = new TestEngine(); | 19 | var testEngine = new TestEngine(); |
| 22 | 20 | ||
| 23 | var result = testEngine.RunShutdownEngine(bundleFile, baseFolder); | 21 | var result = testEngine.RunShutdownEngine(bundleFile, baseFolder); |
| 24 | var logMessages = result.Output; | 22 | WixAssert.CompareLineByLine(new[] |
| 25 | Assert.Equal("Loading .NET Core FDD bootstrapper application.", logMessages[0]); | 23 | { |
| 26 | Assert.Equal("Creating BA thread to run asynchronously.", logMessages[1]); | 24 | "Loading .NET Core FDD bootstrapper application.", |
| 27 | Assert.Equal("EarliestCoreBA", logMessages[2]); | 25 | "Creating BA thread to run asynchronously.", |
| 28 | Assert.Equal("Shutdown,ReloadBootstrapper,0", logMessages[3]); | 26 | "EarliestCoreBA", |
| 27 | "Shutdown,ReloadBootstrapper,0", | ||
| 28 | }, result.Output.ToArray()); | ||
| 29 | } | 29 | } |
| 30 | } | 30 | } |
| 31 | 31 | ||
| @@ -39,14 +39,17 @@ namespace WixToolsetTest.ManagedHost | |||
| 39 | var testEngine = new TestEngine(); | 39 | var testEngine = new TestEngine(); |
| 40 | 40 | ||
| 41 | var result = testEngine.RunShutdownEngine(bundleFile, baseFolder); | 41 | var result = testEngine.RunShutdownEngine(bundleFile, baseFolder); |
| 42 | var logMessages = result.Output; | 42 | WixAssert.CompareLineByLine(new[] |
| 43 | Assert.Equal("Loading .NET Core SCD bootstrapper application.", logMessages[0]); | 43 | { |
| 44 | Assert.Equal("Creating BA thread to run asynchronously.", logMessages[1]); | 44 | "Loading .NET Core SCD bootstrapper application.", |
| 45 | Assert.Equal("EarliestCoreBA", logMessages[2]); | 45 | "Creating BA thread to run asynchronously.", |
| 46 | Assert.Equal("Shutdown,ReloadBootstrapper,0", logMessages[3]); | 46 | "EarliestCoreBA", |
| 47 | "Shutdown,ReloadBootstrapper,0", | ||
| 48 | }, result.Output.ToArray()); | ||
| 47 | } | 49 | } |
| 48 | } | 50 | } |
| 49 | 51 | ||
| 52 | [Fact] | ||
| 50 | public void CanLoadTrimmedSCDEarliestCoreMBA() | 53 | public void CanLoadTrimmedSCDEarliestCoreMBA() |
| 51 | { | 54 | { |
| 52 | using (var fs = new DisposableFileSystem()) | 55 | using (var fs = new DisposableFileSystem()) |
| @@ -56,11 +59,13 @@ namespace WixToolsetTest.ManagedHost | |||
| 56 | var testEngine = new TestEngine(); | 59 | var testEngine = new TestEngine(); |
| 57 | 60 | ||
| 58 | var result = testEngine.RunShutdownEngine(bundleFile, baseFolder); | 61 | var result = testEngine.RunShutdownEngine(bundleFile, baseFolder); |
| 59 | var logMessages = result.Output; | 62 | WixAssert.CompareLineByLine(new[] |
| 60 | Assert.Equal("Loading .NET Core SCD bootstrapper application.", logMessages[0]); | 63 | { |
| 61 | Assert.Equal("Creating BA thread to run asynchronously.", logMessages[1]); | 64 | "Loading .NET Core SCD bootstrapper application.", |
| 62 | Assert.Equal("EarliestCoreBA", logMessages[2]); | 65 | "Creating BA thread to run asynchronously.", |
| 63 | Assert.Equal("Shutdown,ReloadBootstrapper,0", logMessages[3]); | 66 | "EarliestCoreBA", |
| 67 | "Shutdown,ReloadBootstrapper,0", | ||
| 68 | }, result.Output.ToArray()); | ||
| 64 | } | 69 | } |
| 65 | } | 70 | } |
| 66 | 71 | ||
| @@ -74,16 +79,19 @@ namespace WixToolsetTest.ManagedHost | |||
| 74 | var testEngine = new TestEngine(); | 79 | var testEngine = new TestEngine(); |
| 75 | 80 | ||
| 76 | var result = testEngine.RunReloadEngine(bundleFile, baseFolder); | 81 | var result = testEngine.RunReloadEngine(bundleFile, baseFolder); |
| 77 | var logMessages = result.Output; | 82 | WixAssert.CompareLineByLine(new[] |
| 78 | Assert.Equal("Loading .NET Core SCD bootstrapper application.", logMessages[0]); | 83 | { |
| 79 | Assert.Equal("Creating BA thread to run asynchronously.", logMessages[1]); | 84 | "Loading .NET Core SCD bootstrapper application.", |
| 80 | Assert.Equal("EarliestCoreBA", logMessages[2]); | 85 | "Creating BA thread to run asynchronously.", |
| 81 | Assert.Equal("Shutdown,ReloadBootstrapper,0", logMessages[3]); | 86 | "EarliestCoreBA", |
| 82 | Assert.Equal("Loading .NET Core SCD bootstrapper application.", logMessages[4]); | 87 | "Shutdown,ReloadBootstrapper,0", |
| 83 | Assert.Equal("Reloaded 1 time(s)", logMessages[5]); // dnchost doesn't currently support unloading | 88 | "Loading .NET Core SCD bootstrapper application.", |
| 84 | Assert.Equal("Creating BA thread to run asynchronously.", logMessages[6]); | 89 | "Reloaded 1 time(s)", // dnchost doesn't currently support unloading |
| 85 | Assert.Equal("EarliestCoreBA", logMessages[7]); | 90 | "Creating BA thread to run asynchronously.", |
| 86 | Assert.Equal("Shutdown,Restart,0", logMessages[8]); | 91 | "EarliestCoreBA", |
| 92 | "Shutdown,Restart,0", | ||
| 93 | |||
| 94 | }, result.Output.ToArray()); | ||
| 87 | } | 95 | } |
| 88 | } | 96 | } |
| 89 | 97 | ||
| @@ -97,11 +105,13 @@ namespace WixToolsetTest.ManagedHost | |||
| 97 | var testEngine = new TestEngine(); | 105 | var testEngine = new TestEngine(); |
| 98 | 106 | ||
| 99 | var result = testEngine.RunShutdownEngine(bundleFile, baseFolder); | 107 | var result = testEngine.RunShutdownEngine(bundleFile, baseFolder); |
| 100 | var logMessages = result.Output; | 108 | WixAssert.CompareLineByLine(new[] |
| 101 | Assert.Equal("Loading .NET Core FDD bootstrapper application.", logMessages[0]); | 109 | { |
| 102 | Assert.Equal("Creating BA thread to run asynchronously.", logMessages[1]); | 110 | "Loading .NET Core FDD bootstrapper application.", |
| 103 | Assert.Equal("LatestCoreBA", logMessages[2]); | 111 | "Creating BA thread to run asynchronously.", |
| 104 | Assert.Equal("Shutdown,ReloadBootstrapper,0", logMessages[3]); | 112 | "LatestCoreBA", |
| 113 | "Shutdown,ReloadBootstrapper,0", | ||
| 114 | }, result.Output.ToArray()); | ||
| 105 | } | 115 | } |
| 106 | } | 116 | } |
| 107 | 117 | ||
| @@ -115,16 +125,18 @@ namespace WixToolsetTest.ManagedHost | |||
| 115 | var testEngine = new TestEngine(); | 125 | var testEngine = new TestEngine(); |
| 116 | 126 | ||
| 117 | var result = testEngine.RunReloadEngine(bundleFile, baseFolder); | 127 | var result = testEngine.RunReloadEngine(bundleFile, baseFolder); |
| 118 | var logMessages = result.Output; | 128 | WixAssert.CompareLineByLine(new[] |
| 119 | Assert.Equal("Loading .NET Core FDD bootstrapper application.", logMessages[0]); | 129 | { |
| 120 | Assert.Equal("Creating BA thread to run asynchronously.", logMessages[1]); | 130 | "Loading .NET Core FDD bootstrapper application.", |
| 121 | Assert.Equal("LatestCoreBA", logMessages[2]); | 131 | "Creating BA thread to run asynchronously.", |
| 122 | Assert.Equal("Shutdown,ReloadBootstrapper,0", logMessages[3]); | 132 | "LatestCoreBA", |
| 123 | Assert.Equal("Loading .NET Core FDD bootstrapper application.", logMessages[4]); | 133 | "Shutdown,ReloadBootstrapper,0", |
| 124 | Assert.Equal("Reloaded 1 time(s)", logMessages[5]); // dnchost doesn't currently support unloading | 134 | "Loading .NET Core FDD bootstrapper application.", |
| 125 | Assert.Equal("Creating BA thread to run asynchronously.", logMessages[6]); | 135 | "Reloaded 1 time(s)", // dnchost doesn't currently support unloading |
| 126 | Assert.Equal("LatestCoreBA", logMessages[7]); | 136 | "Creating BA thread to run asynchronously.", |
| 127 | Assert.Equal("Shutdown,Restart,0", logMessages[8]); | 137 | "LatestCoreBA", |
| 138 | "Shutdown,Restart,0", | ||
| 139 | }, result.Output.ToArray()); | ||
| 128 | } | 140 | } |
| 129 | } | 141 | } |
| 130 | 142 | ||
| @@ -138,11 +150,14 @@ namespace WixToolsetTest.ManagedHost | |||
| 138 | var testEngine = new TestEngine(); | 150 | var testEngine = new TestEngine(); |
| 139 | 151 | ||
| 140 | var result = testEngine.RunShutdownEngine(bundleFile, baseFolder); | 152 | var result = testEngine.RunShutdownEngine(bundleFile, baseFolder); |
| 153 | WixAssert.CompareLineByLine(new[] | ||
| 154 | { | ||
| 155 | "Loading .NET Core SCD bootstrapper application.", | ||
| 156 | "Creating BA thread to run asynchronously.", | ||
| 157 | "LatestCoreBA", | ||
| 158 | "Shutdown,ReloadBootstrapper,0", | ||
| 159 | }, result.Output.ToArray()); | ||
| 141 | var logMessages = result.Output; | 160 | var logMessages = result.Output; |
| 142 | Assert.Equal("Loading .NET Core SCD bootstrapper application.", logMessages[0]); | ||
| 143 | Assert.Equal("Creating BA thread to run asynchronously.", logMessages[1]); | ||
| 144 | Assert.Equal("LatestCoreBA", logMessages[2]); | ||
| 145 | Assert.Equal("Shutdown,ReloadBootstrapper,0", logMessages[3]); | ||
| 146 | } | 161 | } |
| 147 | } | 162 | } |
| 148 | 163 | ||
| @@ -156,11 +171,13 @@ namespace WixToolsetTest.ManagedHost | |||
| 156 | var testEngine = new TestEngine(); | 171 | var testEngine = new TestEngine(); |
| 157 | 172 | ||
| 158 | var result = testEngine.RunShutdownEngine(bundleFile, baseFolder); | 173 | var result = testEngine.RunShutdownEngine(bundleFile, baseFolder); |
| 159 | var logMessages = result.Output; | 174 | WixAssert.CompareLineByLine(new[] |
| 160 | Assert.Equal("Loading .NET Core SCD bootstrapper application.", logMessages[0]); | 175 | { |
| 161 | Assert.Equal("Creating BA thread to run asynchronously.", logMessages[1]); | 176 | "Loading .NET Core SCD bootstrapper application.", |
| 162 | Assert.Equal("LatestCoreBA", logMessages[2]); | 177 | "Creating BA thread to run asynchronously.", |
| 163 | Assert.Equal("Shutdown,ReloadBootstrapper,0", logMessages[3]); | 178 | "LatestCoreBA", |
| 179 | "Shutdown,ReloadBootstrapper,0", | ||
| 180 | }, result.Output.ToArray()); | ||
| 164 | } | 181 | } |
| 165 | } | 182 | } |
| 166 | 183 | ||
| @@ -174,16 +191,18 @@ namespace WixToolsetTest.ManagedHost | |||
| 174 | var testEngine = new TestEngine(); | 191 | var testEngine = new TestEngine(); |
| 175 | 192 | ||
| 176 | var result = testEngine.RunReloadEngine(bundleFile, baseFolder); | 193 | var result = testEngine.RunReloadEngine(bundleFile, baseFolder); |
| 177 | var logMessages = result.Output; | 194 | WixAssert.CompareLineByLine(new[] |
| 178 | Assert.Equal("Loading .NET Core SCD bootstrapper application.", logMessages[0]); | 195 | { |
| 179 | Assert.Equal("Creating BA thread to run asynchronously.", logMessages[1]); | 196 | "Loading .NET Core SCD bootstrapper application.", |
| 180 | Assert.Equal("LatestCoreBA", logMessages[2]); | 197 | "Creating BA thread to run asynchronously.", |
| 181 | Assert.Equal("Shutdown,ReloadBootstrapper,0", logMessages[3]); | 198 | "LatestCoreBA", |
| 182 | Assert.Equal("Loading .NET Core SCD bootstrapper application.", logMessages[4]); | 199 | "Shutdown,ReloadBootstrapper,0", |
| 183 | Assert.Equal("Reloaded 1 time(s)", logMessages[5]); // dnchost doesn't currently support unloading | 200 | "Loading .NET Core SCD bootstrapper application.", |
| 184 | Assert.Equal("Creating BA thread to run asynchronously.", logMessages[6]); | 201 | "Reloaded 1 time(s)", // dnchost doesn't currently support unloading |
| 185 | Assert.Equal("LatestCoreBA", logMessages[7]); | 202 | "Creating BA thread to run asynchronously.", |
| 186 | Assert.Equal("Shutdown,Restart,0", logMessages[8]); | 203 | "LatestCoreBA", |
| 204 | "Shutdown,Restart,0", | ||
| 205 | }, result.Output.ToArray()); | ||
| 187 | } | 206 | } |
| 188 | } | 207 | } |
| 189 | 208 | ||
| @@ -197,11 +216,13 @@ namespace WixToolsetTest.ManagedHost | |||
| 197 | var testEngine = new TestEngine(); | 216 | var testEngine = new TestEngine(); |
| 198 | 217 | ||
| 199 | var result = testEngine.RunShutdownEngine(bundleFile, baseFolder); | 218 | var result = testEngine.RunShutdownEngine(bundleFile, baseFolder); |
| 200 | var logMessages = result.Output; | 219 | WixAssert.CompareLineByLine(new[] |
| 201 | Assert.Equal("Loading .NET Core FDD bootstrapper application.", logMessages[0]); | 220 | { |
| 202 | Assert.Equal("Creating BA thread to run asynchronously.", logMessages[1]); | 221 | "Loading .NET Core FDD bootstrapper application.", |
| 203 | Assert.Equal("WPFCoreBA", logMessages[2]); | 222 | "Creating BA thread to run asynchronously.", |
| 204 | Assert.Equal("Shutdown,ReloadBootstrapper,0", logMessages[3]); | 223 | "WPFCoreBA", |
| 224 | "Shutdown,ReloadBootstrapper,0", | ||
| 225 | }, result.Output.ToArray()); | ||
| 205 | } | 226 | } |
| 206 | } | 227 | } |
| 207 | } | 228 | } |
diff --git a/src/ext/Bal/test/WixToolsetTest.ManagedHost/MbaHostFixture.cs b/src/ext/Bal/test/WixToolsetTest.ManagedHost/MbaHostFixture.cs index dd37ee58..b4ebe1c6 100644 --- a/src/ext/Bal/test/WixToolsetTest.ManagedHost/MbaHostFixture.cs +++ b/src/ext/Bal/test/WixToolsetTest.ManagedHost/MbaHostFixture.cs | |||
| @@ -2,9 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolsetTest.ManagedHost | 3 | namespace WixToolsetTest.ManagedHost |
| 4 | { | 4 | { |
| 5 | using System.IO; | ||
| 6 | using WixBuildTools.TestSupport; | 5 | using WixBuildTools.TestSupport; |
| 7 | using WixToolset.Core.TestPackage; | ||
| 8 | using Xunit; | 6 | using Xunit; |
| 9 | 7 | ||
| 10 | public class MbaHostFixture | 8 | public class MbaHostFixture |
| @@ -21,11 +19,13 @@ namespace WixToolsetTest.ManagedHost | |||
| 21 | var testEngine = new TestEngine(); | 19 | var testEngine = new TestEngine(); |
| 22 | 20 | ||
| 23 | var result = testEngine.RunShutdownEngine(bundleFile, baseFolder); | 21 | var result = testEngine.RunShutdownEngine(bundleFile, baseFolder); |
| 24 | var logMessages = result.Output; | 22 | WixAssert.CompareLineByLine(new[] |
| 25 | Assert.Equal("Loading managed bootstrapper application.", logMessages[0]); | 23 | { |
| 26 | Assert.Equal("Creating BA thread to run asynchronously.", logMessages[1]); | 24 | "Loading managed bootstrapper application.", |
| 27 | Assert.Equal("FullFramework2BA", logMessages[2]); | 25 | "Creating BA thread to run asynchronously.", |
| 28 | Assert.Equal("Shutdown,ReloadBootstrapper,0", logMessages[3]); | 26 | "FullFramework2BA", |
| 27 | "Shutdown,ReloadBootstrapper,0", | ||
| 28 | }, result.Output.ToArray()); | ||
| 29 | } | 29 | } |
| 30 | } | 30 | } |
| 31 | 31 | ||
| @@ -39,11 +39,13 @@ namespace WixToolsetTest.ManagedHost | |||
| 39 | var testEngine = new TestEngine(); | 39 | var testEngine = new TestEngine(); |
| 40 | 40 | ||
| 41 | var result = testEngine.RunShutdownEngine(bundleFile, baseFolder); | 41 | var result = testEngine.RunShutdownEngine(bundleFile, baseFolder); |
| 42 | var logMessages = result.Output; | 42 | WixAssert.CompareLineByLine(new[] |
| 43 | Assert.Equal("Loading managed bootstrapper application.", logMessages[0]); | 43 | { |
| 44 | Assert.Equal("Creating BA thread to run asynchronously.", logMessages[1]); | 44 | "Loading managed bootstrapper application.", |
| 45 | Assert.Equal("FullFramework4BA", logMessages[2]); | 45 | "Creating BA thread to run asynchronously.", |
| 46 | Assert.Equal("Shutdown,ReloadBootstrapper,0", logMessages[3]); | 46 | "FullFramework4BA", |
| 47 | "Shutdown,ReloadBootstrapper,0", | ||
| 48 | }, result.Output.ToArray()); | ||
| 47 | } | 49 | } |
| 48 | } | 50 | } |
| 49 | 51 | ||
| @@ -57,15 +59,17 @@ namespace WixToolsetTest.ManagedHost | |||
| 57 | var testEngine = new TestEngine(); | 59 | var testEngine = new TestEngine(); |
| 58 | 60 | ||
| 59 | var result = testEngine.RunReloadEngine(bundleFile, baseFolder); | 61 | var result = testEngine.RunReloadEngine(bundleFile, baseFolder); |
| 60 | var logMessages = result.Output; | 62 | WixAssert.CompareLineByLine(new[] |
| 61 | Assert.Equal("Loading managed bootstrapper application.", logMessages[0]); | 63 | { |
| 62 | Assert.Equal("Creating BA thread to run asynchronously.", logMessages[1]); | 64 | "Loading managed bootstrapper application.", |
| 63 | Assert.Equal("FullFramework2BA", logMessages[2]); | 65 | "Creating BA thread to run asynchronously.", |
| 64 | Assert.Equal("Shutdown,ReloadBootstrapper,0", logMessages[3]); | 66 | "FullFramework2BA", |
| 65 | Assert.Equal("Loading managed bootstrapper application.", logMessages[4]); | 67 | "Shutdown,ReloadBootstrapper,0", |
| 66 | Assert.Equal("Creating BA thread to run asynchronously.", logMessages[5]); | 68 | "Loading managed bootstrapper application.", |
| 67 | Assert.Equal("FullFramework2BA", logMessages[6]); | 69 | "Creating BA thread to run asynchronously.", |
| 68 | Assert.Equal("Shutdown,Restart,0", logMessages[7]); | 70 | "FullFramework2BA", |
| 71 | "Shutdown,Restart,0", | ||
| 72 | }, result.Output.ToArray()); | ||
| 69 | } | 73 | } |
| 70 | } | 74 | } |
| 71 | 75 | ||
| @@ -79,15 +83,17 @@ namespace WixToolsetTest.ManagedHost | |||
| 79 | var testEngine = new TestEngine(); | 83 | var testEngine = new TestEngine(); |
| 80 | 84 | ||
| 81 | var result = testEngine.RunReloadEngine(bundleFile, baseFolder); | 85 | var result = testEngine.RunReloadEngine(bundleFile, baseFolder); |
| 82 | var logMessages = result.Output; | 86 | WixAssert.CompareLineByLine(new[] |
| 83 | Assert.Equal("Loading managed bootstrapper application.", logMessages[0]); | 87 | { |
| 84 | Assert.Equal("Creating BA thread to run asynchronously.", logMessages[1]); | 88 | "Loading managed bootstrapper application.", |
| 85 | Assert.Equal("FullFramework4BA", logMessages[2]); | 89 | "Creating BA thread to run asynchronously.", |
| 86 | Assert.Equal("Shutdown,ReloadBootstrapper,0", logMessages[3]); | 90 | "FullFramework4BA", |
| 87 | Assert.Equal("Loading managed bootstrapper application.", logMessages[4]); | 91 | "Shutdown,ReloadBootstrapper,0", |
| 88 | Assert.Equal("Creating BA thread to run asynchronously.", logMessages[5]); | 92 | "Loading managed bootstrapper application.", |
| 89 | Assert.Equal("FullFramework4BA", logMessages[6]); | 93 | "Creating BA thread to run asynchronously.", |
| 90 | Assert.Equal("Shutdown,Restart,0", logMessages[7]); | 94 | "FullFramework4BA", |
| 95 | "Shutdown,Restart,0", | ||
| 96 | }, result.Output.ToArray()); | ||
| 91 | } | 97 | } |
| 92 | } | 98 | } |
| 93 | } | 99 | } |
diff --git a/src/ext/Bal/test/WixToolsetTest.ManagedHost/TestEngine.cs b/src/ext/Bal/test/WixToolsetTest.ManagedHost/TestEngine.cs index 9d7fc9db..30d97f3e 100644 --- a/src/ext/Bal/test/WixToolsetTest.ManagedHost/TestEngine.cs +++ b/src/ext/Bal/test/WixToolsetTest.ManagedHost/TestEngine.cs | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolsetTest.ManagedHost | 3 | namespace WixToolsetTest.ManagedHost |
| 4 | { | 4 | { |
| 5 | using System; | ||
| 5 | using System.Collections.Generic; | 6 | using System.Collections.Generic; |
| 6 | using System.Diagnostics; | 7 | using System.Diagnostics; |
| 7 | using System.IO; | 8 | using System.IO; |
| @@ -41,7 +42,7 @@ namespace WixToolsetTest.ManagedHost | |||
| 41 | { | 42 | { |
| 42 | var startInfo = new ProcessStartInfo(executablePath) | 43 | var startInfo = new ProcessStartInfo(executablePath) |
| 43 | { | 44 | { |
| 44 | Arguments = string.Join(' ', arguments), | 45 | Arguments = String.Join(' ', arguments), |
| 45 | CreateNoWindow = true, | 46 | CreateNoWindow = true, |
| 46 | RedirectStandardError = true, | 47 | RedirectStandardError = true, |
| 47 | RedirectStandardOutput = true, | 48 | RedirectStandardOutput = true, |
