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.cs52
1 files changed, 52 insertions, 0 deletions
diff --git a/src/test/WixToolsetTest.CoreIntegration/BundleFixture.cs b/src/test/WixToolsetTest.CoreIntegration/BundleFixture.cs
index 5e1e5866..ad1648e6 100644
--- a/src/test/WixToolsetTest.CoreIntegration/BundleFixture.cs
+++ b/src/test/WixToolsetTest.CoreIntegration/BundleFixture.cs
@@ -244,5 +244,57 @@ namespace WixToolsetTest.CoreIntegration
244 Assert.True(File.Exists(exePath)); 244 Assert.True(File.Exists(exePath));
245 } 245 }
246 } 246 }
247
248 [Fact(Skip = "Test demonstrates failure")]
249 public void CantBuildWithDuplicateCacheIds()
250 {
251 var folder = TestData.Get(@"TestData");
252
253 using (var fs = new DisposableFileSystem())
254 {
255 var baseFolder = fs.GetFolder();
256 var intermediateFolder = Path.Combine(baseFolder, "obj");
257 var exePath = Path.Combine(baseFolder, @"bin\test.exe");
258
259 var result = WixRunner.Execute(new[]
260 {
261 "build",
262 Path.Combine(folder, "BadInput", "DuplicateCacheIds.wxs"),
263 Path.Combine(folder, "BundleWithPackageGroupRef", "Bundle.wxs"),
264 "-bindpath", Path.Combine(folder, "SimpleBundle", "data"),
265 "-bindpath", Path.Combine(folder, ".Data"),
266 "-intermediateFolder", intermediateFolder,
267 "-o", exePath,
268 });
269
270 Assert.InRange(result.ExitCode, 2, Int32.MaxValue);
271 }
272 }
273
274 [Fact(Skip = "Test demonstrates failure")]
275 public void CantBuildWithDuplicatePayloadNames()
276 {
277 var folder = TestData.Get(@"TestData");
278
279 using (var fs = new DisposableFileSystem())
280 {
281 var baseFolder = fs.GetFolder();
282 var intermediateFolder = Path.Combine(baseFolder, "obj");
283 var exePath = Path.Combine(baseFolder, @"bin\test.exe");
284
285 var result = WixRunner.Execute(new[]
286 {
287 "build",
288 Path.Combine(folder, "BadInput", "DuplicatePayloadNames.wxs"),
289 Path.Combine(folder, "BundleWithPackageGroupRef", "Bundle.wxs"),
290 "-bindpath", Path.Combine(folder, "SimpleBundle", "data"),
291 "-bindpath", Path.Combine(folder, ".Data"),
292 "-intermediateFolder", intermediateFolder,
293 "-o", exePath,
294 });
295
296 Assert.InRange(result.ExitCode, 2, Int32.MaxValue);
297 }
298 }
247 } 299 }
248} 300}