Skip to content

Commit c2b56c0

Browse files
committed
Platform services
1 parent 62f75c2 commit c2b56c0

File tree

246 files changed

+614
-732
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

246 files changed

+614
-732
lines changed

MSTest.slnf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"samples\\FxExtensibility\\FxExtensibility.csproj",
66
"samples\\Playground\\Playground.csproj",
77
"src\\Adapter\\MSTest.TestAdapter\\MSTest.TestAdapter.csproj",
8-
"src\\Adapter\\MSTestAdapter.PlatformServices\\MSTestAdapter.PlatformServices.csproj",
8+
"src\\Adapter\\MSTest.PlatformServices\\MSTest.PlatformServices.csproj",
99
"src\\Analyzers\\MSTest.Analyzers.CodeFixes\\MSTest.Analyzers.CodeFixes.csproj",
1010
"src\\Analyzers\\MSTest.Analyzers.Package\\MSTest.Analyzers.Package.csproj",
1111
"src\\Analyzers\\MSTest.Analyzers\\MSTest.Analyzers.csproj",

NonWindowsTests.slnf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"projects": [
55
"src\\Adapter\\MSTest.Engine\\MSTest.Engine.csproj",
66
"src\\Adapter\\MSTest.TestAdapter\\MSTest.TestAdapter.csproj",
7-
"src\\Adapter\\MSTestAdapter.PlatformServices\\MSTestAdapter.PlatformServices.csproj",
7+
"src\\Adapter\\MSTest.PlatformServices\\MSTest.PlatformServices.csproj",
88
"src\\Analyzers\\MSTest.Analyzers.CodeFixes\\MSTest.Analyzers.CodeFixes.csproj",
99
"src\\Analyzers\\MSTest.Analyzers.Package\\MSTest.Analyzers.Package.csproj",
1010
"src\\Analyzers\\MSTest.Analyzers\\MSTest.Analyzers.csproj",

TestFx.slnx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
<Folder Name="/src/2 - Adapter/" Id="f7cf448e-306d-5d9b-7166-fa7205a8989c">
5050
<Project Path="src/Adapter/MSTest.Engine/MSTest.Engine.csproj" />
5151
<Project Path="src/Adapter/MSTest.TestAdapter/MSTest.TestAdapter.csproj" />
52-
<Project Path="src/Adapter/MSTestAdapter.PlatformServices/MSTestAdapter.PlatformServices.csproj" />
52+
<Project Path="src/Adapter/MSTest.PlatformServices/MSTest.PlatformServices.csproj" />
5353
</Folder>
5454
<Folder Name="/src/3 - TestFramework/" Id="f28cc185-255f-b581-6ed3-c247f7096eb1">
5555
<Project Path="src/TestFramework/TestFramework.Extensions/TestFramework.Extensions.csproj" />
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This is required for DataSourceTests
22
# Otherwise, the tests will fail with:
33
# The unit test adapter failed to connect to the data source or to read the data. For more information on troubleshooting this error, see "Troubleshooting Data-Driven Unit Tests" (http://go.microsoft.com/fwlink/?LinkId=62412) in the MSDN Library. Error details: The 'Microsoft.Ace.OLEDB.12.0' provider is not registered on the local machine.
4-
# at Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.TestDataSource.GetData(ITestMethod testMethodInfo, ITestContext testContext) in /_/src/Adapter/MSTestAdapter.PlatformServices/Services/TestDataSource.cs:84
4+
# at MSTest.PlatformServices.TestDataSource.GetData(ITestMethod testMethodInfo, ITestContext testContext) in /_/src/Adapter/MSTest.PlatformServices/Services/TestDataSource.cs:84
55
# The direct download link originates from https://www.microsoft.com/en-us/download/details.aspx?id=54920&msockid=01fa77be234c617f31936293223560aa
66
Invoke-RestMethod https://download.microsoft.com/download/3/5/C/35C84C36-661A-44E6-9324-8786B8DBE231/accessdatabaseengine_X64.exe -OutFile ./accessdatabaseengine_X64.exe
77
Start-Process ./accessdatabaseengine_X64.exe -Wait -ArgumentList "/quiet /passive /norestart"

src/Adapter/MSTestAdapter.PlatformServices/AssemblyResolver.cs renamed to src/Adapter/MSTest.PlatformServices/AssemblyResolver.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
using Microsoft.VisualStudio.TestPlatform.ObjectModel;
1212
using Microsoft.VisualStudio.TestTools.UnitTesting;
1313

14-
namespace Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices;
14+
namespace MSTest.PlatformServices;
1515

1616
/// <summary>
1717
/// Helps resolve MSTestFramework assemblies for CLR loader.
@@ -57,7 +57,7 @@ class AssemblyResolver :
5757
/// saying we could not find en-gb resource dll which is normal. For more information,
5858
/// <see href="https://github.com/microsoft/testfx/issues/1598" />.
5959
/// </remarks>
60-
private const string PlatformServicesResourcesName = "Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources";
60+
private const string PlatformServicesResourcesName = "MSTest.PlatformServices.resources";
6161

6262
/// <summary>
6363
/// This will have the list of all directories read from runsettings.

src/Adapter/MSTestAdapter.PlatformServices/Data/CsvDataConnection.cs renamed to src/Adapter/MSTest.PlatformServices/Data/CsvDataConnection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
using Microsoft.VisualStudio.TestPlatform.ObjectModel;
1010
using Microsoft.VisualStudio.TestTools.UnitTesting;
1111

12-
namespace Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.Data;
12+
namespace MSTest.PlatformServices.Data;
1313

1414
/// <summary>
1515
/// Utility classes to access databases, and to handle quoted strings etc for comma separated value files.

src/Adapter/MSTestAdapter.PlatformServices/Data/OdbcDataConnection.cs renamed to src/Adapter/MSTest.PlatformServices/Data/OdbcDataConnection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
using Microsoft.VisualStudio.TestTools.UnitTesting;
99

10-
namespace Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.Data;
10+
namespace MSTest.PlatformServices.Data;
1111

1212
/// <summary>
1313
/// Utility classes to access databases, and to handle quoted strings etc for ODBC.

src/Adapter/MSTestAdapter.PlatformServices/Data/OleDataConnection.cs renamed to src/Adapter/MSTest.PlatformServices/Data/OleDataConnection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
using Microsoft.VisualStudio.TestTools.UnitTesting;
99

10-
namespace Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.Data;
10+
namespace MSTest.PlatformServices;
1111

1212
/// <summary>
1313
/// Utility classes to access databases, and to handle quoted strings etc for OLE DB.

src/Adapter/MSTestAdapter.PlatformServices/Data/SqlDataConnection.cs renamed to src/Adapter/MSTest.PlatformServices/Data/SqlDataConnection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
using Microsoft.VisualStudio.TestTools.UnitTesting;
99

10-
namespace Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.Data;
10+
namespace MSTest.PlatformServices;
1111

1212
/// <summary>
1313
/// Utility classes to access databases, and to handle quoted strings etc for SQL Server.

src/Adapter/MSTestAdapter.PlatformServices/Data/TestDataConnection.cs renamed to src/Adapter/MSTest.PlatformServices/Data/TestDataConnection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
using Microsoft.VisualStudio.TestTools.UnitTesting;
1010

11-
namespace Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.Data;
11+
namespace MSTest.PlatformServices;
1212

1313
/// <summary>
1414
/// This used to be "DataUtility", a helper class to handle quoted strings etc for different

0 commit comments

Comments
 (0)