main
cs 27 lines 949 Bytes
Raw
1 // 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.
2
3 namespace WixToolsetTest.MsiE2E
4 {
5 using System;
6 using System.Collections.Generic;
7 using System.Linq;
8 using System.Text;
9 using System.Threading.Tasks;
10 using WixTestTools;
11 using Xunit.Abstractions;
12
13 public class MsmqExtensionTests : MsiE2ETests
14 {
15 public MsmqExtensionTests(ITestOutputHelper testOutputHelper) : base(testOutputHelper)
16 {
17 }
18
19 [RuntimePrereqFeatureFact("MSMQ-Container", "MSMQ-Server")]
20 public void CanInstallAndUninstallMsmq()
21 {
22 var product = this.CreatePackageInstaller("MsmqInstall");
23 product.InstallProduct(MSIExec.MSIExecReturnCode.SUCCESS);
24 product.UninstallProduct(MSIExec.MSIExecReturnCode.SUCCESS);
25 }
26 }
27 }