From 8cf0427984a88b0b3ddfb2061e5be721afffe82e Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Thu, 22 Apr 2021 17:19:56 -0700 Subject: Move Core into wix --- .../ComponentFixture.cs | 45 ---------------------- 1 file changed, 45 deletions(-) delete mode 100644 src/test/WixToolsetTest.CoreIntegration/ComponentFixture.cs (limited to 'src/test/WixToolsetTest.CoreIntegration/ComponentFixture.cs') diff --git a/src/test/WixToolsetTest.CoreIntegration/ComponentFixture.cs b/src/test/WixToolsetTest.CoreIntegration/ComponentFixture.cs deleted file mode 100644 index d24ba08c..00000000 --- a/src/test/WixToolsetTest.CoreIntegration/ComponentFixture.cs +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. - -namespace WixToolsetTest.CoreIntegration -{ - using System; - using System.IO; - using System.Linq; - using WixBuildTools.TestSupport; - using WixToolset.Core.TestPackage; - using WixToolset.Data; - using Xunit; - - public class ComponentFixture - { - [Fact] - public void CanDetectDuplicateComponentGuids() - { - var folder = TestData.Get(@"TestData"); - - using (var fs = new DisposableFileSystem()) - { - var baseFolder = fs.GetFolder(); - var intermediateFolder = Path.Combine(baseFolder, "obj"); - var msiPath = Path.Combine(baseFolder, @"bin\test.msi"); - - var result = WixRunner.Execute(new[] - { - "build", - Path.Combine(folder, "Component", "GuidCollision.wxs"), - Path.Combine(folder, "ProductWithComponentGroupRef", "Product.wxs"), - "-bindpath", Path.Combine(folder, "SingleFile", "data"), - "-intermediateFolder", intermediateFolder, - "-o", msiPath - }); - - var errors = result.Messages.Where(m => m.Level == MessageLevel.Error); - Array.Equals(new[] - { - 369, - 369 - }, errors.Select(e => e.Id).ToArray()); - } - } - } -} -- cgit v1.2.3-55-g6feb