diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2020-12-19 14:23:44 -0600 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2020-12-19 21:32:39 -0600 |
| commit | 149867e176f22fe0af1a57355a7ace820710a791 (patch) | |
| tree | b4719d0fe980bc78398c1717b3683f33afb6e1c8 /src/test/WixToolsetTest.CoreIntegration/BundleFixture.cs | |
| parent | 0e71bdd637a6b3c34f18d4b3630d55fa4cdfd2a3 (diff) | |
| download | wix-149867e176f22fe0af1a57355a7ace820710a791.tar.gz wix-149867e176f22fe0af1a57355a7ace820710a791.tar.bz2 wix-149867e176f22fe0af1a57355a7ace820710a791.zip | |
Add more failing tests and label them with the issue number.
Diffstat (limited to 'src/test/WixToolsetTest.CoreIntegration/BundleFixture.cs')
| -rw-r--r-- | src/test/WixToolsetTest.CoreIntegration/BundleFixture.cs | 56 |
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 | } |
