diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2021-05-06 14:42:01 -0500 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2021-05-11 19:11:19 -0500 |
commit | a91c413750b354ba6975be9d427787b13664b750 (patch) | |
tree | 230c04174a3f01e15fbed26fc70a4101276c595f /src/test/burn/TestData/TestBA | |
parent | 8c27fbe1bc8a6d83859aead2105d6d528c307726 (diff) | |
download | wix-a91c413750b354ba6975be9d427787b13664b750.tar.gz wix-a91c413750b354ba6975be9d427787b13664b750.tar.bz2 wix-a91c413750b354ba6975be9d427787b13664b750.zip |
Add tests for WixBA.
Diffstat (limited to 'src/test/burn/TestData/TestBA')
4 files changed, 39 insertions, 0 deletions
diff --git a/src/test/burn/TestData/TestBA/TestBAWixlib/WixBA.wxs b/src/test/burn/TestData/TestBA/TestBAWixlib/WixBA.wxs new file mode 100644 index 00000000..c6da2a17 --- /dev/null +++ b/src/test/burn/TestData/TestBA/TestBAWixlib/WixBA.wxs | |||
@@ -0,0 +1,17 @@ | |||
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 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal"> | ||
3 | <Fragment> | ||
4 | <BootstrapperApplication> | ||
5 | <Payload Name="WixToolset.Mba.Host.config" SourceFile="!(bindpath.net4x86)\WixBA.BootstrapperCore.config" /> | ||
6 | <Payload SourceFile="!(bindpath.net4x86)\WixToolset.WixBA.dll" /> | ||
7 | <Payload SourceFile="!(bindpath.net4x86)\mbanative.dll" /> | ||
8 | <Payload SourceFile="!(bindpath.net4x86)\WixToolset.Mba.Core.dll" /> | ||
9 | <Payload SourceFile='..\..\..\..\..\..\License.txt' /> | ||
10 | <bal:WixManagedBootstrapperApplicationHost /> | ||
11 | </BootstrapperApplication> | ||
12 | |||
13 | <PackageGroup Id="WixBA"> | ||
14 | <PackageGroupRef Id="NetFx48WebAsPrereq" /> | ||
15 | </PackageGroup> | ||
16 | </Fragment> | ||
17 | </Wix> | ||
diff --git a/src/test/burn/TestData/TestBA/TestBAWixlib/testbawixlib.wixproj b/src/test/burn/TestData/TestBA/TestBAWixlib/testbawixlib.wixproj index d2ab7907..fa153974 100644 --- a/src/test/burn/TestData/TestBA/TestBAWixlib/testbawixlib.wixproj +++ b/src/test/burn/TestData/TestBA/TestBAWixlib/testbawixlib.wixproj | |||
@@ -7,11 +7,13 @@ | |||
7 | </PropertyGroup> | 7 | </PropertyGroup> |
8 | <ItemGroup> | 8 | <ItemGroup> |
9 | <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net35\win-x86" BindName="net2x86" /> | 9 | <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net35\win-x86" BindName="net2x86" /> |
10 | <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net45\win-x86" BindName="net4x86" /> | ||
10 | <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net5.0-windows\win-x86" BindName="dnc5x86" /> | 11 | <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net5.0-windows\win-x86" BindName="dnc5x86" /> |
11 | </ItemGroup> | 12 | </ItemGroup> |
12 | <ItemGroup> | 13 | <ItemGroup> |
13 | <ProjectReference Include="..\..\..\TestBA\TestBA.csproj" /> | 14 | <ProjectReference Include="..\..\..\TestBA\TestBA.csproj" /> |
14 | <ProjectReference Include="..\..\..\TestExe\TestExe.csproj" /> | 15 | <ProjectReference Include="..\..\..\TestExe\TestExe.csproj" /> |
16 | <ProjectReference Include="..\..\..\WixToolset.WixBA\WixToolset.WixBA.csproj" /> | ||
15 | </ItemGroup> | 17 | </ItemGroup> |
16 | <ItemGroup> | 18 | <ItemGroup> |
17 | <PackageReference Include="WixToolset.Bal.wixext" /> | 19 | <PackageReference Include="WixToolset.Bal.wixext" /> |
diff --git a/src/test/burn/TestData/TestBA/TestBAWixlib_x64/WixBA_x64.wxs b/src/test/burn/TestData/TestBA/TestBAWixlib_x64/WixBA_x64.wxs new file mode 100644 index 00000000..f28b6b70 --- /dev/null +++ b/src/test/burn/TestData/TestBA/TestBAWixlib_x64/WixBA_x64.wxs | |||
@@ -0,0 +1,18 @@ | |||
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 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal"> | ||
3 | <Fragment> | ||
4 | <BootstrapperApplication> | ||
5 | <Payload SourceFile="!(bindpath.dnc5x64)\WixToolset.WixBA.deps.json" /> | ||
6 | <Payload SourceFile="!(bindpath.dnc5x64)\WixToolset.WixBA.dll" bal:BAFactoryAssembly="yes" /> | ||
7 | <Payload SourceFile="!(bindpath.dnc5x64)\WixToolset.WixBA.runtimeconfig.json" /> | ||
8 | <Payload SourceFile="!(bindpath.dnc5x64)\mbanative.dll" /> | ||
9 | <Payload SourceFile="!(bindpath.dnc5x64)\WixToolset.Mba.Core.dll" /> | ||
10 | <Payload SourceFile='..\..\..\..\..\..\License.txt' /> | ||
11 | <bal:WixDotNetCoreBootstrapperApplicationHost /> | ||
12 | </BootstrapperApplication> | ||
13 | |||
14 | <PackageGroup Id="WixBAdnc_x64"> | ||
15 | <PackageGroupRef Id="NetFx48WebAsPrereq" /> <!-- Yes, this is wrong but we don't have .NET 5 packages yet --> | ||
16 | </PackageGroup> | ||
17 | </Fragment> | ||
18 | </Wix> | ||
diff --git a/src/test/burn/TestData/TestBA/TestBAWixlib_x64/testbawixlib_x64.wixproj b/src/test/burn/TestData/TestBA/TestBAWixlib_x64/testbawixlib_x64.wixproj index 7f3c5890..9055382f 100644 --- a/src/test/burn/TestData/TestBA/TestBAWixlib_x64/testbawixlib_x64.wixproj +++ b/src/test/burn/TestData/TestBA/TestBAWixlib_x64/testbawixlib_x64.wixproj | |||
@@ -8,11 +8,13 @@ | |||
8 | </PropertyGroup> | 8 | </PropertyGroup> |
9 | <ItemGroup> | 9 | <ItemGroup> |
10 | <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net35\win-x64" BindName="net2x64" /> | 10 | <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net35\win-x64" BindName="net2x64" /> |
11 | <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net45\win-x64" BindName="net4x64" /> | ||
11 | <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net5.0-windows\win-x64" BindName="dnc5x64" /> | 12 | <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net5.0-windows\win-x64" BindName="dnc5x64" /> |
12 | </ItemGroup> | 13 | </ItemGroup> |
13 | <ItemGroup> | 14 | <ItemGroup> |
14 | <ProjectReference Include="..\..\..\TestBA\TestBA_x64.csproj" /> | 15 | <ProjectReference Include="..\..\..\TestBA\TestBA_x64.csproj" /> |
15 | <ProjectReference Include="..\..\..\TestExe\TestExe_x64.csproj" /> | 16 | <ProjectReference Include="..\..\..\TestExe\TestExe_x64.csproj" /> |
17 | <ProjectReference Include="..\..\..\WixToolset.WixBA\WixToolset.WixBA_x64.csproj" /> | ||
16 | </ItemGroup> | 18 | </ItemGroup> |
17 | <ItemGroup> | 19 | <ItemGroup> |
18 | <PackageReference Include="WixToolset.Bal.wixext" /> | 20 | <PackageReference Include="WixToolset.Bal.wixext" /> |