diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2020-04-03 16:14:32 +1000 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2020-04-03 20:46:59 +1000 |
commit | a26c9ac0e9b02360b298ae5c619ca4070d11ae9a (patch) | |
tree | caa1361272a8ff67f1c38ac37f8256ab7d967072 /src/test/Example.Extension/ExampleWindowsInstallerBackendExtension.cs | |
parent | 11112ebcdf97d4fa53e34d9dfe48410ff2378435 (diff) | |
download | wix-a26c9ac0e9b02360b298ae5c619ca4070d11ae9a.tar.gz wix-a26c9ac0e9b02360b298ae5c619ca4070d11ae9a.tar.bz2 wix-a26c9ac0e9b02360b298ae5c619ca4070d11ae9a.zip |
Add failing test for when EnsureTable references an extension table with a different name than its tuple.
Diffstat (limited to 'src/test/Example.Extension/ExampleWindowsInstallerBackendExtension.cs')
-rw-r--r-- | src/test/Example.Extension/ExampleWindowsInstallerBackendExtension.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/test/Example.Extension/ExampleWindowsInstallerBackendExtension.cs b/src/test/Example.Extension/ExampleWindowsInstallerBackendExtension.cs index d6741bc1..af9c8489 100644 --- a/src/test/Example.Extension/ExampleWindowsInstallerBackendExtension.cs +++ b/src/test/Example.Extension/ExampleWindowsInstallerBackendExtension.cs | |||
@@ -1,13 +1,16 @@ | |||
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. | 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 | 2 | ||
3 | namespace Example.Extension | 3 | namespace Example.Extension |
4 | { | 4 | { |
5 | using System.Collections.Generic; | ||
5 | using WixToolset.Data; | 6 | using WixToolset.Data; |
6 | using WixToolset.Data.WindowsInstaller; | 7 | using WixToolset.Data.WindowsInstaller; |
7 | using WixToolset.Extensibility; | 8 | using WixToolset.Extensibility; |
8 | 9 | ||
9 | internal class ExampleWindowsInstallerBackendExtension : BaseWindowsInstallerBackendBinderExtension | 10 | internal class ExampleWindowsInstallerBackendExtension : BaseWindowsInstallerBackendBinderExtension |
10 | { | 11 | { |
12 | public override IEnumerable<TableDefinition> TableDefinitions => ExampleTableDefinitions.All; | ||
13 | |||
11 | public override bool TryAddTupleToOutput(IntermediateTuple tuple, WindowsInstallerData output) | 14 | public override bool TryAddTupleToOutput(IntermediateTuple tuple, WindowsInstallerData output) |
12 | { | 15 | { |
13 | #if ALTERNATIVE_TO_USING_HELPER | 16 | #if ALTERNATIVE_TO_USING_HELPER |