diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2021-02-17 15:45:19 -0600 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2021-02-17 16:20:10 -0600 |
commit | badde27bf66fcacef2d625af0bd7590ecdc5804f (patch) | |
tree | c70f7da4642b2c9d2613a575fbb0169bc3034a60 /src | |
parent | e950ce317301aea2e9c8cdab1bf8c453c40a4edd (diff) | |
download | wix-badde27bf66fcacef2d625af0bd7590ecdc5804f.tar.gz wix-badde27bf66fcacef2d625af0bd7590ecdc5804f.tar.bz2 wix-badde27bf66fcacef2d625af0bd7590ecdc5804f.zip |
Create WixTestTools project and reorganize files.
Diffstat (limited to 'src')
-rw-r--r-- | src/TestBA/Hresult.cs (renamed from src/Utilities/TestBA/Hresult.cs) | 0 | ||||
-rw-r--r-- | src/TestBA/TestBA.BootstrapperCore.config (renamed from src/Utilities/TestBA/TestBA.BootstrapperCore.config) | 0 | ||||
-rw-r--r-- | src/TestBA/TestBA.cs (renamed from src/Utilities/TestBA/TestBA.cs) | 0 | ||||
-rw-r--r-- | src/TestBA/TestBA.csproj (renamed from src/Utilities/TestBA/TestBA.csproj) | 0 | ||||
-rw-r--r-- | src/TestBA/TestBAFactory.cs (renamed from src/Utilities/TestBA/TestBAFactory.cs) | 0 | ||||
-rw-r--r-- | src/TestData/TestBA/TestBAWixlib/testbawixlib.wixproj | 2 | ||||
-rw-r--r-- | src/WixTestTools/BundleInstaller.cs (renamed from src/WixToolsetTest.BurnE2E/BundleInstaller.cs) | 2 | ||||
-rw-r--r-- | src/WixTestTools/BundleRegistration.cs (renamed from src/WixToolsetTest.BurnE2E/BundleRegistration.cs) | 2 | ||||
-rw-r--r-- | src/WixTestTools/BundleVerifier.cs (renamed from src/WixToolsetTest.BurnE2E/BundleVerifier.cs) | 2 | ||||
-rw-r--r-- | src/WixTestTools/MSIExec.cs (renamed from src/WixToolsetTest.BurnE2E/MSIExec.cs) | 2 | ||||
-rw-r--r-- | src/WixTestTools/MsiUtilities.cs (renamed from src/WixToolsetTest.BurnE2E/MsiUtilities.cs) | 2 | ||||
-rw-r--r-- | src/WixTestTools/PackageInstaller.cs (renamed from src/WixToolsetTest.BurnE2E/PackageInstaller.cs) | 4 | ||||
-rw-r--r-- | src/WixTestTools/PackageVerifier.cs (renamed from src/WixToolsetTest.BurnE2E/PackageVerifier.cs) | 2 | ||||
-rw-r--r-- | src/WixTestTools/TestTool.cs (renamed from src/WixToolsetTest.BurnE2E/TestTool.cs) | 2 | ||||
-rw-r--r-- | src/WixTestTools/WixTestBase.cs (renamed from src/WixToolsetTest.BurnE2E/WixTestBase.cs) | 2 | ||||
-rw-r--r-- | src/WixTestTools/WixTestContext.cs (renamed from src/WixToolsetTest.BurnE2E/WixTestContext.cs) | 2 | ||||
-rw-r--r-- | src/WixTestTools/WixTestTools.csproj | 21 | ||||
-rw-r--r-- | src/WixToolsetTest.BurnE2E/BurnE2ETests.cs | 1 | ||||
-rw-r--r-- | src/WixToolsetTest.BurnE2E/FailureTests.cs | 1 | ||||
-rw-r--r-- | src/WixToolsetTest.BurnE2E/MsiTransactionTests.cs | 1 | ||||
-rw-r--r-- | src/WixToolsetTest.BurnE2E/TestBAController.cs | 1 | ||||
-rw-r--r-- | src/WixToolsetTest.BurnE2E/WixToolsetTest.BurnE2E.csproj | 4 |
22 files changed, 41 insertions, 12 deletions
diff --git a/src/Utilities/TestBA/Hresult.cs b/src/TestBA/Hresult.cs index bc1aa8c0..bc1aa8c0 100644 --- a/src/Utilities/TestBA/Hresult.cs +++ b/src/TestBA/Hresult.cs | |||
diff --git a/src/Utilities/TestBA/TestBA.BootstrapperCore.config b/src/TestBA/TestBA.BootstrapperCore.config index 55876a00..55876a00 100644 --- a/src/Utilities/TestBA/TestBA.BootstrapperCore.config +++ b/src/TestBA/TestBA.BootstrapperCore.config | |||
diff --git a/src/Utilities/TestBA/TestBA.cs b/src/TestBA/TestBA.cs index 1348ce98..1348ce98 100644 --- a/src/Utilities/TestBA/TestBA.cs +++ b/src/TestBA/TestBA.cs | |||
diff --git a/src/Utilities/TestBA/TestBA.csproj b/src/TestBA/TestBA.csproj index b6aea84b..b6aea84b 100644 --- a/src/Utilities/TestBA/TestBA.csproj +++ b/src/TestBA/TestBA.csproj | |||
diff --git a/src/Utilities/TestBA/TestBAFactory.cs b/src/TestBA/TestBAFactory.cs index ba1de367..ba1de367 100644 --- a/src/Utilities/TestBA/TestBAFactory.cs +++ b/src/TestBA/TestBAFactory.cs | |||
diff --git a/src/TestData/TestBA/TestBAWixlib/testbawixlib.wixproj b/src/TestData/TestBA/TestBAWixlib/testbawixlib.wixproj index 71ff3cb1..85ad69b3 100644 --- a/src/TestData/TestBA/TestBAWixlib/testbawixlib.wixproj +++ b/src/TestData/TestBA/TestBAWixlib/testbawixlib.wixproj | |||
@@ -10,7 +10,7 @@ | |||
10 | <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net5.0-windows\win-x86" BindName="dnc5x86" /> | 10 | <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net5.0-windows\win-x86" BindName="dnc5x86" /> |
11 | </ItemGroup> | 11 | </ItemGroup> |
12 | <ItemGroup> | 12 | <ItemGroup> |
13 | <ProjectReference Include="..\..\..\Utilities\TestBA\TestBA.csproj" /> | 13 | <ProjectReference Include="..\..\..\TestBA\TestBA.csproj" /> |
14 | </ItemGroup> | 14 | </ItemGroup> |
15 | <ItemGroup> | 15 | <ItemGroup> |
16 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.83" /> | 16 | <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.83" /> |
diff --git a/src/WixToolsetTest.BurnE2E/BundleInstaller.cs b/src/WixTestTools/BundleInstaller.cs index 923618b9..044486fe 100644 --- a/src/WixToolsetTest.BurnE2E/BundleInstaller.cs +++ b/src/WixTestTools/BundleInstaller.cs | |||
@@ -1,6 +1,6 @@ | |||
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 WixToolsetTest.BurnE2E | 3 | namespace WixTestTools |
4 | { | 4 | { |
5 | using System; | 5 | using System; |
6 | using System.IO; | 6 | using System.IO; |
diff --git a/src/WixToolsetTest.BurnE2E/BundleRegistration.cs b/src/WixTestTools/BundleRegistration.cs index 6d20a0b2..d473dcdd 100644 --- a/src/WixToolsetTest.BurnE2E/BundleRegistration.cs +++ b/src/WixTestTools/BundleRegistration.cs | |||
@@ -1,6 +1,6 @@ | |||
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 WixToolsetTest.BurnE2E | 3 | namespace WixTestTools |
4 | { | 4 | { |
5 | using System; | 5 | using System; |
6 | using Microsoft.Win32; | 6 | using Microsoft.Win32; |
diff --git a/src/WixToolsetTest.BurnE2E/BundleVerifier.cs b/src/WixTestTools/BundleVerifier.cs index 98ec96a0..96c86fdf 100644 --- a/src/WixToolsetTest.BurnE2E/BundleVerifier.cs +++ b/src/WixTestTools/BundleVerifier.cs | |||
@@ -1,6 +1,6 @@ | |||
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 WixToolsetTest.BurnE2E | 3 | namespace WixTestTools |
4 | { | 4 | { |
5 | using System; | 5 | using System; |
6 | using System.IO; | 6 | using System.IO; |
diff --git a/src/WixToolsetTest.BurnE2E/MSIExec.cs b/src/WixTestTools/MSIExec.cs index 659d91ea..8dce96cf 100644 --- a/src/WixToolsetTest.BurnE2E/MSIExec.cs +++ b/src/WixTestTools/MSIExec.cs | |||
@@ -1,6 +1,6 @@ | |||
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 WixToolsetTest.BurnE2E | 3 | namespace WixTestTools |
4 | { | 4 | { |
5 | using System; | 5 | using System; |
6 | using System.IO; | 6 | using System.IO; |
diff --git a/src/WixToolsetTest.BurnE2E/MsiUtilities.cs b/src/WixTestTools/MsiUtilities.cs index 1a9f0925..2a848938 100644 --- a/src/WixToolsetTest.BurnE2E/MsiUtilities.cs +++ b/src/WixTestTools/MsiUtilities.cs | |||
@@ -1,6 +1,6 @@ | |||
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 WixToolsetTest.BurnE2E | 3 | namespace WixTestTools |
4 | { | 4 | { |
5 | using WixToolset.Dtf.WindowsInstaller; | 5 | using WixToolset.Dtf.WindowsInstaller; |
6 | 6 | ||
diff --git a/src/WixToolsetTest.BurnE2E/PackageInstaller.cs b/src/WixTestTools/PackageInstaller.cs index c3516fe7..86376b9f 100644 --- a/src/WixToolsetTest.BurnE2E/PackageInstaller.cs +++ b/src/WixTestTools/PackageInstaller.cs | |||
@@ -1,10 +1,10 @@ | |||
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 WixToolsetTest.BurnE2E | 3 | namespace WixTestTools |
4 | { | 4 | { |
5 | using System; | 5 | using System; |
6 | using System.IO; | 6 | using System.IO; |
7 | using static WixToolsetTest.BurnE2E.MSIExec; | 7 | using static WixTestTools.MSIExec; |
8 | 8 | ||
9 | public partial class PackageInstaller : IDisposable | 9 | public partial class PackageInstaller : IDisposable |
10 | { | 10 | { |
diff --git a/src/WixToolsetTest.BurnE2E/PackageVerifier.cs b/src/WixTestTools/PackageVerifier.cs index 7a4fea88..77946c91 100644 --- a/src/WixToolsetTest.BurnE2E/PackageVerifier.cs +++ b/src/WixTestTools/PackageVerifier.cs | |||
@@ -1,6 +1,6 @@ | |||
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 WixToolsetTest.BurnE2E | 3 | namespace WixTestTools |
4 | { | 4 | { |
5 | using System; | 5 | using System; |
6 | using System.IO; | 6 | using System.IO; |
diff --git a/src/WixToolsetTest.BurnE2E/TestTool.cs b/src/WixTestTools/TestTool.cs index e35c5c4b..be5fde42 100644 --- a/src/WixToolsetTest.BurnE2E/TestTool.cs +++ b/src/WixTestTools/TestTool.cs | |||
@@ -1,6 +1,6 @@ | |||
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 WixToolsetTest.BurnE2E | 3 | namespace WixTestTools |
4 | { | 4 | { |
5 | using System; | 5 | using System; |
6 | using System.Collections.Generic; | 6 | using System.Collections.Generic; |
diff --git a/src/WixToolsetTest.BurnE2E/WixTestBase.cs b/src/WixTestTools/WixTestBase.cs index 650b0681..bc050135 100644 --- a/src/WixToolsetTest.BurnE2E/WixTestBase.cs +++ b/src/WixTestTools/WixTestBase.cs | |||
@@ -1,6 +1,6 @@ | |||
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 WixToolsetTest.BurnE2E | 3 | namespace WixTestTools |
4 | { | 4 | { |
5 | using Xunit.Abstractions; | 5 | using Xunit.Abstractions; |
6 | 6 | ||
diff --git a/src/WixToolsetTest.BurnE2E/WixTestContext.cs b/src/WixTestTools/WixTestContext.cs index 0ae99a77..c00f5723 100644 --- a/src/WixToolsetTest.BurnE2E/WixTestContext.cs +++ b/src/WixTestTools/WixTestContext.cs | |||
@@ -1,6 +1,6 @@ | |||
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 WixToolsetTest.BurnE2E | 3 | namespace WixTestTools |
4 | { | 4 | { |
5 | using System; | 5 | using System; |
6 | using System.IO; | 6 | using System.IO; |
diff --git a/src/WixTestTools/WixTestTools.csproj b/src/WixTestTools/WixTestTools.csproj new file mode 100644 index 00000000..0a2db104 --- /dev/null +++ b/src/WixTestTools/WixTestTools.csproj | |||
@@ -0,0 +1,21 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <!-- 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. --> | ||
3 | |||
4 | <Project Sdk="Microsoft.NET.Sdk"> | ||
5 | <PropertyGroup> | ||
6 | <TargetFramework>netcoreapp3.1</TargetFramework> | ||
7 | <PlatformTarget>x64</PlatformTarget> | ||
8 | </PropertyGroup> | ||
9 | |||
10 | <ItemGroup> | ||
11 | <PackageReference Include="Microsoft.Win32.Registry" Version="5.0.0" /> | ||
12 | <PackageReference Include="System.Security.Principal.Windows" Version="5.0.0" /> | ||
13 | <PackageReference Include="WixBuildTools.TestSupport" Version="4.0.48" /> | ||
14 | <PackageReference Include="WixToolset.Data" Version="4.0.185" /> | ||
15 | <PackageReference Include="WixToolset.Mba.Core" Version="4.0.48" /> | ||
16 | </ItemGroup> | ||
17 | |||
18 | <ItemGroup> | ||
19 | <PackageReference Include="xunit" Version="2.4.1" /> | ||
20 | </ItemGroup> | ||
21 | </Project> | ||
diff --git a/src/WixToolsetTest.BurnE2E/BurnE2ETests.cs b/src/WixToolsetTest.BurnE2E/BurnE2ETests.cs index d3400658..c9294f73 100644 --- a/src/WixToolsetTest.BurnE2E/BurnE2ETests.cs +++ b/src/WixToolsetTest.BurnE2E/BurnE2ETests.cs | |||
@@ -4,6 +4,7 @@ namespace WixToolsetTest.BurnE2E | |||
4 | { | 4 | { |
5 | using System; | 5 | using System; |
6 | using System.Collections.Generic; | 6 | using System.Collections.Generic; |
7 | using WixTestTools; | ||
7 | using Xunit; | 8 | using Xunit; |
8 | using Xunit.Abstractions; | 9 | using Xunit.Abstractions; |
9 | 10 | ||
diff --git a/src/WixToolsetTest.BurnE2E/FailureTests.cs b/src/WixToolsetTest.BurnE2E/FailureTests.cs index ba6e5ba4..bc505527 100644 --- a/src/WixToolsetTest.BurnE2E/FailureTests.cs +++ b/src/WixToolsetTest.BurnE2E/FailureTests.cs | |||
@@ -2,6 +2,7 @@ | |||
2 | 2 | ||
3 | namespace WixToolsetTest.BurnE2E | 3 | namespace WixToolsetTest.BurnE2E |
4 | { | 4 | { |
5 | using WixTestTools; | ||
5 | using Xunit; | 6 | using Xunit; |
6 | using Xunit.Abstractions; | 7 | using Xunit.Abstractions; |
7 | 8 | ||
diff --git a/src/WixToolsetTest.BurnE2E/MsiTransactionTests.cs b/src/WixToolsetTest.BurnE2E/MsiTransactionTests.cs index 6d8f1536..3d9748bb 100644 --- a/src/WixToolsetTest.BurnE2E/MsiTransactionTests.cs +++ b/src/WixToolsetTest.BurnE2E/MsiTransactionTests.cs | |||
@@ -4,6 +4,7 @@ namespace WixToolsetTest.BurnE2E | |||
4 | { | 4 | { |
5 | using System; | 5 | using System; |
6 | using System.IO; | 6 | using System.IO; |
7 | using WixTestTools; | ||
7 | using Xunit; | 8 | using Xunit; |
8 | using Xunit.Abstractions; | 9 | using Xunit.Abstractions; |
9 | 10 | ||
diff --git a/src/WixToolsetTest.BurnE2E/TestBAController.cs b/src/WixToolsetTest.BurnE2E/TestBAController.cs index 91d1b817..1b254656 100644 --- a/src/WixToolsetTest.BurnE2E/TestBAController.cs +++ b/src/WixToolsetTest.BurnE2E/TestBAController.cs | |||
@@ -4,6 +4,7 @@ namespace WixToolsetTest.BurnE2E | |||
4 | { | 4 | { |
5 | using System; | 5 | using System; |
6 | using Microsoft.Win32; | 6 | using Microsoft.Win32; |
7 | using WixTestTools; | ||
7 | using WixToolset.Mba.Core; | 8 | using WixToolset.Mba.Core; |
8 | 9 | ||
9 | public class TestBAController : IDisposable | 10 | public class TestBAController : IDisposable |
diff --git a/src/WixToolsetTest.BurnE2E/WixToolsetTest.BurnE2E.csproj b/src/WixToolsetTest.BurnE2E/WixToolsetTest.BurnE2E.csproj index b3cf427f..5217826e 100644 --- a/src/WixToolsetTest.BurnE2E/WixToolsetTest.BurnE2E.csproj +++ b/src/WixToolsetTest.BurnE2E/WixToolsetTest.BurnE2E.csproj | |||
@@ -13,6 +13,10 @@ | |||
13 | </ItemGroup> | 13 | </ItemGroup> |
14 | 14 | ||
15 | <ItemGroup> | 15 | <ItemGroup> |
16 | <ProjectReference Include="..\WixTestTools\WixTestTools.csproj" /> | ||
17 | </ItemGroup> | ||
18 | |||
19 | <ItemGroup> | ||
16 | <PackageReference Include="Microsoft.Win32.Registry" Version="5.0.0" /> | 20 | <PackageReference Include="Microsoft.Win32.Registry" Version="5.0.0" /> |
17 | <PackageReference Include="System.Security.Principal.Windows" Version="5.0.0" /> | 21 | <PackageReference Include="System.Security.Principal.Windows" Version="5.0.0" /> |
18 | <PackageReference Include="WixBuildTools.TestSupport" Version="4.0.48" /> | 22 | <PackageReference Include="WixBuildTools.TestSupport" Version="4.0.48" /> |