From 03db7922de5b7e04300e0ed09e24f7b8890ec2e8 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Tue, 4 May 2021 13:22:13 -0700 Subject: Move DifxApp.wixext into ext --- .../DifxAppExtensionFixture.cs | 36 ------------------- .../TestData/UsingDriver/Package.en-us.wxl | 11 ------ .../TestData/UsingDriver/Package.wxs | 15 -------- .../TestData/UsingDriver/PackageComponents.wxs | 12 ------- .../TestData/UsingDriver/example.txt | 1 - .../WixToolsetTest.DifxApp.csproj | 41 ---------------------- 6 files changed, 116 deletions(-) delete mode 100644 src/test/WixToolsetTest.DifxApp/DifxAppExtensionFixture.cs delete mode 100644 src/test/WixToolsetTest.DifxApp/TestData/UsingDriver/Package.en-us.wxl delete mode 100644 src/test/WixToolsetTest.DifxApp/TestData/UsingDriver/Package.wxs delete mode 100644 src/test/WixToolsetTest.DifxApp/TestData/UsingDriver/PackageComponents.wxs delete mode 100644 src/test/WixToolsetTest.DifxApp/TestData/UsingDriver/example.txt delete mode 100644 src/test/WixToolsetTest.DifxApp/WixToolsetTest.DifxApp.csproj (limited to 'src/test') diff --git a/src/test/WixToolsetTest.DifxApp/DifxAppExtensionFixture.cs b/src/test/WixToolsetTest.DifxApp/DifxAppExtensionFixture.cs deleted file mode 100644 index f5166453..00000000 --- a/src/test/WixToolsetTest.DifxApp/DifxAppExtensionFixture.cs +++ /dev/null @@ -1,36 +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.DifxApp -{ - using System.Linq; - using WixBuildTools.TestSupport; - using WixToolset.Core.TestPackage; - using WixToolset.DifxApp; - using Xunit; - - public class DifxAppExtensionFixture - { - [Fact] - public void CanBuildUsingDriver() - { - var folder = TestData.Get(@"TestData\UsingDriver"); - var build = new Builder(folder, typeof(DifxAppExtensionFactory), new[] { folder }); - - var results = build.BuildAndQuery(Build, "CustomAction"); - Assert.Equal(new[] - { - "CustomAction:MsiCleanupOnSuccess\t1\tDIFxApp.dll\tCleanupOnSuccess\t", - "CustomAction:MsiInstallDrivers\t3073\tDIFxAppA.dll\tInstallDriverPackages\t", - "CustomAction:MsiProcessDrivers\t1\tDIFxApp.dll\tProcessDriverPackages\t", - "CustomAction:MsiRollbackInstall\t3329\tDIFxAppA.dll\tRollbackInstall\t", - "CustomAction:MsiUninstallDrivers\t3073\tDIFxAppA.dll\tUninstallDriverPackages\t", - }, results); - } - - private static void Build(string[] args) - { - var result = WixRunner.Execute(args) - .AssertSuccess(); - } - } -} diff --git a/src/test/WixToolsetTest.DifxApp/TestData/UsingDriver/Package.en-us.wxl b/src/test/WixToolsetTest.DifxApp/TestData/UsingDriver/Package.en-us.wxl deleted file mode 100644 index 38c12ac1..00000000 --- a/src/test/WixToolsetTest.DifxApp/TestData/UsingDriver/Package.en-us.wxl +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - A newer version of [ProductName] is already installed. - MsiPackage - - diff --git a/src/test/WixToolsetTest.DifxApp/TestData/UsingDriver/Package.wxs b/src/test/WixToolsetTest.DifxApp/TestData/UsingDriver/Package.wxs deleted file mode 100644 index 411893bc..00000000 --- a/src/test/WixToolsetTest.DifxApp/TestData/UsingDriver/Package.wxs +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/src/test/WixToolsetTest.DifxApp/TestData/UsingDriver/PackageComponents.wxs b/src/test/WixToolsetTest.DifxApp/TestData/UsingDriver/PackageComponents.wxs deleted file mode 100644 index 9609771a..00000000 --- a/src/test/WixToolsetTest.DifxApp/TestData/UsingDriver/PackageComponents.wxs +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - diff --git a/src/test/WixToolsetTest.DifxApp/TestData/UsingDriver/example.txt b/src/test/WixToolsetTest.DifxApp/TestData/UsingDriver/example.txt deleted file mode 100644 index 1b4ffe8a..00000000 --- a/src/test/WixToolsetTest.DifxApp/TestData/UsingDriver/example.txt +++ /dev/null @@ -1 +0,0 @@ -This is example.txt. \ No newline at end of file diff --git a/src/test/WixToolsetTest.DifxApp/WixToolsetTest.DifxApp.csproj b/src/test/WixToolsetTest.DifxApp/WixToolsetTest.DifxApp.csproj deleted file mode 100644 index e205d24a..00000000 --- a/src/test/WixToolsetTest.DifxApp/WixToolsetTest.DifxApp.csproj +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - netcoreapp3.1 - false - - - - NU1701 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- cgit v1.2.3-55-g6feb