summaryrefslogtreecommitdiff
path: root/src/test/msi/WixToolsetTest.MsiE2E
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2024-03-27 12:15:44 -0700
committerRob Mensching <rob@firegiant.com>2024-04-05 09:46:43 -0700
commit6ed045ee1fe69be037a999df2e57122a25f0dedf (patch)
tree33b0f815f0009d174f8a3bc4f31d53a54dad0033 /src/test/msi/WixToolsetTest.MsiE2E
parent4456c7ab82376a85f362ccb1796075e1e66447d6 (diff)
downloadwix-6ed045ee1fe69be037a999df2e57122a25f0dedf.tar.gz
wix-6ed045ee1fe69be037a999df2e57122a25f0dedf.tar.bz2
wix-6ed045ee1fe69be037a999df2e57122a25f0dedf.zip
Add a managed custom action E2E test
Diffstat (limited to 'src/test/msi/WixToolsetTest.MsiE2E')
-rw-r--r--src/test/msi/WixToolsetTest.MsiE2E/CustomActionTests.cs23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/test/msi/WixToolsetTest.MsiE2E/CustomActionTests.cs b/src/test/msi/WixToolsetTest.MsiE2E/CustomActionTests.cs
new file mode 100644
index 00000000..a30cf36f
--- /dev/null
+++ b/src/test/msi/WixToolsetTest.MsiE2E/CustomActionTests.cs
@@ -0,0 +1,23 @@
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 WixTestTools;
7 using Xunit;
8 using Xunit.Abstractions;
9
10 public class CustomActionTests : MsiE2ETests
11 {
12 public CustomActionTests(ITestOutputHelper testOutputHelper) : base(testOutputHelper) { }
13
14 [RuntimeFact]
15 public void CanInstallAndUninstallWithManagedCustomAction()
16 {
17 var product = this.CreatePackageInstaller("ManagedCustomActions");
18 product.InstallProduct(MSIExec.MSIExecReturnCode.SUCCESS);
19
20 product.UninstallProduct(MSIExec.MSIExecReturnCode.SUCCESS);
21 }
22 }
23}