summaryrefslogtreecommitdiff
path: root/src/test/msi/WixToolsetTest.MsiE2E/MsmqExtensionTests.cs
diff options
context:
space:
mode:
authorBevan Weiss <bevan.weiss@gmail.com>2024-07-15 20:06:54 +1000
committerRob Mensching <rob@firegiant.com>2024-07-18 09:59:43 -0700
commitce73352b1fa1d4f9cded10a0ee410f2e786bd326 (patch)
tree2f96b17fa23f8433cc3ff0f8e260c90122276358 /src/test/msi/WixToolsetTest.MsiE2E/MsmqExtensionTests.cs
parent8fb5d579e8cf5eb0f93d07a73bf318a8969c6b10 (diff)
downloadwix-ce73352b1fa1d4f9cded10a0ee410f2e786bd326.tar.gz
wix-ce73352b1fa1d4f9cded10a0ee410f2e786bd326.tar.bz2
wix-ce73352b1fa1d4f9cded10a0ee410f2e786bd326.zip
Add basic test for Msmq install/uninstall.
Fix up lack of WIX CUSTOM_ACTION_DECORATION wrappers Add new RuntimeTest skipper for Server Features / Optional Features. Signed-off-by: Bevan Weiss <bevan.weiss@gmail.com>
Diffstat (limited to '')
-rw-r--r--src/test/msi/WixToolsetTest.MsiE2E/MsmqExtensionTests.cs27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/test/msi/WixToolsetTest.MsiE2E/MsmqExtensionTests.cs b/src/test/msi/WixToolsetTest.MsiE2E/MsmqExtensionTests.cs
new file mode 100644
index 00000000..41eb8201
--- /dev/null
+++ b/src/test/msi/WixToolsetTest.MsiE2E/MsmqExtensionTests.cs
@@ -0,0 +1,27 @@
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
3namespace 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}