summaryrefslogtreecommitdiff
path: root/src/test/msi/WixToolsetTest.MsiE2E/MsmqExtensionTests.cs
blob: 41eb8201d50d044a6654104a730cba98b71c5a98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// 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.MsiE2E
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using WixTestTools;
    using Xunit.Abstractions;

    public class MsmqExtensionTests : MsiE2ETests
    {
        public MsmqExtensionTests(ITestOutputHelper testOutputHelper) : base(testOutputHelper)
        {
        }

        [RuntimePrereqFeatureFact("MSMQ-Container", "MSMQ-Server")]
        public void CanInstallAndUninstallMsmq()
        {
            var product = this.CreatePackageInstaller("MsmqInstall");
            product.InstallProduct(MSIExec.MSIExecReturnCode.SUCCESS);
            product.UninstallProduct(MSIExec.MSIExecReturnCode.SUCCESS);
        }
    }
}