Skip to content

Commit dfa29e1

Browse files
committed
TestPlatform version updated to v16.9.1
1 parent bab15ef commit dfa29e1

File tree

13 files changed

+22
-21
lines changed

13 files changed

+22
-21
lines changed

scripts/build/TestFx.Versions.targets

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<PropertyGroup>
4-
<TestPlatformVersion Condition=" '$(TestPlatformVersion)' == '' ">16.10.0-preview-20210211-01</TestPlatformVersion>
4+
<TestPlatformVersion Condition=" '$(TestPlatformVersion)' == '' ">16.9.1</TestPlatformVersion>
55
<MinimumVisualStudioVersion>11.0</MinimumVisualStudioVersion>
66
</PropertyGroup>
77
</Project>

src/Adapter/MSTest.CoreAdapter/Extensions/TestCaseExtensions.cs

+5-4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
namespace Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Extensions
55
{
66
using Microsoft.TestPlatform.AdapterUtilities;
7+
using Microsoft.TestPlatform.AdapterUtilities.ManagedNameUtilities;
78
using Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.ObjectModel;
89
using Microsoft.VisualStudio.TestPlatform.ObjectModel;
910

@@ -15,8 +16,8 @@ namespace Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Extensions
1516
internal static class TestCaseExtensions
1617
{
1718
internal static readonly TestProperty ManagedTypeProperty = TestProperty.Register(
18-
id: ManagedNameConstants.ManagedTypePropertyId,
19-
label: ManagedNameConstants.ManagedTypeLabel,
19+
id: Contants.ManagedTypePropertyId,
20+
label: Contants.ManagedTypeLabel,
2021
category: string.Empty,
2122
description: string.Empty,
2223
valueType: typeof(string),
@@ -25,8 +26,8 @@ internal static class TestCaseExtensions
2526
owner: typeof(TestCase));
2627

2728
internal static readonly TestProperty ManagedMethodProperty = TestProperty.Register(
28-
id: ManagedNameConstants.ManagedMethodPropertyId,
29-
label: ManagedNameConstants.ManagedMethodLabel,
29+
id: Contants.ManagedMethodPropertyId,
30+
label: Contants.ManagedMethodLabel,
3031
category: string.Empty,
3132
description: string.Empty,
3233
valueType: typeof(string),

src/Adapter/PlatformServices.Desktop/packages.config

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
33
<package id="MicroBuild.Core" version="0.2.0" targetFramework="net451" developmentDependency="true" />
4-
<package id="Microsoft.TestPlatform.ObjectModel" version="16.10.0-preview-20210211-01" targetFramework="net45" />
4+
<package id="Microsoft.TestPlatform.ObjectModel" version="16.9.1" targetFramework="net45" />
55
<package id="NuGet.Frameworks" version="5.0.0" targetFramework="net45" />
66
<package id="StyleCop.Analyzers" version="1.0.0" targetFramework="net45" developmentDependency="true" />
77
<package id="System.Collections.Immutable" version="1.5.0" targetFramework="net45" />

src/Adapter/PlatformServices.Interface/packages.config

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
33
<package id="MicroBuild.Core" version="0.2.0" targetFramework="portable45-net45+win8+wp8+wpa81" developmentDependency="true" />
4-
<package id="Microsoft.TestPlatform.ObjectModel" version="16.10.0-preview-20210211-01" targetFramework="portable45-net45+win8+wp8+wpa81" />
4+
<package id="Microsoft.TestPlatform.ObjectModel" version="16.9.1" targetFramework="portable45-net45+win8+wp8+wpa81" />
55
<package id="StyleCop.Analyzers" version="1.0.0" targetFramework="portable45-net45+win8+wp8+wpa81" developmentDependency="true" />
66
<package id="System.Collections" version="4.3.0" targetFramework="portable45-net45+win8+wp8+wpa81" />
77
<package id="System.ComponentModel" version="4.3.0" targetFramework="portable45-net45+win8+wp8+wpa81" />

src/Adapter/PlatformServices.Portable/packages.config

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
33
<package id="MicroBuild.Core" version="0.2.0" targetFramework="portable45-net45+win8+wp8+wpa81" developmentDependency="true" />
4-
<package id="Microsoft.TestPlatform.ObjectModel" version="16.10.0-preview-20210211-01" targetFramework="portable45-net45+win8+wp8+wpa81" />
4+
<package id="Microsoft.TestPlatform.ObjectModel" version="16.9.1" targetFramework="portable45-net45+win8+wp8+wpa81" />
55
<package id="StyleCop.Analyzers" version="1.0.0" targetFramework="portable45-net45+win8+wp8+wpa81" developmentDependency="true" />
66
<package id="System.Collections" version="4.3.0" targetFramework="portable45-net45+win8+wp8+wpa81" />
77
<package id="System.ComponentModel" version="4.3.0" targetFramework="portable45-net45+win8+wp8+wpa81" />

test/ComponentTests/PlatformServices.Desktop.Component.Tests/packages.config

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
33
<package id="Castle.Core" version="4.2.1" targetFramework="net451" />
4-
<package id="Microsoft.TestPlatform.ObjectModel" version="16.10.0-preview-20210211-01" targetFramework="net451" />
4+
<package id="Microsoft.TestPlatform.ObjectModel" version="16.9.1" targetFramework="net451" />
55
<package id="Moq" version="4.8.2" targetFramework="net451" />
66
<package id="NuGet.Frameworks" version="5.0.0" targetFramework="net451" />
77
<package id="StyleCop.Analyzers" version="1.0.0" targetFramework="net451" developmentDependency="true" />

test/E2ETests/Automation.CLI/Automation.CLI.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
<DestinationPath>$(TargetDir)..\..\TestAssets</DestinationPath>
106106
<PackagesPath>$(TestFxRoot)\packages</PackagesPath>
107107
<PostBuildEvent>
108-
xcopy /Y /I "$(PackagesPath)\microsoft.testplatform.adapterutilities.$(TestPlatformVersion)\lib\net45\Microsoft.TestPlatform.AdapterUtilities.dll" "$(DestinationPath)"
108+
xcopy /Y /I "$(PackagesPath)\microsoft.testplatform.adapterutilities.$(TestPlatformVersion)\lib\netstandard2.0\Microsoft.TestPlatform.AdapterUtilities.dll" "$(DestinationPath)"
109109
xcopy /Y /I "$(PackagesPath)\microsoft.testplatform.adapterutilities.$(TestPlatformVersion)\lib\netstandard1.0\Microsoft.TestPlatform.AdapterUtilities.dll" "$(DestinationPath)\netcoreapp1.1\"
110110
xcopy /Y /I "$(PackagesPath)\microsoft.testplatform.adapterutilities.$(TestPlatformVersion)\lib\netstandard2.0\Microsoft.TestPlatform.AdapterUtilities.dll" "$(DestinationPath)\netcoreapp2.1\"
111111
xcopy /Y /I "$(SourcePath)MSTest.CoreAdapter\Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.dll" "$(DestinationPath)"

test/E2ETests/Automation.CLI/CLITestBase.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public class CLITestBase
2020
private const string PackagesFolder = "packages";
2121

2222
// This value is automatically updated by "build.ps1" script.
23-
private const string TestPlatformCLIPackage = @"Microsoft.TestPlatform.16.10.0-preview-20210211-01";
23+
private const string TestPlatformCLIPackage = @"Microsoft.TestPlatform.16.9.1";
2424
private const string VstestConsoleRelativePath = @"tools\net451\Common7\IDE\Extensions\TestPlatform\vstest.console.exe";
2525

2626
private static VsTestConsoleWrapper vsTestConsoleWrapper;

test/E2ETests/Automation.CLI/packages.config

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="Microsoft.TestPlatform" version="16.10.0-preview-20210211-01" targetFramework="net46" />
4-
<package id="Microsoft.TestPlatform.ObjectModel" version="16.10.0-preview-20210211-01" targetFramework="net46" />
5-
<package id="Microsoft.TestPlatform.TranslationLayer" version="16.10.0-preview-20210211-01" targetFramework="net46" />
6-
<package id="Microsoft.TestPlatform.AdapterUtilities" version="16.10.0-preview-20210211-01" targetFramework="net452" />
3+
<package id="Microsoft.TestPlatform" version="16.9.1" targetFramework="net46" />
4+
<package id="Microsoft.TestPlatform.ObjectModel" version="16.9.1" targetFramework="net46" />
5+
<package id="Microsoft.TestPlatform.TranslationLayer" version="16.9.1" targetFramework="net46" />
6+
<package id="Microsoft.TestPlatform.AdapterUtilities" version="16.9.1" targetFramework="net452" />
77
<package id="Newtonsoft.Json" version="9.0.1" targetFramework="net46" />
88
<package id="NuGet.Frameworks" version="5.0.0" targetFramework="net46" />
99
<package id="StyleCop.Analyzers" version="1.0.0" targetFramework="net46" developmentDependency="true" />

test/UnitTests/MSTest.CoreAdapter.Unit.Tests/packages.config

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<packages>
33
<package id="Castle.Core" version="3.3.3" targetFramework="net452" />
44
<package id="FluentAssertions" version="5.10.3" targetFramework="net452" />
5-
<package id="Microsoft.TestPlatform.AdapterUtilities" version="16.10.0-preview-20210211-01" targetFramework="net452" />
6-
<package id="Microsoft.TestPlatform.ObjectModel" version="16.10.0-preview-20210211-01" targetFramework="net452" />
5+
<package id="Microsoft.TestPlatform.AdapterUtilities" version="16.9.1" targetFramework="net452" />
6+
<package id="Microsoft.TestPlatform.ObjectModel" version="16.9.1" targetFramework="net452" />
77
<package id="Moq" version="4.5.21" targetFramework="net452" />
88
<package id="NuGet.Frameworks" version="5.0.0" targetFramework="net452" />
99
<package id="StyleCop.Analyzers" version="1.0.0" targetFramework="net452" developmentDependency="true" />

test/UnitTests/PlatformServices.Desktop.Unit.Tests/packages.config

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
33
<package id="Castle.Core" version="3.3.3" targetFramework="net451" />
4-
<package id="Microsoft.TestPlatform.ObjectModel" version="16.10.0-preview-20210211-01" targetFramework="net451" />
4+
<package id="Microsoft.TestPlatform.ObjectModel" version="16.9.1" targetFramework="net451" />
55
<package id="Moq" version="4.5.21" targetFramework="net451" />
66
<package id="NuGet.Frameworks" version="5.0.0" targetFramework="net451" />
77
<package id="StyleCop.Analyzers" version="1.0.0" targetFramework="net451" developmentDependency="true" />

test/UnitTests/PlatformServices.Portable.Unit.Tests/packages.config

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
33
<package id="Castle.Core" version="3.3.3" targetFramework="net452" />
4-
<package id="Microsoft.TestPlatform.ObjectModel" version="16.10.0-preview-20210211-01" targetFramework="net452" />
4+
<package id="Microsoft.TestPlatform.ObjectModel" version="16.9.1" targetFramework="net452" />
55
<package id="Moq" version="4.5.21" targetFramework="net452" />
66
<package id="NuGet.Frameworks" version="5.0.0" targetFramework="net452" />
77
<package id="StyleCop.Analyzers" version="1.0.0" targetFramework="net452" developmentDependency="true" />

test/UnitTests/PlatformServices.Universal.Unit.Tests/packages.config

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
33
<package id="Castle.Core" version="4.0.0" targetFramework="net452" />
4-
<package id="Microsoft.TestPlatform.ObjectModel" version="16.10.0-preview-20210211-01" targetFramework="net452" />
5-
<package id="Microsoft.TestPlatform.AdapterUtilities" version="16.10.0-preview-20210211-01" targetFramework="net452" />
4+
<package id="Microsoft.TestPlatform.ObjectModel" version="16.9.1" targetFramework="net452" />
5+
<package id="Microsoft.TestPlatform.AdapterUtilities" version="16.9.1" targetFramework="net452" />
66
<package id="Moq" version="4.7.8" targetFramework="net452" />
77
<package id="NuGet.Frameworks" version="5.0.0" targetFramework="net452" />
88
<package id="StyleCop.Analyzers" version="1.0.0" targetFramework="net452" developmentDependency="true" />

0 commit comments

Comments
 (0)