diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/test/WixToolsetTest.CoreIntegration/BundleFixture.cs | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/test/WixToolsetTest.CoreIntegration/BundleFixture.cs b/src/test/WixToolsetTest.CoreIntegration/BundleFixture.cs index a1896d0d..96a9a013 100644 --- a/src/test/WixToolsetTest.CoreIntegration/BundleFixture.cs +++ b/src/test/WixToolsetTest.CoreIntegration/BundleFixture.cs | |||
@@ -174,6 +174,35 @@ namespace WixToolsetTest.CoreIntegration | |||
174 | } | 174 | } |
175 | } | 175 | } |
176 | 176 | ||
177 | [Fact(Skip = "Test demonstrates failure")] | ||
178 | public void CantBuildSingleExeBundleWithInvalidArgument() | ||
179 | { | ||
180 | var folder = TestData.Get(@"TestData"); | ||
181 | |||
182 | using (var fs = new DisposableFileSystem()) | ||
183 | { | ||
184 | var baseFolder = fs.GetFolder(); | ||
185 | var intermediateFolder = Path.Combine(baseFolder, "obj"); | ||
186 | var exePath = Path.Combine(baseFolder, @"bin\test.exe"); | ||
187 | |||
188 | var result = WixRunner.Execute(new[] | ||
189 | { | ||
190 | "build", | ||
191 | Path.Combine(folder, "SingleExeBundle", "SingleExePackageGroup.wxs"), | ||
192 | Path.Combine(folder, "BundleWithPackageGroupRef", "Bundle.wxs"), | ||
193 | "-bindpath", Path.Combine(folder, "SimpleBundle", "data"), | ||
194 | "-bindpath", Path.Combine(folder, ".Data"), | ||
195 | "-intermediateFolder", intermediateFolder, | ||
196 | "-o", exePath, | ||
197 | "-nonexistentswitch", "param", | ||
198 | }); | ||
199 | |||
200 | Assert.NotEqual(0, result.ExitCode); | ||
201 | |||
202 | Assert.False(File.Exists(exePath)); | ||
203 | } | ||
204 | } | ||
205 | |||
177 | [Fact] | 206 | [Fact] |
178 | public void CanBuildSingleExeRemotePayloadBundle() | 207 | public void CanBuildSingleExeRemotePayloadBundle() |
179 | { | 208 | { |