aboutsummaryrefslogtreecommitdiff
path: root/src/test/WixToolsetTest.CoreIntegration/BundleFixture.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/WixToolsetTest.CoreIntegration/BundleFixture.cs')
-rw-r--r--src/test/WixToolsetTest.CoreIntegration/BundleFixture.cs56
1 files changed, 54 insertions, 2 deletions
diff --git a/src/test/WixToolsetTest.CoreIntegration/BundleFixture.cs b/src/test/WixToolsetTest.CoreIntegration/BundleFixture.cs
index ad1648e6..1e3f1e24 100644
--- a/src/test/WixToolsetTest.CoreIntegration/BundleFixture.cs
+++ b/src/test/WixToolsetTest.CoreIntegration/BundleFixture.cs
@@ -245,7 +245,7 @@ namespace WixToolsetTest.CoreIntegration
245 } 245 }
246 } 246 }
247 247
248 [Fact(Skip = "Test demonstrates failure")] 248 [Fact(Skip = "Test demonstrates failure")] //https://github.com/wixtoolset/issues/issues/4628
249 public void CantBuildWithDuplicateCacheIds() 249 public void CantBuildWithDuplicateCacheIds()
250 { 250 {
251 var folder = TestData.Get(@"TestData"); 251 var folder = TestData.Get(@"TestData");
@@ -271,7 +271,7 @@ namespace WixToolsetTest.CoreIntegration
271 } 271 }
272 } 272 }
273 273
274 [Fact(Skip = "Test demonstrates failure")] 274 [Fact(Skip = "Test demonstrates failure")] //https://github.com/wixtoolset/issues/issues/4574
275 public void CantBuildWithDuplicatePayloadNames() 275 public void CantBuildWithDuplicatePayloadNames()
276 { 276 {
277 var folder = TestData.Get(@"TestData"); 277 var folder = TestData.Get(@"TestData");
@@ -296,5 +296,57 @@ namespace WixToolsetTest.CoreIntegration
296 Assert.InRange(result.ExitCode, 2, Int32.MaxValue); 296 Assert.InRange(result.ExitCode, 2, Int32.MaxValue);
297 } 297 }
298 } 298 }
299
300 [Fact(Skip = "Test demonstrates failure")] //https://github.com/wixtoolset/issues/issues/6291
301 public void CantBuildWithUnscheduledPackage()
302 {
303 var folder = TestData.Get(@"TestData");
304
305 using (var fs = new DisposableFileSystem())
306 {
307 var baseFolder = fs.GetFolder();
308 var intermediateFolder = Path.Combine(baseFolder, "obj");
309 var exePath = Path.Combine(baseFolder, @"bin\test.exe");
310
311 var result = WixRunner.Execute(new[]
312 {
313 "build",
314 Path.Combine(folder, "BadInput", "UnscheduledPackage.wxs"),
315 Path.Combine(folder, "BundleWithPackageGroupRef", "Bundle.wxs"),
316 "-bindpath", Path.Combine(folder, "SimpleBundle", "data"),
317 "-bindpath", Path.Combine(folder, ".Data"),
318 "-intermediateFolder", intermediateFolder,
319 "-o", exePath,
320 });
321
322 Assert.InRange(result.ExitCode, 2, Int32.MaxValue);
323 }
324 }
325
326 [Fact(Skip = "Test demonstrates failure")] //https://github.com/wixtoolset/issues/issues/6291
327 public void CantBuildWithUnscheduledRollbackBoundary()
328 {
329 var folder = TestData.Get(@"TestData");
330
331 using (var fs = new DisposableFileSystem())
332 {
333 var baseFolder = fs.GetFolder();
334 var intermediateFolder = Path.Combine(baseFolder, "obj");
335 var exePath = Path.Combine(baseFolder, @"bin\test.exe");
336
337 var result = WixRunner.Execute(new[]
338 {
339 "build",
340 Path.Combine(folder, "BadInput", "UnscheduledRollbackBoundary.wxs"),
341 Path.Combine(folder, "BundleWithPackageGroupRef", "Bundle.wxs"),
342 "-bindpath", Path.Combine(folder, "SimpleBundle", "data"),
343 "-bindpath", Path.Combine(folder, ".Data"),
344 "-intermediateFolder", intermediateFolder,
345 "-o", exePath,
346 });
347
348 Assert.InRange(result.ExitCode, 2, Int32.MaxValue);
349 }
350 }
299 } 351 }
300} 352}