├── .config └── tsaoptions.json ├── .devcontainer └── devcontainer.json ├── .editorconfig ├── .git-blame-ignore-revs ├── .gitattributes ├── .github ├── ISSUE_TEMPLATE.md ├── PULL_REQUEST_TEMPLATE.md ├── policies │ └── resourceManagement.yml └── workflows │ └── AzureDevOps.yml ├── .gitignore ├── CODEOWNERS ├── CODE_OF_CONDUCT.md ├── Directory.Build.props ├── Directory.Build.targets ├── LICENSE ├── NuGet.config ├── README.md ├── SECURITY.md ├── THIRD-PARTY-NOTICES.txt ├── TestPlatform.sln ├── azure-pipelines-official.yml ├── azure-pipelines.yml ├── build.cmd ├── build.sh ├── docs ├── Overview.md ├── Problems.md ├── RFCs │ ├── 0001-Test-Platform-Architecture.md │ ├── 0002-Test-Discovery-Protocol.md │ ├── 0003-Test-Execution-Protocol.md │ ├── 0004-Adapter-Extensibility.md │ ├── 0005-Test-Platform-SDK.md │ ├── 0006-DataCollection-Protocol.md │ ├── 0007-Editors-API-Specification.md │ ├── 0008-TranslationLayer.md │ ├── 0009-Editors-API-RevisionUpdate.md │ ├── 0010-Source-Information-For-Discovered-Tests.md │ ├── 0011-Test-Session-Timeout.md │ ├── 0012-Editors-API-RevisionUpdate-15.4.md │ ├── 0013-Test-Adapter-Lookup.md │ ├── 0014-Packaging.md │ ├── 0015-Telemetry.md │ ├── 0016-Loggers-Information-From-RunSettings.md │ ├── 0017-Managed-TestCase-Properties.md │ ├── 0018-Skip-Default-Adapters.md │ ├── 0019-Disable-Appdomain-While-Running-Tests.md │ ├── 0020-Improving-Logic-To-Pass-Sources-To-Adapters.md │ ├── 0021-CodeCoverageForNetCore.md │ ├── 0022-User-Specified-TestAdapter-Lookup.md │ ├── 0023-TestSettings-Deprecation.md │ ├── 0024-Blame-Collector-Options.md │ ├── 0025-Test-Host-Runtime-Provider.md │ ├── 0026-Passing-TestPlatform-Properties-to-DataCollector.md │ ├── 0027-Merge-Dotnet-Test-And-VsTest-Verbs.md │ ├── 0028-BlameCollector-Hang-Detection.md │ ├── 0029-Debugging-External-Test-Processes.md │ ├── 0029-Dotnet-Test-MultiTarget-Project-Trx-Logger.md │ ├── 0029-Passing-TestRunParameters-via-CLI.md │ ├── 0030-Specify-Environment-Variables-In-Runsettings.md │ ├── 0031-Test-Run-Attachments-Processing.md │ ├── 0032- Extensions versioning attribute.md │ ├── 0033-Hierarchy-TestCase-Property.md │ ├── Images │ │ ├── TestPlatform.vsdx │ │ ├── datacollection-custom.png │ │ ├── datacollection-custom.vsdx │ │ ├── datacollection.png │ │ ├── datacollection.vsdx │ │ ├── dotnet-test-protocol-v2-discovery.png │ │ ├── dotnet-test-protocol-v2-execution-customhost.png │ │ ├── dotnet-test-protocol-v2-execution.png │ │ ├── vstest.console-discovery.png │ │ ├── vstest.console-execution.png │ │ ├── vstest.console-overall-architecture.png │ │ └── vstest.telemetry.png │ └── toc.yml ├── RunSettingsArguments.md ├── TODO.md ├── analyze.md ├── configure.md ├── contribute.md ├── diagnose.md ├── dotnetcoretests.md ├── extensions │ ├── JSTestAdapter.md │ ├── blame-datacollector.md │ ├── datacollector-migration.md │ └── datacollector.md ├── filter.md ├── issuetracking.md ├── quickstart.md ├── releases.md ├── report.md ├── roadmap.md ├── testplatform-migration-known-issues.md ├── toc.yml └── troubleshooting.md ├── eng ├── AfterSolutionBuild.targets ├── Analyzers.props ├── DotNetBuild.props ├── Publishing.props ├── RestoreInternal.cmd ├── Signing.props ├── Version.Details.xml ├── Versions.props ├── common │ ├── BuildConfiguration │ │ └── build-configuration.json │ ├── CIBuild.cmd │ ├── PSScriptAnalyzerSettings.psd1 │ ├── README.md │ ├── SetupNugetSources.ps1 │ ├── SetupNugetSources.sh │ ├── build.cmd │ ├── build.ps1 │ ├── build.sh │ ├── cibuild.sh │ ├── core-templates │ │ ├── job │ │ │ ├── job.yml │ │ │ ├── onelocbuild.yml │ │ │ ├── publish-build-assets.yml │ │ │ ├── source-build.yml │ │ │ └── source-index-stage1.yml │ │ ├── jobs │ │ │ ├── codeql-build.yml │ │ │ ├── jobs.yml │ │ │ └── source-build.yml │ │ ├── post-build │ │ │ ├── common-variables.yml │ │ │ ├── post-build.yml │ │ │ └── setup-maestro-vars.yml │ │ ├── steps │ │ │ ├── component-governance.yml │ │ │ ├── enable-internal-runtimes.yml │ │ │ ├── enable-internal-sources.yml │ │ │ ├── generate-sbom.yml │ │ │ ├── get-delegation-sas.yml │ │ │ ├── get-federated-access-token.yml │ │ │ ├── publish-build-artifacts.yml │ │ │ ├── publish-logs.yml │ │ │ ├── publish-pipeline-artifacts.yml │ │ │ ├── retain-build.yml │ │ │ ├── send-to-helix.yml │ │ │ └── source-build.yml │ │ └── variables │ │ │ └── pool-providers.yml │ ├── cross │ │ ├── arm │ │ │ └── tizen │ │ │ │ └── tizen.patch │ │ ├── arm64 │ │ │ └── tizen │ │ │ │ └── tizen.patch │ │ ├── armel │ │ │ ├── armel.jessie.patch │ │ │ └── tizen │ │ │ │ └── tizen.patch │ │ ├── build-android-rootfs.sh │ │ ├── build-rootfs.sh │ │ ├── riscv64 │ │ │ └── tizen │ │ │ │ └── tizen.patch │ │ ├── tizen-build-rootfs.sh │ │ ├── tizen-fetch.sh │ │ ├── toolchain.cmake │ │ ├── x64 │ │ │ └── tizen │ │ │ │ └── tizen.patch │ │ └── x86 │ │ │ └── tizen │ │ │ └── tizen.patch │ ├── darc-init.ps1 │ ├── darc-init.sh │ ├── dotnet-install.cmd │ ├── dotnet-install.ps1 │ ├── dotnet-install.sh │ ├── enable-cross-org-publishing.ps1 │ ├── generate-locproject.ps1 │ ├── generate-sbom-prep.ps1 │ ├── generate-sbom-prep.sh │ ├── helixpublish.proj │ ├── init-tools-native.cmd │ ├── init-tools-native.ps1 │ ├── init-tools-native.sh │ ├── internal-feed-operations.ps1 │ ├── internal-feed-operations.sh │ ├── internal │ │ ├── Directory.Build.props │ │ ├── NuGet.config │ │ └── Tools.csproj │ ├── loc │ │ └── P22DotNetHtmlLocalization.lss │ ├── msbuild.ps1 │ ├── msbuild.sh │ ├── native │ │ ├── CommonLibrary.psm1 │ │ ├── common-library.sh │ │ ├── init-compiler.sh │ │ ├── init-distro-rid.sh │ │ ├── init-os-and-arch.sh │ │ ├── install-cmake-test.sh │ │ ├── install-cmake.sh │ │ └── install-tool.ps1 │ ├── pipeline-logging-functions.ps1 │ ├── pipeline-logging-functions.sh │ ├── post-build │ │ ├── check-channel-consistency.ps1 │ │ ├── nuget-validation.ps1 │ │ ├── nuget-verification.ps1 │ │ ├── publish-using-darc.ps1 │ │ ├── redact-logs.ps1 │ │ ├── sourcelink-validation.ps1 │ │ └── symbols-validation.ps1 │ ├── retain-build.ps1 │ ├── sdk-task.ps1 │ ├── sdl │ │ ├── NuGet.config │ │ ├── configure-sdl-tool.ps1 │ │ ├── execute-all-sdl-tools.ps1 │ │ ├── extract-artifact-archives.ps1 │ │ ├── extract-artifact-packages.ps1 │ │ ├── init-sdl.ps1 │ │ ├── packages.config │ │ ├── run-sdl.ps1 │ │ ├── sdl.ps1 │ │ └── trim-assets-version.ps1 │ ├── template-guidance.md │ ├── templates-official │ │ ├── job │ │ │ ├── job.yml │ │ │ ├── onelocbuild.yml │ │ │ ├── publish-build-assets.yml │ │ │ ├── source-build.yml │ │ │ └── source-index-stage1.yml │ │ ├── jobs │ │ │ ├── codeql-build.yml │ │ │ ├── jobs.yml │ │ │ └── source-build.yml │ │ ├── post-build │ │ │ ├── common-variables.yml │ │ │ ├── post-build.yml │ │ │ └── setup-maestro-vars.yml │ │ ├── steps │ │ │ ├── component-governance.yml │ │ │ ├── enable-internal-runtimes.yml │ │ │ ├── enable-internal-sources.yml │ │ │ ├── generate-sbom.yml │ │ │ ├── get-delegation-sas.yml │ │ │ ├── get-federated-access-token.yml │ │ │ ├── publish-build-artifacts.yml │ │ │ ├── publish-logs.yml │ │ │ ├── publish-pipeline-artifacts.yml │ │ │ ├── retain-build.yml │ │ │ ├── send-to-helix.yml │ │ │ └── source-build.yml │ │ └── variables │ │ │ ├── pool-providers.yml │ │ │ └── sdl-variables.yml │ ├── templates │ │ ├── job │ │ │ ├── job.yml │ │ │ ├── onelocbuild.yml │ │ │ ├── publish-build-assets.yml │ │ │ ├── source-build.yml │ │ │ └── source-index-stage1.yml │ │ ├── jobs │ │ │ ├── codeql-build.yml │ │ │ ├── jobs.yml │ │ │ └── source-build.yml │ │ ├── post-build │ │ │ ├── common-variables.yml │ │ │ ├── post-build.yml │ │ │ └── setup-maestro-vars.yml │ │ ├── steps │ │ │ ├── component-governance.yml │ │ │ ├── enable-internal-runtimes.yml │ │ │ ├── enable-internal-sources.yml │ │ │ ├── generate-sbom.yml │ │ │ ├── get-delegation-sas.yml │ │ │ ├── get-federated-access-token.yml │ │ │ ├── publish-build-artifacts.yml │ │ │ ├── publish-logs.yml │ │ │ ├── publish-pipeline-artifacts.yml │ │ │ ├── retain-build.yml │ │ │ ├── send-to-helix.yml │ │ │ └── source-build.yml │ │ └── variables │ │ │ └── pool-providers.yml │ ├── tools.ps1 │ └── tools.sh ├── install-additional-dotnet-sdks.ps1 ├── restore-internal-tools.yml ├── try-ci-build.ps1 └── verify-nupkgs.ps1 ├── global.json ├── playground ├── AdapterUtilitiesPlayground │ ├── AdapterUtilitiesPlayground.csproj │ ├── FindMethodExtensions.cs │ ├── Program.cs │ └── TestClasses.cs ├── Directory.Build.props ├── MSTest1 │ ├── MSTest1.csproj │ └── UnitTest1.cs ├── MSTest2 │ ├── MSTest2.csproj │ └── UnitTest1.cs ├── README.md └── TestPlatform.Playground │ ├── Environment.cs │ ├── Program.cs │ └── TestPlatform.Playground.csproj ├── restore.cmd ├── restore.sh ├── samples ├── Directory.Build.props ├── Microsoft.TestPlatform.E2ETest │ ├── Adapter │ │ ├── Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.dll │ │ ├── Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.Interface.dll │ │ ├── Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.dll │ ├── Microsoft.TestPlatform.E2ETest.csproj │ ├── Program.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── testhost.exe.config │ └── testhost.x86.exe.config ├── Microsoft.TestPlatform.Protocol │ ├── Communication │ │ ├── JsonDataSerializer.cs │ │ ├── Message.cs │ │ ├── MessageType.cs │ │ └── SocketCommunicationManager.cs │ ├── Microsoft.TestPlatform.Protocol.csproj │ ├── Payload │ │ ├── DiscoveryRequestPayload.cs │ │ └── TestRunRequestPayload.cs │ ├── Program.cs │ └── RunnerProcessManager.cs ├── Microsoft.TestPlatform.TranslationLayer.E2ETest │ ├── Adapter │ │ ├── Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.dll │ │ ├── Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.Interface.dll │ │ ├── Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll │ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll │ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.dll │ ├── Microsoft.TestPlatform.TranslationLayer.E2ETest.csproj │ ├── Program.cs │ ├── Properties │ │ ├── AssemblyInfo.cs │ │ └── launchSettings.json │ ├── testhost.exe.config │ └── testhost.x86.exe.config └── UnitTestProject │ ├── Properties │ └── AssemblyInfo.cs │ ├── UnitTest.cs │ ├── UnitTestProject.csproj │ └── packages.config ├── scripts ├── perf │ ├── perf.ps1 │ └── perfconfig.csv ├── test.ps1 ├── test.sh ├── update-nuget-frameworks.ps1 ├── vstest-codecoverage.runsettings ├── vstest-codecoverage2.runsettings └── write-release-notes.ps1 ├── shared └── NullableAttributes.cs ├── src ├── AttachVS │ ├── AttachVS.csproj │ ├── AttachVs.cs │ ├── Program.cs │ └── PublicAPI │ │ ├── PublicAPI.Shipped.txt │ │ └── PublicAPI.Unshipped.txt ├── DataCollectors │ ├── DumpMinitool.arm64 │ │ └── DumpMinitool.arm64.csproj │ ├── DumpMinitool.x86 │ │ ├── DumpMinitool.x86.csproj │ │ ├── Program.cs │ │ └── PublicAPI │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ ├── DumpMinitool │ │ └── DumpMinitool.csproj │ └── Microsoft.TestPlatform.Extensions.EventLogCollector │ │ ├── BannedSymbols.txt │ │ ├── CollectorNameValueConfigurationManager.cs │ │ ├── EventLogCollectorException.cs │ │ ├── EventLogConstants.cs │ │ ├── EventLogContainer.cs │ │ ├── EventLogDataCollector.cs │ │ ├── EventLogSessionContext.cs │ │ ├── EventLogXmlWriter.cs │ │ ├── Friends.cs │ │ ├── IEventLogContainer.cs │ │ ├── Microsoft.TestPlatform.Extensions.EventLogCollector.csproj │ │ ├── NullableHelpers.cs │ │ ├── NullableHelpers.tt │ │ ├── Properties │ │ └── AssemblyInfo.cs │ │ ├── PublicAPI │ │ ├── PublicAPI.Shipped.txt │ │ ├── PublicAPI.Unshipped.txt │ │ ├── net48 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ │ ├── net8.0 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ │ └── net9.0 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ │ └── Resources │ │ ├── Resources.Designer.cs │ │ ├── Resources.resx │ │ └── xlf │ │ ├── Resources.cs.xlf │ │ ├── Resources.de.xlf │ │ ├── Resources.es.xlf │ │ ├── Resources.fr.xlf │ │ ├── Resources.it.xlf │ │ ├── Resources.ja.xlf │ │ ├── Resources.ko.xlf │ │ ├── Resources.pl.xlf │ │ ├── Resources.pt-BR.xlf │ │ ├── Resources.ru.xlf │ │ ├── Resources.tr.xlf │ │ ├── Resources.xlf │ │ ├── Resources.zh-Hans.xlf │ │ └── Resources.zh-Hant.xlf ├── Microsoft.TestPlatform.AdapterUtilities │ ├── Friends.cs │ ├── Helpers │ │ ├── ReflectionHelpers.MethodBase.cs │ │ ├── ReflectionHelpers.Type.cs │ │ └── ReflectionHelpers.cs │ ├── HierarchyConstants.cs │ ├── ManagedNameConstants.cs │ ├── ManagedNameUtilities │ │ ├── InvalidManagedNameException.cs │ │ ├── ManagedNameHelper.Reflection.cs │ │ └── ManagedNameParser.cs │ ├── Microsoft.TestPlatform.AdapterUtilities.csproj │ ├── Microsoft.TestPlatform.AdapterUtilities.nuspec │ ├── NullableHelpers.cs │ ├── NullableHelpers.tt │ ├── PublicAPI │ │ ├── PublicAPI.Shipped.txt │ │ └── PublicAPI.Unshipped.txt │ ├── Resources │ │ ├── Resources.Designer.cs │ │ ├── Resources.resx │ │ └── xlf │ │ │ ├── Resources.cs.xlf │ │ │ ├── Resources.de.xlf │ │ │ ├── Resources.es.xlf │ │ │ ├── Resources.fr.xlf │ │ │ ├── Resources.it.xlf │ │ │ ├── Resources.ja.xlf │ │ │ ├── Resources.ko.xlf │ │ │ ├── Resources.pl.xlf │ │ │ ├── Resources.pt-BR.xlf │ │ │ ├── Resources.ru.xlf │ │ │ ├── Resources.tr.xlf │ │ │ ├── Resources.xlf │ │ │ ├── Resources.zh-Hans.xlf │ │ │ └── Resources.zh-Hant.xlf │ └── TestIdProvider.cs ├── Microsoft.TestPlatform.Build │ ├── BannedSymbols.txt │ ├── Friends.cs │ ├── Microsoft.TestPlatform.Build.csproj │ ├── Microsoft.TestPlatform.Build.nuspec │ ├── Microsoft.TestPlatform.Build.sourcebuild.nuspec │ ├── Microsoft.TestPlatform.Build.sourcebuild.product.nuspec │ ├── Microsoft.TestPlatform.targets │ ├── NullableHelpers.cs │ ├── NullableHelpers.tt │ ├── PublicAPI │ │ ├── PublicAPI.Shipped.txt │ │ └── PublicAPI.Unshipped.txt │ ├── Resources │ │ ├── Resources.Designer.cs │ │ ├── Resources.resx │ │ └── xlf │ │ │ ├── Resources.cs.xlf │ │ │ ├── Resources.de.xlf │ │ │ ├── Resources.es.xlf │ │ │ ├── Resources.fr.xlf │ │ │ ├── Resources.it.xlf │ │ │ ├── Resources.ja.xlf │ │ │ ├── Resources.ko.xlf │ │ │ ├── Resources.pl.xlf │ │ │ ├── Resources.pt-BR.xlf │ │ │ ├── Resources.ru.xlf │ │ │ ├── Resources.tr.xlf │ │ │ ├── Resources.xlf │ │ │ ├── Resources.zh-Hans.xlf │ │ │ └── Resources.zh-Hant.xlf │ ├── Tasks │ │ ├── ITestTask.cs │ │ ├── TestTaskUtils.cs │ │ ├── VSTestLogsTask.cs │ │ ├── VSTestTask.cs │ │ └── VSTestTask2.cs │ └── Tracing.cs ├── Microsoft.TestPlatform.Client │ ├── AttachmentsProcessing │ │ ├── InProcessTestRunAttachmentsProcessingEventsHandler.cs │ │ └── TestRunAttachmentsProcessingEventsHandler.cs │ ├── DesignMode │ │ ├── DesignModeClient.cs │ │ ├── DesignModeTestEventsRegistrar.cs │ │ ├── DesignModeTestHostLauncher.cs │ │ ├── DesignModeTestHostLauncherFactory.cs │ │ └── IDesignModeClient.cs │ ├── Discovery │ │ └── DiscoveryRequest.cs │ ├── Execution │ │ └── TestRunRequest.cs │ ├── Friends.cs │ ├── Microsoft.TestPlatform.Client.csproj │ ├── PublicAPI │ │ ├── PublicAPI.Shipped.txt │ │ ├── PublicAPI.Unshipped.txt │ │ ├── net48 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ │ ├── net8.0 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ │ ├── net9.0 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ │ └── netstandard2.0 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ ├── RequestHelper │ │ └── ITestRequestManager.cs │ ├── Resources │ │ ├── Resources.Designer.cs │ │ ├── Resources.resx │ │ └── xlf │ │ │ ├── Resources.cs.xlf │ │ │ ├── Resources.de.xlf │ │ │ ├── Resources.es.xlf │ │ │ ├── Resources.fr.xlf │ │ │ ├── Resources.it.xlf │ │ │ ├── Resources.ja.xlf │ │ │ ├── Resources.ko.xlf │ │ │ ├── Resources.pl.xlf │ │ │ ├── Resources.pt-BR.xlf │ │ │ ├── Resources.ru.xlf │ │ │ ├── Resources.tr.xlf │ │ │ ├── Resources.xlf │ │ │ ├── Resources.zh-Hans.xlf │ │ │ └── Resources.zh-Hant.xlf │ ├── TestPlatform.cs │ ├── TestPlatformFactory.cs │ └── TestSession │ │ ├── InProcessTestSessionEventsHandler.cs │ │ └── TestSessionEventsHandler.cs ├── Microsoft.TestPlatform.Common │ ├── BannedSymbols.txt │ ├── Constants.cs │ ├── DataCollection │ │ ├── AfterTestRunEndResult.cs │ │ ├── BeforeTestRunStartResult.cs │ │ ├── DataCollectionAttachmentManager.cs │ │ ├── DataCollectionEnvironmentVariable.cs │ │ ├── DataCollectionManager.cs │ │ ├── DataCollectionTelemetryManager.cs │ │ ├── DataCollectorConfig.cs │ │ ├── DataCollectorInformation.cs │ │ ├── Interfaces │ │ │ ├── IDataCollectionAttachmentManager.cs │ │ │ ├── IDataCollectionManager.cs │ │ │ ├── IDataCollectionTelemetryManager.cs │ │ │ └── IMessageSink.cs │ │ ├── TestPlatformDataCollectionEvents.cs │ │ ├── TestPlatformDataCollectionLogger.cs │ │ └── TestPlatformDataCollectionSink.cs │ ├── Exceptions │ │ └── InvalidLoggerException.cs │ ├── ExtensionDecorators │ │ ├── ExtensionDecoratorFactory.cs │ │ ├── SerialTestRunDecorator.cs │ │ └── SerialTestRunDecoratorFrameworkHandle.cs │ ├── ExtensionFramework │ │ ├── DataCollectionExtensionManager.cs │ │ ├── TestDiscoveryExtensionManager.cs │ │ ├── TestExecutorExtensionManager.cs │ │ ├── TestExtensionManager.cs │ │ ├── TestLoggerExtensionManager.cs │ │ ├── TestPluginCache.cs │ │ ├── TestPluginDiscoverer.cs │ │ ├── TestPluginManager.cs │ │ ├── Utilities │ │ │ ├── LazyExtension.cs │ │ │ ├── TestDiscovererPluginInformation.cs │ │ │ ├── TestExecutorPluginInformation.cs │ │ │ ├── TestExtensionPluginInformation.cs │ │ │ ├── TestExtensions.cs │ │ │ ├── TestLoggerPluginInformation.cs │ │ │ ├── TestPluginInformation.cs │ │ │ ├── TestRunTimePluginInformation.cs │ │ │ └── TestSettingsProviderPluginInformation.cs │ │ └── VSExtensionManager.cs │ ├── ExternalAssemblyVersions.cs │ ├── Filtering │ │ ├── Condition.cs │ │ ├── FastFilter.cs │ │ ├── FilterExpression.cs │ │ ├── FilterExpressionWrapper.cs │ │ └── TestCaseFilterExpression.cs │ ├── Friends.cs │ ├── Hosting │ │ ├── ITestRuntimeProviderManager.cs │ │ ├── TestRunTimeExtensionManager.cs │ │ ├── TestRunTimeMetadata.cs │ │ └── TestRunTimeProviderManager.cs │ ├── Interfaces │ │ ├── Engine │ │ │ ├── ClientProtocol │ │ │ │ ├── DiscoveryStatus.cs │ │ │ │ ├── IParallelOperationManager.cs │ │ │ │ ├── IParallelProxyDiscoveryManager.cs │ │ │ │ ├── IParallelProxyExecutionManager.cs │ │ │ │ ├── IProxyDiscoveryManager.cs │ │ │ │ ├── IProxyExecutionManager.cs │ │ │ │ ├── IProxyTestSessionManager.cs │ │ │ │ ├── ITestEngine.cs │ │ │ │ ├── ITestExtensionManager.cs │ │ │ │ ├── ITestLoggerManager.cs │ │ │ │ └── TestExecutionContext.cs │ │ │ ├── IArtifactProcessingManager.cs │ │ │ ├── IDataCollectorAttachmentsProcessorsFactory.cs │ │ │ ├── ITestCaseEventsHandler.cs │ │ │ ├── ITestRunAttachmentsProcessingManager.cs │ │ │ └── TesthostProtocol │ │ │ │ ├── IDiscoveryManager.cs │ │ │ │ ├── IExecutionManager.cs │ │ │ │ └── ITestHostManagerFactory.cs │ │ ├── IAssemblyProperties.cs │ │ ├── IBaseTestEventsRegistrar.cs │ │ ├── IDataCollectorCapabilities.cs │ │ ├── IRunSettingsProvider.cs │ │ ├── ISettingsProviderCapabilities.cs │ │ ├── ITestDiscovererCapabilities.cs │ │ ├── ITestDiscoveryEventsRegistrar.cs │ │ ├── ITestExecutorCapabilities.cs │ │ ├── ITestExtensionCapabilities.cs │ │ ├── ITestLoggerCapabilities.cs │ │ ├── ITestRunEventsRegistrar.cs │ │ ├── ITestRunTimeCapabilities.cs │ │ └── IVSExtensionManager.cs │ ├── Logging │ │ ├── InternalTestLoggerEvents.cs │ │ └── TestSessionMessageLogger.cs │ ├── Microsoft.TestPlatform.Common.csproj │ ├── NullableHelpers.cs │ ├── NullableHelpers.tt │ ├── PublicAPI │ │ ├── PublicAPI.Shipped.txt │ │ ├── PublicAPI.Unshipped.txt │ │ ├── net462 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ │ ├── net8.0 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ │ ├── net9.0 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ │ └── netstandard2.0 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ ├── RequestData.cs │ ├── Resources │ │ ├── Resources.Designer.cs │ │ ├── Resources.resx │ │ └── xlf │ │ │ ├── Resources.cs.xlf │ │ │ ├── Resources.de.xlf │ │ │ ├── Resources.es.xlf │ │ │ ├── Resources.fr.xlf │ │ │ ├── Resources.it.xlf │ │ │ ├── Resources.ja.xlf │ │ │ ├── Resources.ko.xlf │ │ │ ├── Resources.pl.xlf │ │ │ ├── Resources.pt-BR.xlf │ │ │ ├── Resources.ru.xlf │ │ │ ├── Resources.tr.xlf │ │ │ ├── Resources.xlf │ │ │ ├── Resources.zh-Hans.xlf │ │ │ └── Resources.zh-Hant.xlf │ ├── RunSettings.cs │ ├── RunSettingsManager.cs │ ├── SettingsProvider │ │ └── SettingsProviderExtensionManager.cs │ ├── Telemetry │ │ ├── MetricsCollection.cs │ │ ├── NoOpMetricsCollection.cs │ │ └── TelemetryDataConstants.cs │ └── Utilities │ │ ├── AssemblyProperties.cs │ │ ├── AssemblyResolver.cs │ │ ├── AssemblyType.cs │ │ ├── CancellationTokenExtensions.cs │ │ ├── ExceptionUtilities.cs │ │ ├── FakesUtilities.cs │ │ ├── InstallationContext.cs │ │ ├── MetadataReaderHelper.cs │ │ ├── RunSettingsProviderExtensions.cs │ │ ├── RunSettingsUtilities.cs │ │ ├── SimpleJSON.cs │ │ └── TypesToLoadUtilities.cs ├── Microsoft.TestPlatform.CommunicationUtilities │ ├── CommunicationEndpointFactory.cs │ ├── DataCollectionRequestHandler.cs │ ├── DataCollectionRequestSender.cs │ ├── DataCollectionTestCaseEventHandler.cs │ ├── DataCollectionTestCaseEventSender.cs │ ├── EventHandlers │ │ ├── TestDiscoveryEventHandler.cs │ │ ├── TestInitializeEventsHandler.cs │ │ └── TestRunEventsHandler.cs │ ├── Friends.cs │ ├── Interfaces │ │ ├── Communication │ │ │ ├── CommunicationException.cs │ │ │ ├── ConnectedEventArgs.cs │ │ │ ├── DisconnectedEventArgs.cs │ │ │ ├── ICommunicationChannel.cs │ │ │ └── MessageReceivedEventArgs.cs │ │ ├── ICommunicationEndpoint.cs │ │ ├── ICommunicationEndpointFactory.cs │ │ ├── ICommunicationManager.cs │ │ ├── IDataCollectionRequestHandler.cs │ │ ├── IDataCollectionRequestSender.cs │ │ ├── IDataCollectionTestCaseEventHandler.cs │ │ ├── IDataCollectionTestCaseEventSender.cs │ │ ├── IDataSerializer.cs │ │ ├── ITestRequestHandler.cs │ │ ├── ITestRequestSender.cs │ │ └── ITransport.cs │ ├── JsonDataSerializer.cs │ ├── LengthPrefixCommunicationChannel.cs │ ├── Messages │ │ ├── BeforeTestRunStartPayload.cs │ │ ├── DiscoveryCompletePayload.cs │ │ ├── Message.cs │ │ ├── MessageType.cs │ │ ├── ProtocolVersionAttribute.cs │ │ ├── TestHostLaunchedPayload.cs │ │ ├── TestMessagePayload.cs │ │ ├── TestRunAttachmentsProcessingCompletePayload.cs │ │ ├── TestRunAttachmentsProcessingProgressPayload.cs │ │ ├── TestRunCompletePayload.cs │ │ ├── TestRunStatsPayload.cs │ │ └── VersionedMessage.cs │ ├── Microsoft.TestPlatform.CommunicationUtilities.csproj │ ├── NullableHelpers.cs │ ├── NullableHelpers.tt │ ├── ObjectModel │ │ ├── TestRunCriteriaWithSources.cs │ │ └── TestRunCriteriaWithTests.cs │ ├── ProtocolVersioning.cs │ ├── PublicAPI │ │ ├── PublicAPI.Shipped.txt │ │ ├── PublicAPI.Unshipped.txt │ │ ├── net462 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ │ ├── net8.0 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ │ └── netstandard2.0 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ ├── Resources │ │ ├── Resources.Designer.cs │ │ ├── Resources.resx │ │ └── xlf │ │ │ ├── Resources.cs.xlf │ │ │ ├── Resources.de.xlf │ │ │ ├── Resources.es.xlf │ │ │ ├── Resources.fr.xlf │ │ │ ├── Resources.it.xlf │ │ │ ├── Resources.ja.xlf │ │ │ ├── Resources.ko.xlf │ │ │ ├── Resources.pl.xlf │ │ │ ├── Resources.pt-BR.xlf │ │ │ ├── Resources.ru.xlf │ │ │ ├── Resources.tr.xlf │ │ │ ├── Resources.xlf │ │ │ ├── Resources.zh-Hans.xlf │ │ │ └── Resources.zh-Hant.xlf │ ├── Serialization │ │ ├── DefaultTestPlatformContractResolver.cs │ │ ├── TestCaseConverter.cs │ │ ├── TestObjectConverter.cs │ │ ├── TestPlatformContractResolver1.cs │ │ ├── TestResultConverter.cs │ │ └── TestRunStatisticsConverter.cs │ ├── SocketClient.cs │ ├── SocketCommunicationManager.cs │ ├── SocketConstants.cs │ ├── SocketServer.cs │ ├── SocketTransport.cs │ ├── TcpClientExtensions.cs │ ├── TelemetryReporter.cs │ └── TestRequestSender.cs ├── Microsoft.TestPlatform.CoreUtilities │ ├── Constants.cs │ ├── Extensions │ │ ├── GuidPolyfill.cs │ │ ├── StringBuilderExtensions.cs │ │ └── StringExtensions.cs │ ├── FeatureFlag │ │ ├── FeatureFlag.cs │ │ └── IFeatureFlag.cs │ ├── Friends.cs │ ├── GlobalSuppressions.cs │ ├── Helpers │ │ ├── CommandLineArgumentsHelper.cs │ │ ├── DotnetHostHelper.cs │ │ ├── DotnetMuxerResolutionStrategy.cs │ │ ├── EnvironmentHelper.cs │ │ ├── EnvironmentVariableHelper.cs │ │ ├── FileHelper.cs │ │ ├── Interfaces │ │ │ ├── IDotnetHostHelper.cs │ │ │ ├── IEnvironmentVariableHelper.cs │ │ │ ├── IFileHelper.cs │ │ │ ├── IRunsettingsHelper.cs │ │ │ └── IWindowsRegistryHelper.cs │ │ ├── RunSettingsHelper.cs │ │ └── WindowsRegistryHelper.cs │ ├── Microsoft.TestPlatform.CoreUtilities.csproj │ ├── NullableHelpers.cs │ ├── NullableHelpers.tt │ ├── Output │ │ ├── ConsoleOutput.cs │ │ ├── IOutput.cs │ │ ├── OutputExtensions.cs │ │ └── OutputLevel.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── PublicAPI │ │ ├── PublicAPI.Shipped.txt │ │ ├── PublicAPI.Unshipped.txt │ │ ├── net │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ │ ├── net462 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ │ ├── net481 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ │ ├── net8.0 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ │ ├── netcoreapp3.1 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ │ ├── netstandard2.0 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ │ └── uap10.0 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ ├── Resources │ │ ├── Resources.Designer.cs │ │ ├── Resources.resx │ │ └── xlf │ │ │ ├── Resources.cs.xlf │ │ │ ├── Resources.de.xlf │ │ │ ├── Resources.es.xlf │ │ │ ├── Resources.fr.xlf │ │ │ ├── Resources.it.xlf │ │ │ ├── Resources.ja.xlf │ │ │ ├── Resources.ko.xlf │ │ │ ├── Resources.pl.xlf │ │ │ ├── Resources.pt-BR.xlf │ │ │ ├── Resources.ru.xlf │ │ │ ├── Resources.tr.xlf │ │ │ ├── Resources.xlf │ │ │ ├── Resources.zh-Hans.xlf │ │ │ └── Resources.zh-Hant.xlf │ ├── Tracing │ │ ├── EqtTrace.cs │ │ ├── Interfaces │ │ │ └── ITestPlatformEventSource.cs │ │ ├── TestPlatformEventSource.cs │ │ └── TestPlatformInstrumentationEvents.cs │ ├── Utilities │ │ ├── Job.cs │ │ ├── JobQueue.cs │ │ ├── MulticastDelegateUtilities.cs │ │ └── TimeSpanParser.cs │ └── ValidateArg.cs ├── Microsoft.TestPlatform.CrossPlatEngine │ ├── Adapter │ │ ├── FrameworkHandle.cs │ │ ├── RunContext.cs │ │ └── TestExecutionRecorder.cs │ ├── AttachmentsProcessing │ │ ├── DataCollectorAttachmentProcessorAppDomain.cs │ │ ├── DataCollectorAttachmentProcessorWrapper.cs │ │ ├── DataCollectorAttachmentsProcessorsFactory.cs │ │ └── TestRunAttachmentsProcessingManager.cs │ ├── Client │ │ ├── DiscoveryCriteriaExtensions.cs │ │ ├── InProcessProxyDiscoveryManager.cs │ │ ├── InProcessProxyexecutionManager.cs │ │ ├── LoggerNameValueConfigurationManager.cs │ │ ├── Parallel │ │ │ ├── DiscoveryDataAggregator.cs │ │ │ ├── ParallelDiscoveryEventsHandler.cs │ │ │ ├── ParallelOperationManager.cs │ │ │ ├── ParallelProxyDiscoveryManager.cs │ │ │ ├── ParallelProxyExecutionManager.cs │ │ │ ├── ParallelRunDataAggregator.cs │ │ │ └── ParallelRunEventsHandler.cs │ │ ├── ProxyDiscoveryManager.cs │ │ ├── ProxyExecutionManager.cs │ │ ├── ProxyExecutionManagerWithDataCollection.cs │ │ ├── ProxyOperationManager.cs │ │ ├── ProxyOperationManagerWithDataCollection.cs │ │ ├── TestLoggerManager.cs │ │ ├── TestRunCriteriaExtensions.cs │ │ └── TestRuntimeProviderInfo.cs │ ├── Constants.cs │ ├── DataCollection │ │ ├── DataCollectionLauncher.cs │ │ ├── DataCollectionLauncherFactory.cs │ │ ├── DataCollectionParameters.cs │ │ ├── DataCollectionResult.cs │ │ ├── DataCollectionTestRunEventsHandler.cs │ │ ├── DefaultDataCollectionLauncher.cs │ │ ├── DotnetDataCollectionLauncher.cs │ │ ├── InProcDataCollectionExtensionManager.cs │ │ ├── InProcDataCollectionSink.cs │ │ ├── InProcDataCollector.cs │ │ ├── Interfaces │ │ │ ├── IDataCollectionLauncher.cs │ │ │ ├── IDataCollectorsSettingsProvider.cs │ │ │ ├── IInProcDataCollector.cs │ │ │ ├── IProxyDataCollectionManager.cs │ │ │ └── ITestEventsPublisher.cs │ │ ├── ParallelDataCollectionEventsHandler.cs │ │ ├── ProxyDataCollectionManager.cs │ │ └── ProxyOutOfProcDataCollectionManager.cs │ ├── Discovery │ │ ├── DiscovererEnumerator.cs │ │ ├── DiscoveryContext.cs │ │ ├── DiscoveryManager.cs │ │ ├── DiscoveryResultCache.cs │ │ └── TestCaseDiscoverySink.cs │ ├── EventHandlers │ │ ├── IDeploymentAwareTestRequestHandler.cs │ │ ├── IPathConverter.cs │ │ ├── NullPathConverter.cs │ │ ├── PathConversionDirection.cs │ │ ├── PathConverter.cs │ │ ├── TestCaseEventsHandler.cs │ │ └── TestRequestHandler.cs │ ├── Execution │ │ ├── BaseRunTests.cs │ │ ├── ExecutionManager.cs │ │ ├── MSTestV1TelemetryHelper.cs │ │ ├── RunTestsWithSources.cs │ │ ├── RunTestsWithTests.cs │ │ └── TestRunCache.cs │ ├── Friends.cs │ ├── Interfaces │ │ └── ITestRunCache.cs │ ├── Microsoft.TestPlatform.CrossPlatEngine.csproj │ ├── NullableHelpers.cs │ ├── NullableHelpers.tt │ ├── PostProcessing │ │ ├── ArtifactProcessingManager.cs │ │ ├── PostProcessingTestRunAttachmentsProcessingEventsHandler.cs │ │ └── TestArtifacts.cs │ ├── PublicAPI │ │ ├── PublicAPI.Shipped.txt │ │ ├── PublicAPI.Unshipped.txt │ │ ├── net462 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ │ ├── net8.0 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ │ └── netstandard2.0 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ ├── Resources │ │ ├── Resources.Designer.cs │ │ ├── Resources.resx │ │ └── xlf │ │ │ ├── Resources.cs.xlf │ │ │ ├── Resources.de.xlf │ │ │ ├── Resources.es.xlf │ │ │ ├── Resources.fr.xlf │ │ │ ├── Resources.it.xlf │ │ │ ├── Resources.ja.xlf │ │ │ ├── Resources.ko.xlf │ │ │ ├── Resources.pl.xlf │ │ │ ├── Resources.pt-BR.xlf │ │ │ ├── Resources.ru.xlf │ │ │ ├── Resources.tr.xlf │ │ │ ├── Resources.xlf │ │ │ ├── Resources.zh-Hans.xlf │ │ │ └── Resources.zh-Hant.xlf │ ├── TestEngine.cs │ ├── TestExtensionManager.cs │ ├── TestHostManagerFactory.cs │ ├── TestSession │ │ ├── ProxyTestSessionManager.cs │ │ └── TestSessionPool.cs │ └── Utilities │ │ ├── SourceDetailHelper.cs │ │ ├── TestCaseFilterDeterminer.cs │ │ └── TestSourcesUtility.cs ├── Microsoft.TestPlatform.Execution.Shared │ ├── DebuggerBreakpoint.cs │ ├── Microsoft.TestPlatform.Execution.Shared.projitems │ ├── Microsoft.TestPlatform.Execution.Shared.shproj │ ├── ProcDumpExecutableHelper.cs │ ├── UILanguageOverride.cs │ └── WellKnownDebugEnvironmentVariables.cs ├── Microsoft.TestPlatform.Extensions.BlameDataCollector │ ├── BannedSymbols.txt │ ├── BlameCollector.cs │ ├── BlameLogger.cs │ ├── BlameTestObject.cs │ ├── Constants.cs │ ├── CrashDumpType.cs │ ├── CrashDumperFactory.cs │ ├── DumpTypeOption.cs │ ├── Friends.cs │ ├── HangDumpType.cs │ ├── HangDumperFactory.cs │ ├── ICrashDumper.cs │ ├── ICrashDumperFactory.cs │ ├── IHangDumper.cs │ ├── IHangDumperFactory.cs │ ├── InactivityTimer.cs │ ├── Interfaces │ │ ├── IBlameReaderWriter.cs │ │ ├── IInactivityTimer.cs │ │ ├── INativeMethodsHelper.cs │ │ ├── IProcDumpArgsBuilder.cs │ │ └── IProcessDumpUtility.cs │ ├── Microsoft.TestPlatform.Extensions.BlameDataCollector.csproj │ ├── MiniDumpWriteDump.cs │ ├── NetClientCrashDumper.cs │ ├── NetClientHangDumper.cs │ ├── NullableHelpers.cs │ ├── NullableHelpers.tt │ ├── ProcDumpArgsBuilder.cs │ ├── ProcDumpDumper.cs │ ├── ProcessCodeMethods.cs │ ├── ProcessDumpUtility.cs │ ├── ProcessTreeNode.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── PublicAPI │ │ ├── PublicAPI.Shipped.txt │ │ ├── PublicAPI.Unshipped.txt │ │ ├── net48 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ │ ├── net8.0 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ │ ├── net9.0 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ │ └── netstandard2.0 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ ├── Resources │ │ ├── Resources.Designer.cs │ │ ├── Resources.resx │ │ └── xlf │ │ │ ├── Resources.cs.xlf │ │ │ ├── Resources.de.xlf │ │ │ ├── Resources.es.xlf │ │ │ ├── Resources.fr.xlf │ │ │ ├── Resources.it.xlf │ │ │ ├── Resources.ja.xlf │ │ │ ├── Resources.ko.xlf │ │ │ ├── Resources.pl.xlf │ │ │ ├── Resources.pt-BR.xlf │ │ │ ├── Resources.ru.xlf │ │ │ ├── Resources.tr.xlf │ │ │ ├── Resources.xlf │ │ │ ├── Resources.zh-Hans.xlf │ │ │ └── Resources.zh-Hant.xlf │ ├── SigtrapDumper.cs │ ├── Win32NamedEvent.cs │ ├── WindowsHangDumper.cs │ └── XmlReaderWriter.cs ├── Microsoft.TestPlatform.Extensions.HtmlLogger │ ├── BannedSymbols.txt │ ├── Constants.cs │ ├── Friends.cs │ ├── Html.xslt │ ├── HtmlLogger.cs │ ├── HtmlTransformer.cs │ ├── IHtmlTransformer.cs │ ├── Microsoft.TestPlatform.Extensions.HtmlLogger.csproj │ ├── NullableHelpers.cs │ ├── NullableHelpers.tt │ ├── ObjectModel │ │ ├── HtmlTestResult.cs │ │ ├── TestResultCollection.cs │ │ ├── TestRunDetails.cs │ │ └── TestRunSummary.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── PublicAPI │ │ ├── PublicAPI.Shipped.txt │ │ ├── PublicAPI.Unshipped.txt │ │ ├── net48 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ │ ├── net6.0 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ │ ├── net7.0 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ │ └── netstandard2.0 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ └── Resources │ │ ├── Resources.Designer.cs │ │ ├── Resources.resx │ │ └── xlf │ │ ├── Resources.cs.xlf │ │ ├── Resources.de.xlf │ │ ├── Resources.es.xlf │ │ ├── Resources.fr.xlf │ │ ├── Resources.it.xlf │ │ ├── Resources.ja.xlf │ │ ├── Resources.ko.xlf │ │ ├── Resources.pl.xlf │ │ ├── Resources.pt-BR.xlf │ │ ├── Resources.ru.xlf │ │ ├── Resources.tr.xlf │ │ ├── Resources.xlf │ │ ├── Resources.zh-Hans.xlf │ │ └── Resources.zh-Hant.xlf ├── Microsoft.TestPlatform.Extensions.TrxLogger │ ├── Friends.cs │ ├── Interfaces │ │ ├── IDataAttachment.cs │ │ ├── ITestAggregation.cs │ │ ├── ITestElement.cs │ │ ├── ITestResult.cs │ │ ├── ITestResultAggregation.cs │ │ ├── IXmlTestStore.cs │ │ ├── IXmlTestStoreCustom.cs │ │ └── XmlTestStoreParameters.cs │ ├── Microsoft.TestPlatform.Extensions.TrxLogger.csproj │ ├── Microsoft.TestPlatform.Extensions.TrxLogger.nuspec │ ├── NullableHelpers.cs │ ├── NullableHelpers.tt │ ├── ObjectModel │ │ ├── CollectorDataEntry.cs │ │ ├── OrderedTestElement.cs │ │ ├── RunInfo.cs │ │ ├── TestCategoryItems.cs │ │ ├── TestElement.cs │ │ ├── TestElementAggregation.cs │ │ ├── TestEntry.cs │ │ ├── TestExecId.cs │ │ ├── TestId.cs │ │ ├── TestLink.cs │ │ ├── TestListCategory.cs │ │ ├── TestListCategoryId.cs │ │ ├── TestMethod.cs │ │ ├── TestOutcome.cs │ │ ├── TestResult.cs │ │ ├── TestResultAggregation.cs │ │ ├── TestRun.cs │ │ ├── TestRunConfiguration.cs │ │ ├── TestRunConfigurationId.cs │ │ ├── TestRunSummary.cs │ │ ├── TestType.cs │ │ ├── UnitTestElement.cs │ │ ├── UnitTestResult.cs │ │ ├── UriDataAttachment.cs │ │ └── WorkItems.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── PublicAPI │ │ ├── PublicAPI.Shipped.txt │ │ ├── PublicAPI.Unshipped.txt │ │ ├── net462 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ │ ├── net6.0 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ │ ├── net7.0 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ │ └── netstandard2.0 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ ├── Resources │ │ ├── TrxResource.Designer.cs │ │ ├── TrxResource.resx │ │ └── xlf │ │ │ ├── TrxResource.cs.xlf │ │ │ ├── TrxResource.de.xlf │ │ │ ├── TrxResource.es.xlf │ │ │ ├── TrxResource.fr.xlf │ │ │ ├── TrxResource.it.xlf │ │ │ ├── TrxResource.ja.xlf │ │ │ ├── TrxResource.ko.xlf │ │ │ ├── TrxResource.pl.xlf │ │ │ ├── TrxResource.pt-BR.xlf │ │ │ ├── TrxResource.ru.xlf │ │ │ ├── TrxResource.tr.xlf │ │ │ ├── TrxResource.xlf │ │ │ ├── TrxResource.zh-Hans.xlf │ │ │ └── TrxResource.zh-Hant.xlf │ ├── TrxLogger.cs │ ├── Utility │ │ ├── Collection.cs │ │ ├── Constants.cs │ │ ├── Converter.cs │ │ ├── EqtAssert.cs │ │ ├── TestRunDirectories.cs │ │ └── TrxFileHelper.cs │ └── XML │ │ ├── Attributes.cs │ │ ├── XmlFilePersistence.cs │ │ └── XmlPersistence.cs ├── Microsoft.TestPlatform.ObjectModel │ ├── Adapter │ │ ├── Interfaces │ │ │ ├── IDiscoveryContext.cs │ │ │ ├── IFrameworkHandle.cs │ │ │ ├── IFrameworkHandle2.cs │ │ │ ├── IRunContext.cs │ │ │ ├── IRunSettings.cs │ │ │ ├── ISettingsProvider.cs │ │ │ ├── ITestCaseDiscoverySink.cs │ │ │ ├── ITestCaseFilterExpression.cs │ │ │ ├── ITestDiscoverer.cs │ │ │ ├── ITestExecutionRecorder.cs │ │ │ ├── ITestExecutor.cs │ │ │ └── ITestExecutor2.cs │ │ ├── TestPlatformFormatException.cs │ │ └── TestsCanceledException.cs │ ├── Architecture.cs │ ├── AttachmentSet.cs │ ├── Client │ │ ├── DiscoveryCriteria.cs │ │ ├── Events │ │ │ ├── DiscoveredTestsEventArgs.cs │ │ │ ├── DiscoveryCompleteEventArgs.cs │ │ │ ├── DiscoveryStartEventArgs.cs │ │ │ ├── StartTestSessionCompleteEventArgs.cs │ │ │ ├── StopTestSessionCompleteEventArgs.cs │ │ │ ├── TestRunAttachmentsProcessingCompleteEventArgs.cs │ │ │ ├── TestRunAttachmentsProcessingProgressEventArgs.cs │ │ │ ├── TestRunChangedEventArgs.cs │ │ │ ├── TestRunCompleteEventArgs.cs │ │ │ └── TestRunStartEventArgs.cs │ │ ├── FilterOptions.cs │ │ ├── Interfaces │ │ │ ├── AttachDebuggerInfo.cs │ │ │ ├── IBaseProxy.cs │ │ │ ├── IDiscoveryRequest.cs │ │ │ ├── IInternalTestRunEventsHandler.cs │ │ │ ├── IMetricsCollection.cs │ │ │ ├── IRequest.cs │ │ │ ├── IRequestData.cs │ │ │ ├── ITelemetryEventsHandler.cs │ │ │ ├── ITestDiscoveryEventsHandler.cs │ │ │ ├── ITestDiscoveryEventsHandler2.cs │ │ │ ├── ITestHostLauncher.cs │ │ │ ├── ITestHostLauncher2.cs │ │ │ ├── ITestHostLauncher3.cs │ │ │ ├── ITestPlatform.cs │ │ │ ├── ITestPlatformCapabilities.cs │ │ │ ├── ITestRunAttachmentsProcessingEventsHandler.cs │ │ │ ├── ITestRunConfiguration.cs │ │ │ ├── ITestRunEventsHandler.cs │ │ │ ├── ITestRunEventsHandler2.cs │ │ │ ├── ITestRunRequest.cs │ │ │ ├── ITestRunStatistics.cs │ │ │ ├── ITestSessionEventsHandler.cs │ │ │ └── IWarningLogger.cs │ │ ├── Payloads │ │ │ ├── CustomHostLaunchAckPayload.cs │ │ │ ├── DiscoveryRequestPayload.cs │ │ │ ├── EditorAttachDebuggerAckPayload.cs │ │ │ ├── StartTestSessionAckPayload.cs │ │ │ ├── StartTestSessionPayload.cs │ │ │ ├── StopTestSessionAckPayload.cs │ │ │ ├── StopTestSessionPayload.cs │ │ │ ├── TestRunAttachmentsProcessingPayload.cs │ │ │ └── TestRunRequestPayload.cs │ │ ├── ProtocolConfig.cs │ │ ├── StartTestSessionCriteria.cs │ │ ├── TestPlatformOptions.cs │ │ ├── TestRunCriteria.cs │ │ ├── TestRunState.cs │ │ ├── TestRunStatistics.cs │ │ └── TestSessionInfo.cs │ ├── CodeCoverage │ │ └── TestSDKAutoGeneratedCode.cs │ ├── ConnectionInfo │ │ ├── TestRunnerConnectionInfo.cs │ │ └── TestRunnerConnectionInfoExtensions.cs │ ├── Constants.cs │ ├── DataCollector │ │ ├── Attributes │ │ │ ├── DataCollectorAttachmentProcessor.cs │ │ │ ├── DataCollectorFriendlyNameAttribute.cs │ │ │ └── DataCollectorTypeUriAttribute.cs │ │ ├── Common │ │ │ ├── DataCollectorMessageLevel.cs │ │ │ ├── FileHelper.cs │ │ │ ├── RequestId.cs │ │ │ ├── Session.cs │ │ │ ├── TestCaseFailureType.cs │ │ │ └── TestExecId.cs │ │ ├── DataCollectionContext.cs │ │ ├── DataCollectionEnvironmentContext.cs │ │ ├── DataCollectionLogger.cs │ │ ├── DataCollectionRunSettings.cs │ │ ├── DataCollectionSink.cs │ │ ├── DataCollector.cs │ │ ├── DataCollectorSettings.cs │ │ ├── Events │ │ │ ├── DataCollectionEventArgs.cs │ │ │ ├── DataCollectionEvents.cs │ │ │ ├── SessionEvents.cs │ │ │ ├── TestCaseEvents.cs │ │ │ └── TestHostLaunchedEvent.cs │ │ ├── IDataCollectionSink.cs │ │ ├── IDataCollectorAttachmentProcessor.cs │ │ ├── IDataCollectorAttachments.cs │ │ ├── ITestExecutionEnvironmentSpecifier.cs │ │ ├── InProcDataCollector │ │ │ ├── InProcDataCollectionArgs.cs │ │ │ ├── InProcDataCollector.cs │ │ │ ├── TestCaseEndArgs.cs │ │ │ ├── TestCaseStartArgs.cs │ │ │ ├── TestSessionEndArgs.cs │ │ │ └── TestSessionStartArgs.cs │ │ └── TransferInformation │ │ │ ├── BaseTransferInformation.cs │ │ │ └── FileTransferInformation.cs │ ├── DefaultExecutorUriAttribute.cs │ ├── DirectoryBasedTestDiscovererAttribute.cs │ ├── ExceptionConverter.cs │ ├── ExtensionUriAttribute.cs │ ├── FileExtensionAttribute.cs │ ├── Framework.cs │ ├── FrameworkVersion.cs │ ├── FriendlyNameAttribute.cs │ ├── Friends.cs │ ├── Host │ │ ├── ITestRunTimeProvider.cs │ │ └── ITestRuntimeProvider2.cs │ ├── ITelemetryInitializer.cs │ ├── ITelemetryReporter.cs │ ├── InvokedDataCollector.cs │ ├── LazyPropertyValue.cs │ ├── Logger │ │ ├── ITestLogger.cs │ │ ├── ITestLoggerWithParams.cs │ │ ├── LoggerRunSettings.cs │ │ ├── LoggerSettings.cs │ │ └── TestLoggerEvents.cs │ ├── Logging │ │ ├── Events │ │ │ ├── DataCollectionMessageEventArgs.cs │ │ │ ├── TestResultEventArgs.cs │ │ │ ├── TestRunMessageEventArgs.cs │ │ │ └── TestRunStartedEventArgs.cs │ │ ├── Interfaces │ │ │ └── IMessageLogger.cs │ │ └── TestMessageLevel.cs │ ├── Microsoft.TestPlatform.ObjectModel.csproj │ ├── Microsoft.TestPlatform.ObjectModel.nuspec │ ├── Navigation │ │ ├── DiaNavigationData.cs │ │ ├── DiaSession.cs │ │ ├── FullSymbolReader.cs │ │ ├── INavigationData.cs │ │ ├── INavigationSession.cs │ │ ├── ISymbolReader.cs │ │ ├── NativeMethods.cs │ │ ├── PortablePdbReader.cs │ │ └── PortableSymbolReader.cs │ ├── Nuget.Frameworks │ │ ├── .editorconfig │ │ ├── CompatibilityCacheKey.cs │ │ ├── CompatibilityMappingComparer.cs │ │ ├── CompatibilityProvider.cs │ │ ├── DefaultCompatibilityProvider.cs │ │ ├── DefaultFrameworkMappings.cs │ │ ├── DefaultFrameworkNameProvider.cs │ │ ├── DefaultPortableFrameworkMappings.cs │ │ ├── FallbackFramework.cs │ │ ├── FrameworkConstants.cs │ │ ├── FrameworkException.cs │ │ ├── FrameworkExpander.cs │ │ ├── FrameworkNameHelpers.cs │ │ ├── FrameworkNameProvider.cs │ │ ├── FrameworkPrecedenceSorter.cs │ │ ├── FrameworkRange.cs │ │ ├── FrameworkRangeComparer.cs │ │ ├── FrameworkReducer.cs │ │ ├── FrameworkSpecificMapping.cs │ │ ├── HashCodeCombiner.cs │ │ ├── IFrameworkCompatibilityListProvider.cs │ │ ├── IFrameworkCompatibilityProvider.cs │ │ ├── IFrameworkMappings.cs │ │ ├── IFrameworkNameProvider.cs │ │ ├── IFrameworkSpecific.cs │ │ ├── IPortableFrameworkMappings.cs │ │ ├── NoAllocEnumerateExtensions.cs │ │ ├── NuGetFramework.cs │ │ ├── NuGetFrameworkFactory.cs │ │ ├── NuGetFrameworkFullComparer.cs │ │ ├── NuGetFrameworkNameComparer.cs │ │ ├── NuGetFrameworkSorter.cs │ │ ├── NuGetFrameworkUtility.cs │ │ ├── OneWayCompatibilityMappingEntry.cs │ │ ├── README.md │ │ ├── SimplePool.cs │ │ ├── StringBuilderPool.cs │ │ ├── Strings.cs │ │ └── spelling.dic │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── PublicAPI │ │ ├── PublicAPI.Shipped.txt │ │ ├── PublicAPI.Unshipped.txt │ │ ├── net │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ │ ├── net462 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ │ ├── net6.0 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ │ ├── net8.0 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ │ ├── netstandard2.0 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ │ └── uap10.0 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ ├── RegistryFreeActivationContext.cs │ ├── Resources │ │ ├── CommonResources.Designer.cs │ │ ├── CommonResources.resx │ │ ├── CommonResources.tt │ │ ├── Resources.Designer.cs │ │ ├── Resources.resx │ │ └── xlf │ │ │ ├── CommonResources.cs.xlf │ │ │ ├── CommonResources.de.xlf │ │ │ ├── CommonResources.es.xlf │ │ │ ├── CommonResources.fr.xlf │ │ │ ├── CommonResources.it.xlf │ │ │ ├── CommonResources.ja.xlf │ │ │ ├── CommonResources.ko.xlf │ │ │ ├── CommonResources.pl.xlf │ │ │ ├── CommonResources.pt-BR.xlf │ │ │ ├── CommonResources.ru.xlf │ │ │ ├── CommonResources.tr.xlf │ │ │ ├── CommonResources.xlf │ │ │ ├── CommonResources.zh-Hans.xlf │ │ │ ├── CommonResources.zh-Hant.xlf │ │ │ ├── Resources.cs.xlf │ │ │ ├── Resources.de.xlf │ │ │ ├── Resources.es.xlf │ │ │ ├── Resources.fr.xlf │ │ │ ├── Resources.it.xlf │ │ │ ├── Resources.ja.xlf │ │ │ ├── Resources.ko.xlf │ │ │ ├── Resources.pl.xlf │ │ │ ├── Resources.pt-BR.xlf │ │ │ ├── Resources.ru.xlf │ │ │ ├── Resources.tr.xlf │ │ │ ├── Resources.xlf │ │ │ ├── Resources.zh-Hans.xlf │ │ │ └── Resources.zh-Hant.xlf │ ├── RunSettings │ │ ├── RunConfiguration.cs │ │ ├── SettingsException.cs │ │ ├── SettingsNameAttribute.cs │ │ ├── TestRunParameters.cs │ │ └── TestRunSettings.cs │ ├── SourceDetail.cs │ ├── TelemetryEvent.cs │ ├── TestAdapterLoadingStrategy.cs │ ├── TestCase.cs │ ├── TestObject.cs │ ├── TestOutcome.cs │ ├── TestOutcomeHelper.cs │ ├── TestProcessAttachDebuggerPayload.cs │ ├── TestProcessStartInfo.cs │ ├── TestProperty │ │ ├── CustomKeyValueConverter.cs │ │ ├── CustomStringArrayConverter.cs │ │ ├── TestProperty.cs │ │ └── TestPropertyAttributes.cs │ ├── TestResult.cs │ ├── TestServiceLocator.cs │ ├── Trait.cs │ ├── TraitCollection.cs │ ├── UapConstants.cs │ └── Utilities │ │ ├── AssemblyHelper.cs │ │ ├── AssemblyLoadWorker.cs │ │ ├── EqtHash.cs │ │ ├── FilterHelper.cs │ │ ├── Sha1Helper.cs │ │ ├── StringUtilities.cs │ │ ├── SuspendCodeCoverage.cs │ │ ├── XmlReaderUtilities.cs │ │ └── XmlRunSettingsUtilities.cs ├── Microsoft.TestPlatform.PlatformAbstractions │ ├── Friends.cs │ ├── Interfaces │ │ ├── IO │ │ │ └── IStream.cs │ │ ├── Runtime │ │ │ ├── IAssemblyLoadContext.cs │ │ │ └── IAssemblyResolver.cs │ │ ├── System │ │ │ ├── IEnvironment.cs │ │ │ ├── IProcessHelper.cs │ │ │ ├── IThread.cs │ │ │ ├── PlatformApartmentState.cs │ │ │ ├── PlatformArchitecture.cs │ │ │ ├── PlatformOperatingSystem.cs │ │ │ └── ThreadApartmentStateNotSupportedException.cs │ │ └── Tracing │ │ │ ├── IPlatformEqtTrace.cs │ │ │ └── PlatformTraceLevel.cs │ ├── Microsoft.TestPlatform.PlatformAbstractions.csproj │ ├── NullableHelpers.cs │ ├── NullableHelpers.tt │ ├── PublicAPI │ │ ├── PublicAPI.Shipped.txt │ │ ├── PublicAPI.Unshipped.txt │ │ ├── net │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ │ ├── net462 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ │ ├── net8.0 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ │ ├── netcoreapp3.1 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ │ ├── netstandard2.0 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ │ └── uap10.0 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ ├── VersionAttribute.cs │ ├── common │ │ ├── IO │ │ │ └── PlatformStream.cs │ │ ├── NativeMethods.cs │ │ ├── System │ │ │ └── ProcessHelper.cs │ │ └── Tracing │ │ │ ├── PlatformEqtTrace.cs │ │ │ └── RollingFileTraceListener.cs │ ├── net462 │ │ ├── Interfaces │ │ │ └── Tracing │ │ │ │ └── IPlatformEqtTrace.cs │ │ ├── Runtime │ │ │ ├── PlatformAssemblyExtensions.cs │ │ │ ├── PlatformAssemblyLoadContext.cs │ │ │ └── PlatformAssemblyResolver.cs │ │ ├── System │ │ │ ├── PlatformEnvironment.cs │ │ │ ├── PlatformThread.cs │ │ │ ├── ProcessHelper.cs │ │ │ └── ProcessStartInfoExtensions.cs │ │ └── Tracing │ │ │ ├── PlatformEqtTrace.cs │ │ │ └── RemoteEqtTrace.cs │ └── netcore │ │ ├── Runtime │ │ ├── PlatformAssemblyExtensions.cs │ │ ├── PlatformAssemblyLoadContext.cs │ │ └── PlatformAssemblyResolver.cs │ │ └── System │ │ ├── PlatformEnvironment.cs │ │ ├── PlatformThread.cs │ │ ├── ProcessHelper.cs │ │ └── ProcessStartInfoExtensions.cs ├── Microsoft.TestPlatform.TestHostProvider │ ├── BannedSymbols.txt │ ├── Friends.cs │ ├── Hosting │ │ ├── AppxManifestFile.cs │ │ ├── DefaultTestHostManager.cs │ │ ├── DotnetTestHostManager.cs │ │ └── TestHostManagerCallbacks.cs │ ├── Microsoft.TestPlatform.TestHostProvider.csproj │ ├── NullableHelpers.cs │ ├── NullableHelpers.tt │ ├── Properties │ │ ├── AssemblyInfo.cs │ │ └── TestExtensionTypesAttribute.cs │ ├── PublicAPI │ │ ├── PublicAPI.Shipped.txt │ │ ├── PublicAPI.Unshipped.txt │ │ ├── net48 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ │ ├── net8.0 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ │ ├── net9.0 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ │ └── netstandard2.0 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ └── Resources │ │ ├── Resources.Designer.cs │ │ ├── Resources.resx │ │ └── xlf │ │ ├── Resources.cs.xlf │ │ ├── Resources.de.xlf │ │ ├── Resources.es.xlf │ │ ├── Resources.fr.xlf │ │ ├── Resources.it.xlf │ │ ├── Resources.ja.xlf │ │ ├── Resources.ko.xlf │ │ ├── Resources.pl.xlf │ │ ├── Resources.pt-BR.xlf │ │ ├── Resources.ru.xlf │ │ ├── Resources.tr.xlf │ │ ├── Resources.xlf │ │ ├── Resources.zh-Hans.xlf │ │ └── Resources.zh-Hant.xlf ├── Microsoft.TestPlatform.Utilities │ ├── ClientUtilities.cs │ ├── CodeCoverageDataAttachmentsHandler.cs │ ├── CodeCoverageRunSettingsProcessor.cs │ ├── CommandLineUtilities.cs │ ├── Friends.cs │ ├── InferRunSettingsHelper.cs │ ├── MSTestSettingsUtilities.cs │ ├── Microsoft.TestPlatform.Utilities.csproj │ ├── NullableHelpers.cs │ ├── NullableHelpers.tt │ ├── ParallelRunSettingsUtilities.cs │ ├── PublicAPI │ │ ├── PublicAPI.Shipped.txt │ │ ├── PublicAPI.Unshipped.txt │ │ ├── net462 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ │ ├── net8.0 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ │ └── netstandard2.0 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ ├── Resources │ │ ├── Resources.Designer.cs │ │ ├── Resources.resx │ │ └── xlf │ │ │ ├── Resources.cs.xlf │ │ │ ├── Resources.de.xlf │ │ │ ├── Resources.es.xlf │ │ │ ├── Resources.fr.xlf │ │ │ ├── Resources.it.xlf │ │ │ ├── Resources.ja.xlf │ │ │ ├── Resources.ko.xlf │ │ │ ├── Resources.pl.xlf │ │ │ ├── Resources.pt-BR.xlf │ │ │ ├── Resources.ru.xlf │ │ │ ├── Resources.tr.xlf │ │ │ ├── Resources.xlf │ │ │ ├── Resources.zh-Hans.xlf │ │ │ └── Resources.zh-Hant.xlf │ ├── StringExtensions.cs │ └── XmlUtilities.cs ├── Microsoft.TestPlatform.VsTestConsole.TranslationLayer │ ├── ConsoleParameters.cs │ ├── DiscoveryEventsHandleConverter.cs │ ├── Friends.cs │ ├── Interfaces │ │ ├── IProcessManager.cs │ │ ├── ITestSession.cs │ │ ├── ITestSessionAsync.cs │ │ ├── ITranslationLayerRequestSender.cs │ │ ├── ITranslationLayerRequestSenderAsync.cs │ │ ├── IVsTestConsoleWrapper.cs │ │ └── IVsTestConsoleWrapperAsync.cs │ ├── Microsoft.TestPlatform.VsTestConsole.TranslationLayer.csproj │ ├── Microsoft.TestPlatform.VsTestConsole.TranslationLayer.nuspec │ ├── NoOpTelemetryEventsHandler.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── PublicAPI │ │ ├── PublicAPI.Shipped.txt │ │ ├── PublicAPI.Unshipped.txt │ │ ├── net462 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ │ ├── net8.0 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ │ └── netstandard2.0 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ ├── Resources │ │ ├── InternalResources.Designer.cs │ │ ├── InternalResources.resx │ │ ├── Resources.Designer.cs │ │ ├── Resources.resx │ │ └── xlf │ │ │ ├── InternalResources.cs.xlf │ │ │ ├── InternalResources.de.xlf │ │ │ ├── InternalResources.es.xlf │ │ │ ├── InternalResources.fr.xlf │ │ │ ├── InternalResources.it.xlf │ │ │ ├── InternalResources.ja.xlf │ │ │ ├── InternalResources.ko.xlf │ │ │ ├── InternalResources.pl.xlf │ │ │ ├── InternalResources.pt-BR.xlf │ │ │ ├── InternalResources.ru.xlf │ │ │ ├── InternalResources.tr.xlf │ │ │ ├── InternalResources.xlf │ │ │ ├── InternalResources.zh-Hans.xlf │ │ │ ├── InternalResources.zh-Hant.xlf │ │ │ ├── Resources.cs.xlf │ │ │ ├── Resources.de.xlf │ │ │ ├── Resources.es.xlf │ │ │ ├── Resources.fr.xlf │ │ │ ├── Resources.it.xlf │ │ │ ├── Resources.ja.xlf │ │ │ ├── Resources.ko.xlf │ │ │ ├── Resources.pl.xlf │ │ │ ├── Resources.pt-BR.xlf │ │ │ ├── Resources.ru.xlf │ │ │ ├── Resources.tr.xlf │ │ │ ├── Resources.xlf │ │ │ ├── Resources.zh-Hans.xlf │ │ │ └── Resources.zh-Hant.xlf │ ├── TestSession.cs │ ├── TransationLayerException.cs │ ├── VsTestConsoleProcessManager.cs │ ├── VsTestConsoleRequestSender.cs │ └── VsTestConsoleWrapper.cs ├── SettingsMigrator │ ├── Migrator.cs │ ├── NullableHelpers.cs │ ├── NullableHelpers.tt │ ├── PathResolver.cs │ ├── Program.cs │ ├── PublicAPI │ │ ├── PublicAPI.Shipped.txt │ │ └── PublicAPI.Unshipped.txt │ ├── Resources │ │ ├── Resources.Designer.cs │ │ ├── Resources.resx │ │ └── xlf │ │ │ ├── Resources.cs.xlf │ │ │ ├── Resources.de.xlf │ │ │ ├── Resources.es.xlf │ │ │ ├── Resources.fr.xlf │ │ │ ├── Resources.it.xlf │ │ │ ├── Resources.ja.xlf │ │ │ ├── Resources.ko.xlf │ │ │ ├── Resources.pl.xlf │ │ │ ├── Resources.pt-BR.xlf │ │ │ ├── Resources.ru.xlf │ │ │ ├── Resources.tr.xlf │ │ │ ├── Resources.xlf │ │ │ ├── Resources.zh-Hans.xlf │ │ │ └── Resources.zh-Hant.xlf │ ├── SettingsMigrator.csproj │ └── TestSettingsNodes.cs ├── datacollector.arm64 │ └── datacollector.arm64.csproj ├── datacollector │ ├── DataCollectorMain.cs │ ├── Friends.cs │ ├── MessageSink.cs │ ├── Program.cs │ ├── PublicAPI │ │ ├── PublicAPI.Shipped.txt │ │ ├── PublicAPI.Unshipped.txt │ │ ├── net48 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ │ ├── net8.0 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ │ └── net9.0 │ │ │ ├── PublicAPI.Shipped.txt │ │ │ └── PublicAPI.Unshipped.txt │ ├── app.config │ └── datacollector.csproj ├── package │ ├── Directory.Build.props │ ├── Microsoft.CodeCoverage │ │ ├── Microsoft.CodeCoverage.csproj │ │ ├── Microsoft.CodeCoverage.nuspec │ │ ├── Microsoft.CodeCoverage.props │ │ ├── Microsoft.CodeCoverage.targets │ │ └── ThirdPartyNoticesCodeCoverage.txt │ ├── Microsoft.NET.Test.Sdk │ │ ├── Microsoft.NET.Test.Sdk.csproj │ │ ├── Microsoft.NET.Test.Sdk.nuspec │ │ ├── Microsoft.NET.Test.Sdk.props │ │ ├── _._ │ │ ├── netcoreapp │ │ │ ├── Microsoft.NET.Test.Sdk.Program.cs │ │ │ ├── Microsoft.NET.Test.Sdk.Program.fs │ │ │ ├── Microsoft.NET.Test.Sdk.Program.vb │ │ │ └── Microsoft.NET.Test.Sdk.targets │ │ └── netfx │ │ │ └── Microsoft.NET.Test.Sdk.targets │ ├── Microsoft.TestPlatform.CLI │ │ ├── Microsoft.TestPlatform.CLI.csproj │ │ ├── Microsoft.TestPlatform.CLI.nuspec │ │ ├── Microsoft.TestPlatform.CLI.sourcebuild.nuspec │ │ └── Microsoft.TestPlatform.CLI.sourcebuild.product.nuspec │ ├── Microsoft.TestPlatform.Internal.Uwp │ │ ├── Microsoft.TestPlatform.Internal.Uwp.csproj │ │ └── Microsoft.TestPlatform.Internal.Uwp.nuspec │ ├── Microsoft.TestPlatform.Portable │ │ ├── Microsoft.TestPlatform.Portable.csproj │ │ └── Microsoft.TestPlatform.Portable.nuspec │ ├── Microsoft.TestPlatform.TestHost │ │ ├── Microsoft.TestPlatform.TestHost.csproj │ │ ├── Microsoft.TestPlatform.TestHost.nuspec │ │ ├── Microsoft.TestPlatform.TestHost.props │ │ ├── Microsoft.TestPlatform.TestHost.targets │ │ └── _._ │ ├── Microsoft.TestPlatform │ │ ├── Microsoft.TestPlatform.csproj │ │ └── Microsoft.TestPlatform.nuspec │ ├── Microsoft.VisualStudio.TestTools.TestPlatform.V2.CLI │ │ ├── License.rtf │ │ ├── Microsoft.VisualStudio.TestTools.TestPlatform.V2.CLI.csproj │ │ ├── Resources │ │ │ ├── cs │ │ │ │ └── extension.vsixlangpack │ │ │ ├── de │ │ │ │ └── extension.vsixlangpack │ │ │ ├── es │ │ │ │ └── extension.vsixlangpack │ │ │ ├── fr │ │ │ │ └── extension.vsixlangpack │ │ │ ├── it │ │ │ │ └── extension.vsixlangpack │ │ │ ├── ja │ │ │ │ └── extension.vsixlangpack │ │ │ ├── ko │ │ │ │ └── extension.vsixlangpack │ │ │ ├── pl │ │ │ │ └── extension.vsixlangpack │ │ │ ├── pt-BR │ │ │ │ └── extension.vsixlangpack │ │ │ ├── ru │ │ │ │ └── extension.vsixlangpack │ │ │ ├── tr │ │ │ │ └── extension.vsixlangpack │ │ │ ├── zh-Hans │ │ │ │ └── extension.vsixlangpack │ │ │ └── zh-Hant │ │ │ │ └── extension.vsixlangpack │ │ ├── source.extension.vsixmanifest │ │ └── testplatform.config │ ├── ThirdPartyNotices.txt │ └── licenses │ │ ├── LICENSE_MIT.txt │ │ └── LICENSE_VS.txt ├── testhost.arm64 │ ├── app.manifest │ └── testhost.arm64.csproj ├── testhost.x86 │ ├── AppDomainEngineInvoker.cs │ ├── DebugAssertException.cs │ ├── DefaultEngineInvoker.cs │ ├── Friends.cs │ ├── IEngineInvoker.cs │ ├── Program.cs │ ├── PublicAPI │ │ ├── PublicAPI.Shipped.txt │ │ └── PublicAPI.Unshipped.txt │ ├── TestHostTraceListener.cs │ ├── TestPlatform.ObjectModel.manifest │ ├── TestPlatform.ObjectModel.x86.manifest │ ├── UnitTestClient.cs │ ├── app.config │ ├── app.manifest │ └── testhost.x86.csproj ├── testhost │ ├── app.manifest │ └── testhost.csproj ├── vstest.console.arm64 │ └── vstest.console.arm64.csproj └── vstest.console │ ├── BannedSymbols.txt │ ├── CommandLine │ ├── AssemblyMetadataProvider.cs │ ├── CommandArgumentPair.cs │ ├── CommandLineException.cs │ ├── CommandLineOptions.cs │ ├── Executor.cs │ ├── GenerateFakesUtilities.cs │ ├── InferHelper.cs │ ├── Interfaces │ │ └── IAssemblyMetadataProvider.cs │ ├── TestRunResultAggregator.cs │ └── TestSourceException.cs │ ├── Friends.cs │ ├── HandlerToEventsRegistrarAdapter.cs │ ├── InProcessVsTestConsoleWrapper.cs │ ├── Internal │ ├── ConsoleHelper.cs │ ├── ConsoleLogger.cs │ ├── EventRegistrarToWarningLoggerAdapter.cs │ ├── FilePatternParser.cs │ ├── Interfaces │ │ ├── IConsoleHelper.cs │ │ └── IProgressIndicator.cs │ ├── MSBuildLogger.cs │ ├── NullWarningLogger.cs │ ├── Product.cs │ ├── ProgressIndicator.cs │ └── SourceSummary.cs │ ├── NullableHelpers.cs │ ├── NullableHelpers.tt │ ├── Processors │ ├── AeDebuggerArgumentProcessor.cs │ ├── ArtifactProcessingCollectModeProcessor.cs │ ├── ArtifactProcessingPostProcessModeProcessor.cs │ ├── CLIRunSettingsArgumentProcessor.cs │ ├── CollectArgumentProcessor.cs │ ├── DisableAutoFakesArgumentProcessor.cs │ ├── EnableBlameArgumentProcessor.cs │ ├── EnableCodeCoverageArgumentProcessor.cs │ ├── EnableDiagArgumentProcessor.cs │ ├── EnableLoggerArgumentProcessor.cs │ ├── EnvironmentArgumentProcessor.cs │ ├── FrameworkArgumentProcessor.cs │ ├── HelpArgumentProcessor.cs │ ├── InIsolationArgumentProcessor.cs │ ├── Interfaces │ │ ├── IArgumentExector.cs │ │ ├── IArgumentProcessor.cs │ │ ├── IArgumentProcessorCapabilities.cs │ │ └── IArgumentsExecutor.cs │ ├── ListExtensionsArgumentProcessor.cs │ ├── ListFullyQualifiedTestsArgumentProcessor.cs │ ├── ListTestsArgumentProcessor.cs │ ├── ListTestsTargetPathArgumentProcessor.cs │ ├── ParallelArgumentProcessor.cs │ ├── ParentProcessIdArgumentProcessor.cs │ ├── PlatformArgumentProcessor.cs │ ├── PortArgumentProcessor.cs │ ├── ResponseFileArgumentProcessor.cs │ ├── ResultsDirectoryArgumentProcessor.cs │ ├── RunSettingsArgumentProcessor.cs │ ├── RunSpecificTestsArgumentProcessor.cs │ ├── RunTestsArgumentProcessor.cs │ ├── ShowDeprecateDotnetVStestMessageArgumentProcessor.cs │ ├── TestAdapterLoadingStrategyArgumentProcessor.cs │ ├── TestAdapterPathArgumentProcessor.cs │ ├── TestCaseFilterArgumentProcessor.cs │ ├── TestSessionCorrelationIdProcessor.cs │ ├── TestSourceArgumentProcessor.cs │ ├── UseVsixExtensionsArgumentProcessor.cs │ └── Utilities │ │ ├── ArgumentProcessorFactory.cs │ │ ├── ArgumentProcessorPriority.cs │ │ ├── ArgumentProcessorResult.cs │ │ ├── ArgumentProcessorUtilities.cs │ │ ├── BaseArgumentProcessorCapabilities.cs │ │ ├── HelpContentPriority.cs │ │ └── LoggerUtilities.cs │ ├── Program.cs │ ├── Properties │ └── launchSettings.json │ ├── PublicAPI │ ├── PublicAPI.Shipped.txt │ ├── PublicAPI.Unshipped.txt │ ├── net48 │ │ ├── PublicAPI.Shipped.txt │ │ └── PublicAPI.Unshipped.txt │ ├── net8.0 │ │ ├── PublicAPI.Shipped.txt │ │ └── PublicAPI.Unshipped.txt │ ├── net9.0 │ │ ├── PublicAPI.Shipped.txt │ │ └── PublicAPI.Unshipped.txt │ └── netcoreapp3.1 │ │ ├── PublicAPI.Shipped.txt │ │ └── PublicAPI.Unshipped.txt │ ├── Publisher │ ├── IMetricsPublisher.cs │ ├── MetricsPublisherFactory.cs │ ├── NoOpMetricsPublisher.cs │ └── TextFileTelemetryPublisher.cs │ ├── Resources │ ├── Resources.Designer.cs │ ├── Resources.resx │ └── xlf │ │ ├── Resources.cs.xlf │ │ ├── Resources.de.xlf │ │ ├── Resources.es.xlf │ │ ├── Resources.fr.xlf │ │ ├── Resources.it.xlf │ │ ├── Resources.ja.xlf │ │ ├── Resources.ko.xlf │ │ ├── Resources.pl.xlf │ │ ├── Resources.pt-BR.xlf │ │ ├── Resources.ru.xlf │ │ ├── Resources.tr.xlf │ │ ├── Resources.xlf │ │ ├── Resources.zh-Hans.xlf │ │ └── Resources.zh-Hant.xlf │ ├── TestPlatformHelpers │ └── TestRequestManager.cs │ ├── app.config │ ├── app.manifest │ └── vstest.console.csproj ├── temp ├── cpp │ ├── Microsoft.VisualStudio.TestTools.CppUnitTestFramework.ComInterfaces.dll │ ├── Microsoft.VisualStudio.TestTools.CppUnitTestFramework.ComInterfaces.xml │ ├── Microsoft.VisualStudio.TestTools.CppUnitTestFramework.CppUnitTestExtension.dll │ ├── Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Discoverer.dll │ ├── Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Executor.Resources.dll │ ├── Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Executor.dll │ ├── Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Executor.dll.manifest │ ├── Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Executor.x64.dll │ ├── Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Executor.x64.dll.manifest │ ├── Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Resources.dll │ ├── Microsoft.VisualStudio.TestTools.CppUnitTestFramework.TestEngine.dll │ ├── Microsoft.VisualStudio.TestTools.CppUnitTestFramework.dll │ ├── Microsoft.VisualStudio.TestTools.CppUnitTestFramework.x64.dll │ ├── System.ComponentModel.Composition.dll │ └── x64 │ │ └── dbghelp.dll └── testhost │ ├── testhost-1.0.runtimeconfig.json │ ├── testhost-1.1.runtimeconfig.json │ ├── testhost-2.0.runtimeconfig.json │ ├── testhost-2.1.runtimeconfig.json │ ├── testhost-3.0.runtimeconfig.json │ ├── testhost-3.1.runtimeconfig.json │ ├── testhost-5.0.runtimeconfig.json │ ├── testhost-6.0.runtimeconfig.json │ ├── testhost-7.0.runtimeconfig.json │ ├── testhost-8.0.runtimeconfig.json │ ├── testhost-9.0.runtimeconfig.json │ ├── testhost-latest.runtimeconfig.json │ └── testhost.deps.json ├── test.cmd ├── test.sh └── test ├── .editorconfig ├── DataCollectors └── Microsoft.TestPlatform.Extensions.EventLogCollector.UnitTests │ ├── CollectorNameValueConfigurationManagerTests.cs │ ├── EventLogContainerTests.cs │ ├── EventLogDataCollectorTests.cs │ ├── EventLogSessionContextTests.cs │ ├── EventLogXmlWriterTests.cs │ └── Microsoft.TestPlatform.Extensions.EventLogCollector.UnitTests.csproj ├── Directory.Build.props ├── Intent.Primitives ├── ExcludeAttribute.cs ├── IRunLogger.cs ├── Intent.Primitives.csproj ├── OnlyAttribute.cs ├── TestAttribute.cs └── TestResult.cs ├── Intent ├── ConsoleLogger.cs ├── Extensions.cs ├── Intent.csproj ├── Program.cs └── Runner.cs ├── Microsoft.TestPlatform.Acceptance.IntegrationTests ├── AcceptanceTestBase.cs ├── AppDomainTests.cs ├── ArgumentProcessorTests.cs ├── AssemblyMetadataProviderTests.cs ├── AssemblyPropertiesTests.cs ├── BannedSymbols.txt ├── BlameDataCollectorTests.cs ├── Build.cs ├── CUITTest.cs ├── CodeCoverageAcceptanceTestBase.cs ├── CodeCoverageTests.cs ├── DataCollectionTests.cs ├── DataCollectorAttachmentsProcessorsFactoryTests.cs ├── DataCollectorTests.Coverlet.cs ├── DebugAssertTests.cs ├── DeprecateExtensionsPathWarningTests.cs ├── DiaSessionTests.cs ├── DifferentTestFrameworkSimpleTests.cs ├── DisableAppdomainTests.cs ├── DiscoveryTests.cs ├── DotnetArchitectureSwitchTests.Windows.cs ├── DotnetArchitectureSwitchTests.cs ├── DotnetHostArchitectureVerifierTests.cs ├── DotnetTestMSBuildOutputTests.cs ├── DotnetTestTests.cs ├── EventLogCollectorTests.cs ├── ExecutionTests.cs ├── ExecutionThreadApartmentStateTests.cs ├── Extension │ ├── CompatibilityRowsBuilder.cs │ ├── Feature.cs │ ├── Features.cs │ ├── IsExternalInit.cs │ ├── MSTestCompatibilityDataSource.cs │ ├── NetCoreRunnerAttribute.cs │ ├── NetCoreTargetFrameworkDataSourceAttribute.cs │ ├── NetFrameworkRunnerAttribute.cs │ ├── NetFullTargetFrameworkDataSourceAttribute.cs │ ├── RunnerCompatibilityDataSource.cs │ ├── RunnnerInfo.cs │ ├── TestDataSourceAttribute.cs │ ├── TestPlatformCompatibilityDataSource.cs │ └── TesthostCompatibilityDataSource.cs ├── FilePatternParserTests.cs ├── FrameworkTests.cs ├── ListExtensionsTests.cs ├── LoggerTests.cs ├── ManagedNameTests │ └── SpecialNameTests.cs ├── MetadataReaderHelperTests.cs ├── Microsoft.TestPlatform.Acceptance.IntegrationTests.csproj ├── MultitargetingTestHostTests.cs ├── Performance │ ├── PerfInstrumentation │ │ ├── Constants.cs │ │ ├── PerfAnalyzer.cs │ │ ├── PerformanceTestBase.cs │ │ └── TestPlatformTask.cs │ ├── PerformanceTests.cs │ ├── ProtocolV1Tests.cs │ ├── ProtocolV2Tests.cs │ ├── SocketTests.cs │ └── TranslationLayer │ │ ├── DiscoveryPerfTests.cs │ │ ├── EventHandler │ │ ├── DiscoveryEventHandler.cs │ │ └── RunEventHandler.cs │ │ ├── ExecutionPerfTests.cs │ │ └── TelemetryPerfTestBase.cs ├── PlatformTests.cs ├── PortableNugetPackageTests.cs ├── PostProcessingTests.cs ├── ProcessesInteractionTests.cs ├── Program.cs ├── Properties │ └── AssemblyInfo.cs ├── RecursiveResourcesLookupTests.cs ├── ResultsDirectoryTests.cs ├── RunsettingsTests.cs ├── SelfContainedAppTests.cs ├── TelemetryTests.cs ├── TestCaseFilterTests.cs ├── TestPlatformNugetPackageTests.cs ├── TestResults.html └── TranslationLayerTests │ ├── CodeCoverageTests.cs │ ├── CustomTestHostTests.cs │ ├── DataCollectorAttachmentProcessor.cs │ ├── DifferentTestFrameworkSimpleTests.cs │ ├── DiscoverTests.cs │ ├── EventHandler │ ├── DiscoveryEventHandler.cs │ ├── RunEventHandler.cs │ ├── TelemetryEventsHandler.cs │ └── TestRunAttachmentsProcessingEventHandler.cs │ ├── LiveUnitTestingTests.cs │ ├── RunSelectedTests.cs │ ├── RunTests.cs │ ├── RunTestsWithDifferentConfigurationTests.cs │ ├── RunTestsWithFilterTests.cs │ ├── SerializeTestRunTests.cs │ └── TargetFrameworkTestHostDemultiplexer.cs ├── Microsoft.TestPlatform.AdapterUtilities.UnitTests ├── ManagedNameUtilities │ ├── FindMethodExtensions.cs │ ├── ManagedNameGeneratorTests.cs │ ├── ManagedNameParserTests.cs │ └── ManagedNameRoundTripTests.cs ├── Microsoft.TestPlatform.AdapterUtilities.UnitTests.csproj ├── Program.cs ├── TestClasses.cs └── TestIdProvider │ └── CompatibilityTests.cs ├── Microsoft.TestPlatform.Build.UnitTests ├── FakeBuildEngine.cs ├── Microsoft.TestPlatform.Build.UnitTests.csproj ├── Program.cs └── TestTaskUtilsTests.cs ├── Microsoft.TestPlatform.Client.UnitTests ├── AttachmentsProcessing │ └── TestRunAttachmentsProcessingEventsHandlerTests.cs ├── DesignMode │ ├── DesignModeClientTests.cs │ ├── DesignModeTestHostLauncherFactoryTests.cs │ └── DesignModeTestHostLauncherTests.cs ├── Discovery │ └── DiscoveryRequestTests.cs ├── Execution │ └── TestRunRequestTests.cs ├── Microsoft.TestPlatform.Client.UnitTests.csproj ├── Program.cs └── TestPlatformTests.cs ├── Microsoft.TestPlatform.Common.UnitTests ├── ExtensionFramework │ ├── DataCollectorExtensionManagerTests.cs │ ├── ExtensionDecoratorTests.cs │ ├── TestDiscoveryExtensionManagerTests.cs │ ├── TestExecutorExtensionManagerTests.cs │ ├── TestExtensionManagerTests.cs │ ├── TestLoggerExtensionManagerTests.cs │ ├── TestPluginCacheTests.cs │ ├── TestPluginDiscovererTests.cs │ ├── TestPluginManagerTests.cs │ └── Utilities │ │ ├── LazyExtensionTests.cs │ │ ├── RunSettingsProviderExtensionsTests.cs │ │ ├── TestDiscovererPluginInformationTests.cs │ │ ├── TestExtensionPluginInformationTests.cs │ │ ├── TestExtensionsTests.cs │ │ ├── TestLoggerPluginInformationTests.cs │ │ ├── TestPluginInformationTests.cs │ │ └── TestSettingsProviderPluginInformationTests.cs ├── Filtering │ ├── ConditionTests.cs │ ├── FastFilterTests.cs │ ├── FilterExpressionTests.cs │ └── TestCaseFilterExpressionTests.cs ├── Hosting │ ├── TestHostExtensionManagerTests.cs │ └── TestHostProviderManagerTests.cs ├── Logging │ ├── InternalTestLoggerEventsTests.cs │ └── TestSessionMessageLoggerTests.cs ├── Microsoft.TestPlatform.Common.UnitTests.csproj ├── Program.cs ├── RequestDataTests.cs ├── RunSettingsManagerTests.cs ├── RunSettingsTests.cs ├── SettingsProvider │ └── SettingsProviderExtensionManagerTests.cs ├── Telemetry │ └── MetricsCollectionTests.cs └── Utilities │ ├── ExceptionUtilitiesTests.cs │ ├── FakesUtilitiesTests.cs │ ├── InstallationContextTests.cs │ └── RunSettingsUtilitiesTests.cs ├── Microsoft.TestPlatform.CommunicationUtilities.Platform.UnitTests ├── Microsoft.TestPlatform.CommunicationUtilities.Platform.UnitTests.csproj ├── Program.cs ├── SocketClientTests.cs ├── SocketCommunicationManagerTests.cs ├── SocketServerTests.cs └── SocketTestsBase.cs ├── Microsoft.TestPlatform.CommunicationUtilities.UnitTests ├── DataCollectionRequestHandlerTests.cs ├── DataCollectionRequestSenderTests.cs ├── DataCollectionTestCaseEventHandlerTests.cs ├── DataCollectionTestCaseEventSenderTests.cs ├── JsonDataSerializerTests.cs ├── LengthPrefixCommunicationChannelTests.cs ├── Microsoft.TestPlatform.CommunicationUtilities.UnitTests.csproj ├── ObjectModel │ ├── TestDiscoveryEventHandlerTests.cs │ └── TestRunEventsHandlerTests.cs ├── Program.cs ├── Serialization │ ├── TestCaseSerializationTests.cs │ ├── TestObjectConverterTests.cs │ └── TestResultSerializationTests.cs ├── SocketCommunicationManagerTest.cs ├── TelemetryReporterTests.cs ├── TestDoubles │ ├── TestableDataCollectionRequestHandler.cs │ ├── TestableDataCollectionTestCaseEventSender.cs │ └── TestableTestObject.cs └── TestRequestSenderTests.cs ├── Microsoft.TestPlatform.CoreUtilities.UnitTests ├── FeatureFlag │ └── FeatureFlagTests.cs ├── Helpers │ ├── CommandLineArgumentsHelperTests.cs │ ├── DotnetHostHelperTest.cs │ ├── EnvironmentHelperTests.cs │ └── FileHelperTests.cs ├── Microsoft.TestPlatform.CoreUtilities.UnitTests.csproj ├── Output │ └── OutputExtensionsTests.cs ├── Program.cs ├── TestAssets │ ├── dotnetMacArm64 │ ├── dotnetMacX64 │ ├── dotnetWinArm64.exe │ ├── dotnetWinX64.exe │ └── dotnetWinX86.exe ├── Tracing │ └── EqtTraceTests.cs └── Utilities │ ├── JobQueueTests.cs │ └── TimeSpanParserTests.cs ├── Microsoft.TestPlatform.CrossPlatEngine.UnitTests ├── Adapter │ ├── FrameworkHandleTests.cs │ ├── RunContextTests.cs │ └── TestExecutionRecorderTests.cs ├── AttachmentsProcessing │ ├── DataCollectorAttachmentProcessorAppDomainTests.cs │ └── TestRunAttachmentsProcessingManagerTests.cs ├── Client │ ├── InProcessProxyDiscoveryManagerTests.cs │ ├── InProcessProxyexecutionManagerTests.cs │ ├── Parallel │ │ ├── DiscoveryDataAggregatorTests.cs │ │ ├── ParallelDiscoveryEventsHandlerTests.cs │ │ ├── ParallelOperationManagerTests.cs │ │ ├── ParallelProxyDiscoveryManagerTests.cs │ │ ├── ParallelProxyExecutionManagerTests.cs │ │ ├── ParallelRunDataAggregatorTests.cs │ │ └── ParallelRunEventsHandlerTests.cs │ ├── ProxyBaseManagerTests.cs │ ├── ProxyDiscoveryManagerTests.cs │ ├── ProxyExecutionManagerTests.cs │ ├── ProxyExecutionManagerWithDataCollectionTests.cs │ ├── ProxyOperationManagerTests.cs │ └── ProxyTestSessionManagerTests.cs ├── DataCollection │ ├── DataCollectionLauncherFactoryTests.cs │ ├── DataCollectionTestRunEventsHandlerTests.cs │ ├── DotnetDataCollectionLauncherTests.cs │ ├── InProcDataCollectionExtensionManagerTests.cs │ ├── InProcDataCollectionSinkTests.cs │ ├── InProcDataCollectorTests.cs │ ├── ParallelDataCollectionEventsHandlerTests.cs │ ├── ProxyDataCollectionManagerTests.cs │ └── ProxyOutOfProcDataCollectionManagerTests.cs ├── Discovery │ ├── DiscovererEnumeratorTests.cs │ ├── DiscoveryContextTests.cs │ ├── DiscoveryManagerTests.cs │ ├── DiscoveryResultCacheTests.cs │ └── TestCaseDiscoverySinkTests.cs ├── EventHandlers │ └── TestRequestHandlerTests.cs ├── Execution │ ├── BaseRunTestsTests.cs │ ├── ExecutionManagerTests.cs │ ├── RunTestsWithSourcesTests.cs │ ├── RunTestsWithTestsTests.cs │ └── TestRunCacheTests.cs ├── Microsoft.TestPlatform.CrossPlatEngine.UnitTests.csproj ├── PostProcessing │ └── ArtifactProcessingTests.cs ├── Program.cs ├── TestEngineTests.cs ├── TestExtensionManagerTests.cs ├── TestHostManagerFactoryTests.cs ├── TestLoggerManagerTests.cs ├── TestSession │ └── TestSessionPoolTests.cs ├── TestableImplementations │ ├── TestableRuntimeProvider.cs │ ├── TestableTestEngine.cs │ └── TestableTestRunCache.cs └── Utilities │ └── TestSourcesUtilityTests.cs ├── Microsoft.TestPlatform.Extensions.BlameDataCollector.UnitTests ├── BlameCollectorTests.cs ├── BlameLoggerTests.cs ├── InactivityTimerTests.cs ├── Microsoft.TestPlatform.Extensions.BlameDataCollector.UnitTests.csproj ├── ProcDumpArgsBuilderTests.cs ├── ProcessDumpUtilityTests.cs ├── Program.cs └── XmlReaderWriterTests.cs ├── Microsoft.TestPlatform.Extensions.HtmlLogger.UnitTests ├── HtmlLoggerTests.cs ├── Microsoft.TestPlatform.Extensions.HtmlLogger.UnitTests.csproj └── Program.cs ├── Microsoft.TestPlatform.Extensions.TrxLogger.UnitTests ├── Microsoft.TestPlatform.Extensions.TrxLogger.UnitTests.csproj ├── Program.cs ├── TrxLoggerTests.cs ├── Utility │ ├── ConverterTests.cs │ └── TrxFileHelperTests.cs └── XmlPersistenceTests.cs ├── Microsoft.TestPlatform.ObjectModel.UnitTests ├── Client │ ├── BaseTestRunCriteriaTests.cs │ ├── DiscoveryCriteriaTests.cs │ └── TestRunCriteriaTests.cs ├── CustomKeyValueConverterTests.cs ├── CustomStringArrayConverterTests.cs ├── DataCollector │ └── Events │ │ └── SessionEventsTests.cs ├── FrameworkTests.cs ├── Hosting │ └── TestRunnerConnectionInfoExtensionsTests.cs ├── Microsoft.TestPlatform.ObjectModel.UnitTests.csproj ├── Program.cs ├── RunSettings │ ├── RunConfigurationTests.cs │ └── RunSettingsTests.cs ├── TestCaseTests.cs ├── TestObjectTests.cs ├── TestResultTests.cs └── Utilities │ ├── AssemblyHelperTests.cs │ ├── FilterHelperTests.cs │ └── XmlRunSettingsUtilitiesTests.cs ├── Microsoft.TestPlatform.TestHostProvider.UnitTests ├── Hosting │ ├── DefaultTestHostManagerTests.cs │ ├── DotnetTestHostManagerTests.cs │ └── TestHostManagerCallbacksTests.cs ├── Microsoft.TestPlatform.TestHostProvider.UnitTests.csproj └── Program.cs ├── Microsoft.TestPlatform.TestUtilities ├── AssemblyUtility.cs ├── BannedSymbols.txt ├── DebugInfo.cs ├── DirectoryUtils.cs ├── DllInfo.cs ├── FileAssert.cs ├── IntegrationTestBase.cs ├── IntegrationTestEnvironment.cs ├── Microsoft.TestPlatform.TestUtilities.csproj ├── NetTestSdkInfo.cs ├── OSUtils.cs ├── RandomId.cs ├── TempDirectory.cs ├── TestPluginCacheHelper.cs ├── TestableTestPluginCache.cs └── VSTestConsoleInfo.cs ├── Microsoft.TestPlatform.Utilities.UnitTests ├── ClientUtilitiesTests.cs ├── CodeCoverageDataAttachmentsHandlerTests.cs ├── CodeCoverageRunSettingsProcessorTests.cs ├── CommandLineUtilitiesTest.cs ├── DefaultCodeCoverageConfig.xml ├── InferRunSettingsHelperTests.cs ├── MSTestSettingsUtilitiesTests.cs ├── Microsoft.TestPlatform.Utilities.UnitTests.csproj ├── Program.cs ├── StringUtilitiesTests.cs ├── TestFiles │ ├── fullcovered.cobertura.xml │ ├── fullcovered.coverage │ └── fullcovered.coverage.xml └── XmlUtilitiesTests.cs ├── SettingsMigrator.UnitTests ├── MigratorTests.cs ├── PathResolverTests.cs ├── ProgramTests.cs ├── SettingsMigrator.UnitTests.csproj ├── oldRunSettingsWithDataCollector.runsettings ├── oldRunSettingsWithEmbeddedSettings.runsettings └── oldTestSettings.testsettings ├── TestAssets ├── AppDomainGetAssembliesTestProject │ ├── AppDomainGetAssembliesTestProject.csproj │ └── UnitTest1.cs ├── ArchitectureSwitch │ ├── ArchitectureSwitch.csproj │ ├── UnitTest1.cs │ └── global.json ├── AttachmentProcessorDataCollector │ ├── AttachmentProcessorDataCollector.csproj │ ├── SampleDataCollector.cs │ └── TestExtensionTypesAttribute.cs ├── BlameUnitTestProject │ ├── BlameUnitTestProject.csproj │ └── UnitTest1.cs ├── CILProject │ ├── CILProject.proj │ └── OrphanMethod.il ├── CPPSimpleTestProject │ ├── CPPSimpleProj │ │ ├── CPPSimpleProj.vcxproj │ │ ├── CPPSimpleProj.vcxproj.filters │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ ├── targetver.h │ │ └── unittest1.cpp │ ├── ConsoleNativeApp │ │ ├── ConsoleNativeApp.cpp │ │ ├── ConsoleNativeApp.vcxproj │ │ ├── ConsoleNativeApp.vcxproj.filters │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ └── targetver.h │ └── Microsoft.TestPlatform.Asset.NativeCPP.nuspec ├── CUITTestProject │ ├── CUITTestProject.csproj │ └── CodedUITest1.cs ├── CodeCoverageTest │ ├── CodeCoverageTest.csproj │ ├── Logic.cs │ └── UnitTest1.cs ├── CompatTestExtension │ ├── Properties │ │ └── AssemblyInfo.cs │ └── UnitTest1.cs ├── CompatTestProject │ ├── Properties │ │ └── AssemblyInfo.cs │ └── UnitTest1.cs ├── ConsoleManagedApp │ ├── ConsoleManagedApp.csproj │ └── Program.cs ├── ConsoleRunners │ └── ConsoleRunners.csproj ├── CoverletCoverageTestProject │ ├── CoverletCoverageTestProject.csproj │ └── UnitTest1.cs ├── CrashingOnDebugAssertTestProject │ ├── CrashingOnDebugAssertTestProject.csproj │ └── DebugTests.cs ├── Directory.Build.props ├── Directory.Build.targets ├── DisableAppdomainTest1 │ ├── App.config │ ├── DisableAppdomainTest1.csproj │ └── UnitTest1.cs ├── DisableAppdomainTest2 │ ├── App.config │ ├── DisableAppdomainTest2.csproj │ └── UnitTest1.cs ├── DiscoveryTestProject │ ├── DiscoveryTestProject.csproj │ └── LongDiscoveryTestClass.cs ├── EnvironmentVariablesTestProject │ ├── EnvironmentVariablesTestProject.csproj │ └── UnitTest1.cs ├── EventLogUnitTestProject │ ├── EventLogUnitTestProject.csproj │ └── UnitTest1.cs ├── LegacySettingsUnitTestProject │ ├── DependencyAssembly │ │ └── DependencyAssemblyForTest.dll │ ├── DeploymentFile.xml │ ├── LegacySettingsUnitTestProject.csproj │ └── UnitTest1.cs ├── MSTestProject1 │ ├── MSTestProject1.csproj │ └── UnitTest1.cs ├── MSTestProject2 │ ├── MSTestProject2.csproj │ └── UnitTest1.cs ├── MstestV1UnitTestProject │ ├── MstestV1UnitTestProject.csproj │ ├── MstestV1UnitTestProjectTestSettings.testsettings │ └── UnitTest1.cs ├── MultiHostTestExecutionProject │ ├── MultiHostTestExecutionProject.csproj │ └── UnitTest1.cs ├── MultitargetedNetFrameworkProject │ ├── MultitargetedNetFrameworkProject.csproj │ └── UnitTest1.cs ├── NUTestProject │ ├── Class1.cs │ └── NUTestProject.csproj ├── NetStandard2Library │ ├── Class1.cs │ └── NetStandard2Library.csproj ├── NewtonSoftDependency │ ├── App.config │ ├── NewtonSoftDependency.csproj │ └── UnitTest1.cs ├── NonDll.TestAdapter │ ├── NonDll.TestAdapter.csproj │ └── TestAdapter.cs ├── OutOfProcDataCollector │ ├── OutOfProcDataCollector.csproj │ └── SampleDataCollector.cs ├── OutputtingTestProject │ ├── OutputtingTestProject.csproj │ └── UnitTest1.cs ├── ParametrizedTestProject │ ├── ParametrizedTestProject.csproj │ └── UnitTest1.cs ├── PerfTestProject │ ├── PerfTestProject.csproj │ └── UnitTest1.cs ├── ProjectFileRunSettingsTestProject │ ├── ProjectFileRunSettingsTestProject.csproj │ ├── UnitTest1.cs │ ├── fail.runsettings │ └── inconclusive.runsettings ├── QualityToolsAssets │ ├── BingWebTest │ │ ├── BingWebTest.csproj │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── WebTest1.webtest │ │ └── WebTest1Coded.cs │ └── Microsoft.TestPlatform.QTools.Assets.nuspec ├── RecursiveResourceLookupCrash │ ├── RecursiveResourceLookupCrash.csproj │ └── UnitTest1.cs ├── SelfContainedAppTestProject │ ├── SelfContainedAppTestProject.csproj │ └── UnitTest1.cs ├── SerializeTestRunTestProject │ ├── SerializeTestRunTestProject.csproj │ └── UnitTest1.cs ├── SimpleClassLibrary │ ├── Class1.cs │ ├── HugeMethodSet.cs │ └── SimpleClassLibrary.csproj ├── SimpleDataCollector │ ├── Class1.cs │ ├── SimpleDataCollector.csproj │ ├── TITestDllKey.snk │ └── app.config ├── SimpleTestProject │ ├── SimpleTestProject.csproj │ └── UnitTest1.cs ├── SimpleTestProject2 │ ├── SimpleTestProject2.csproj │ └── UnitTest1.cs ├── SimpleTestProject3 │ ├── SimpleTestProject3.csproj │ ├── TestSessionTimeoutTest.cs │ └── UnitTest1.cs ├── SimpleTestProjectARM64 │ ├── SimpleTestProjectARM64.csproj │ └── UnitTest1.cs ├── SimpleTestProjectMessedUpTargetFramework │ ├── SimpleTestProjectMessedUpTargetFramework.csproj │ └── UnitTest1.cs ├── SimpleTestProjectx86 │ ├── SimpleTestProjectx86.csproj │ └── UnitTest1.cs ├── TerminalLoggerTestProject │ ├── TerminalLoggerTestProject.csproj │ └── UnitTest1.cs ├── TestAssets.sln ├── Tools │ ├── Program.cs │ └── Tools.csproj ├── UWPTestAssets │ ├── AppxManifest.xml │ └── UnitTestApp8.build.appxrecipe ├── XUTestProject │ ├── Class1.cs │ └── XUTestProject.csproj ├── child-crash │ ├── UnitTest1.cs │ └── child-crash.csproj ├── child-hang │ ├── UnitTest1.cs │ └── child-hang.csproj ├── crash │ ├── UnitTest1.cs │ └── crash.csproj ├── hanging-child │ ├── Program.cs │ └── hanging-child.csproj ├── performance │ ├── MSTest1000Passing │ │ ├── MSTest1000Passing.csproj │ │ ├── MSTests.cs │ │ └── MSTests.tt │ ├── MSTest100Passing │ │ ├── MSTest100Passing.csproj │ │ ├── MSTests.cs │ │ └── MSTests.tt │ ├── MSTest10kPassing │ │ ├── MSTest10kPassing.csproj │ │ ├── MSTests.cs │ │ └── MSTests.tt │ ├── MSTest1Passing │ │ ├── MSTest1Passing.csproj │ │ ├── MSTests.cs │ │ └── MSTests.tt │ ├── NUnit1000Passing │ │ ├── NUnit1000Passing.csproj │ │ ├── NunitTests.cs │ │ └── NunitTests.tt │ ├── NUnit100Passing │ │ ├── NUnit100Passing.csproj │ │ ├── NunitTests.cs │ │ └── NunitTests.tt │ ├── NUnit10kPassing │ │ ├── NUnit10kPassing.csproj │ │ ├── NunitTests.cs │ │ └── NunitTests.tt │ ├── NUnit1Passing │ │ ├── NUnit1Passing.csproj │ │ ├── NunitTests.cs │ │ └── NunitTests.tt │ ├── Perfy.TestAdapter │ │ ├── Perfy.TestAdapter.csproj │ │ └── Perfy.cs │ ├── XUnit1000Passing │ │ ├── XUnit1000Passing.csproj │ │ ├── XunitTests.cs │ │ └── XunitTests.tt │ ├── XUnit100Passing │ │ ├── XUnit100Passing.csproj │ │ ├── XunitTests.cs │ │ └── XunitTests.tt │ ├── XUnit10kPassing │ │ ├── XUnit10kPassing.csproj │ │ ├── XunitTests.cs │ │ └── XunitTests.tt │ └── XUnit1Passing │ │ ├── XUnit1Passing.csproj │ │ ├── XunitTests.cs │ │ └── XunitTests.tt ├── problematic-child │ ├── Program.cs │ └── problematic-child.csproj ├── test.js └── timeout │ ├── UnitTest1.cs │ └── timeout.csproj ├── TranslationLayer.UnitTests ├── ConsoleParametersTests.cs ├── DiscoveryEventsHandleConverterTests.cs ├── Program.cs ├── TestSessionTests.cs ├── TranslationLayer.UnitTests.csproj ├── VsTestConsoleRequestSenderTests.cs └── VsTestConsoleWrapperTests.cs ├── coverlet.collector ├── CoverletInProcDataCollector.cs └── coverlet.collector.csproj ├── datacollector.PlatformTests ├── CommunicationLayerIntegrationTests.cs ├── CustomDataCollector.cs ├── Program.cs └── datacollector.PlatformTests.csproj ├── datacollector.UnitTests ├── DataCollectionAttachmentManagerTests.cs ├── DataCollectionEnvironmentVariableTests.cs ├── DataCollectionManagerTests.cs ├── DataCollectionTelemetryManagerTests.cs ├── DataCollectorConfigTests.cs ├── DataCollectorInformationTests.cs ├── DataCollectorMainTests.cs ├── DummyDataCollectors.cs ├── Program.cs ├── TestPlatformDataCollectionEventsTests.cs ├── TestPlatformDataCollectionLoggerTests.cs ├── TestPlatformDataCollectionSinkTests.cs └── datacollector.UnitTests.csproj ├── testhost.UnitTests ├── AppDomainEngineInvokerTests.cs ├── DefaultEngineInvokerTests.cs ├── DummyTests.cs ├── GlobalSuppressions.cs ├── Program.cs ├── TestHostTraceListenerTests.cs ├── UnitTestClientTests.cs └── testhost.UnitTests.csproj ├── vstest.ProgrammerTests ├── BasicRunAndDiscovery.cs ├── Fakes │ ├── ActionRecord.cs │ ├── DebugOptions.cs │ ├── EventRecord.cs │ ├── FakeAssemblyMetadataProvider.cs │ ├── FakeCommunicationChannel.cs │ ├── FakeCommunicationEndpoint.cs │ ├── FakeDataCollectorAttachmentsProcessorsFactory.cs │ ├── FakeDiscoveryEventsRegistrar.cs │ ├── FakeEnvironment.cs │ ├── FakeErrorAggregator.cs │ ├── FakeFile.cs │ ├── FakeFileHelper.cs │ ├── FakeMessage.cs │ ├── FakeMetricsPublisher.cs │ ├── FakeOutput.cs │ ├── FakeProcess.cs │ ├── FakeProcessHelper.cs │ ├── FakeTestBatchBuilder.cs │ ├── FakeTestDllBuilder.cs │ ├── FakeTestDllFile.cs │ ├── FakeTestExtensionManager.cs │ ├── FakeTestHost.cs │ ├── FakeTestHostBuilder.cs │ ├── FakeTestHostLauncher.cs │ ├── FakeTestHostResponsesBuilder.cs │ ├── FakeTestPlatformEventSource.cs │ ├── FakeTestRunEventsRegistrar.cs │ ├── FakeTestRuntimeProvider.cs │ ├── FakeTestRuntimeProviderManager.cs │ ├── FakeTestSessionEventsHandler.cs │ ├── Fixture.cs │ ├── FixtureOptions.cs │ ├── KnownFrameworkNames.cs │ ├── KnownFrameworkStrings.cs │ ├── OutputMessage.cs │ ├── RequestResponsePair.cs │ ├── SequentialId.cs │ ├── StringExtensions.cs │ ├── TestMessage.cs │ └── TestRequestManagerHelper.cs ├── GlobalSuppressions.cs ├── MultiTFMRunAndDiscovery.cs ├── Program.cs ├── Properties │ └── launchSettings.json └── vstest.ProgrammerTests.csproj └── vstest.console.UnitTests ├── CommandLine ├── CommandLineOptionsTests.cs ├── GenerateFakesUtilitiesTests.cs ├── InferHelperTests.cs └── TestRunResultAggregatorTests.cs ├── ExceptionUtilities.cs ├── ExecutorUnitTests.cs ├── GlobalSuppressions.cs ├── InProcessVsTestConsoleWrapperTests.cs ├── Internal ├── ConsoleLoggerTests.cs ├── FilePatternParserTests.cs └── ProgressIndicatorTests.cs ├── MainTests.cs ├── Processors ├── AeDebuggerArgumentProcessorTest.cs ├── ArtifactProcessingCollectModeProcessorTest.cs ├── ArtifactProcessingPostProcessModeProcessorTest.cs ├── CLIRunSettingsArgumentProcessorTests.cs ├── CollectArgumentProcessorTests.cs ├── DisableAutoFakesArgumentProcessorTests.cs ├── EnableBlameArgumentProcessorTests.cs ├── EnableCodeCoverageArgumentProcessorTests.cs ├── EnableDiagArgumentProcessorTests.cs ├── EnableLoggersArgumentProcessorTests.cs ├── EnvironmentArgumentProcessorTests.cs ├── FrameworkArgumentProcessorTests.cs ├── HelpArgumentProcessorTests.cs ├── InIsolationArgumentProcessorTests.cs ├── ListFullyQualifiedTestsArgumentProcessorTests.cs ├── ListTestsArgumentProcessorTests.cs ├── ListTestsTargetPathArgumentProcessorTests.cs ├── ParallelArgumentProcessorTests.cs ├── ParentProcessIdArgumentProcessorTests.cs ├── PlatformArgumentProcessorTests.cs ├── PortArgumentProcessorTests.cs ├── ResponseFileArgumentProcessorTests.cs ├── ResultsDirectoryArgumentProcessorTests.cs ├── RunSettingsArgumentProcessorTests.cs ├── RunSpecificTestsArgumentProcessorTests.cs ├── RunTestsArgumentProcessorTests.cs ├── ShowDeprecateDotnetVStestMessageArgumentProcessorTests.cs ├── TestAdapterLoadingStrategyArgumentProcessorTests.cs ├── TestAdapterPathArgumentProcessorTests.cs ├── TestCaseFilterArgumentProcessorTests.cs ├── TestSessionCorrelationIdProcessorTests.cs ├── TestSourceArgumentProcessorTests.cs ├── TestableRunSettingsProvider.cs ├── UseVsixExtensionsArgumentProcessorTests.cs └── Utilities │ ├── ArgumentProcessorFactoryTests.cs │ └── ArgumentProcessorUtilitiesTests.cs ├── Program.cs ├── Publisher ├── MetricsPublisherFactoryTests.cs └── TextFileTelemetryPublisherTests.cs ├── StringExtensions.cs ├── TestDoubles ├── DummyCommandLineOptions.cs ├── DummyLoggerEvents.cs └── DummyTestRunResultAggregator.cs ├── TestPlatformHelpers └── TestRequestManagerTests.cs └── vstest.console.UnitTests.csproj /.config/tsaoptions.json: -------------------------------------------------------------------------------- 1 | { 2 | "instanceUrl": "https://devdiv.visualstudio.com/", 3 | "template": "TFSDEVDIV", 4 | "projectName": "DEVDIV", 5 | "areaPath": "DevDiv\\Testing Platforms\\VSTest", 6 | "iterationPath": "DevDiv", 7 | "notificationAliases": [ "dotnetdevexprague@microsoft.com" ], 8 | "repositoryName":"vstest", 9 | "codebaseName": "vstest" 10 | } 11 | -------------------------------------------------------------------------------- /.git-blame-ignore-revs: -------------------------------------------------------------------------------- 1 | # Apply modern code styles (#3264) 2 | 065f4d042e2ac8f1bd28deeabca38adf2c14b52a 3 | 4 | # Reformat projects and script files (#3290) 5 | 5e425f80cb9b1de3be823b83c718c9a057df857a 6 | 7 | # Run dotnet format whitespace (#3307) 8 | cf2bd925e3e11a76bcbd965f5d337b2c8f4dbab1 9 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | 3 | Please add a meaningful description for this change. 4 | Ensure the PR has required unit tests. 5 | 6 | ## Related issue 7 | 8 | Kindly link any related issues. E.g. Fixes #xyz. 9 | 10 | - [ ] I have ensured that there is a previously discussed and approved issue. 11 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Microsoft Open Source Code of Conduct 2 | 3 | This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). 4 | 5 | Resources: 6 | 7 | - [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/) 8 | - [Microsoft Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) 9 | - Contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with questions or concerns 10 | -------------------------------------------------------------------------------- /build.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | powershell -ExecutionPolicy ByPass -NoProfile -command "& """%~dp0eng\common\Build.ps1""" -restore -build %*" 3 | exit /b %ErrorLevel% 4 | -------------------------------------------------------------------------------- /build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | source="${BASH_SOURCE[0]}" 4 | 5 | # resolve $SOURCE until the file is no longer a symlink 6 | while [[ -h $source ]]; do 7 | scriptroot="$( cd -P "$( dirname "$source" )" && pwd )" 8 | source="$(readlink "$source")" 9 | 10 | # if $source was a relative symlink, we need to resolve it relative to the path where the 11 | # symlink file was located 12 | [[ $source != /* ]] && source="$scriptroot/$source" 13 | done 14 | 15 | scriptroot="$( cd -P "$( dirname "$source" )" && pwd )" 16 | "$scriptroot/eng/common/build.sh" --build --restore $@ 17 | -------------------------------------------------------------------------------- /docs/RFCs/Images/TestPlatform.vsdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/vstest/107abd3b697cd033c6b037075536fdd089370101/docs/RFCs/Images/TestPlatform.vsdx -------------------------------------------------------------------------------- /docs/RFCs/Images/datacollection-custom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/vstest/107abd3b697cd033c6b037075536fdd089370101/docs/RFCs/Images/datacollection-custom.png -------------------------------------------------------------------------------- /docs/RFCs/Images/datacollection-custom.vsdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/vstest/107abd3b697cd033c6b037075536fdd089370101/docs/RFCs/Images/datacollection-custom.vsdx -------------------------------------------------------------------------------- /docs/RFCs/Images/datacollection.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/vstest/107abd3b697cd033c6b037075536fdd089370101/docs/RFCs/Images/datacollection.png -------------------------------------------------------------------------------- /docs/RFCs/Images/datacollection.vsdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/vstest/107abd3b697cd033c6b037075536fdd089370101/docs/RFCs/Images/datacollection.vsdx -------------------------------------------------------------------------------- /docs/RFCs/Images/dotnet-test-protocol-v2-discovery.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/vstest/107abd3b697cd033c6b037075536fdd089370101/docs/RFCs/Images/dotnet-test-protocol-v2-discovery.png -------------------------------------------------------------------------------- /docs/RFCs/Images/dotnet-test-protocol-v2-execution-customhost.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/vstest/107abd3b697cd033c6b037075536fdd089370101/docs/RFCs/Images/dotnet-test-protocol-v2-execution-customhost.png -------------------------------------------------------------------------------- /docs/RFCs/Images/dotnet-test-protocol-v2-execution.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/vstest/107abd3b697cd033c6b037075536fdd089370101/docs/RFCs/Images/dotnet-test-protocol-v2-execution.png -------------------------------------------------------------------------------- /docs/RFCs/Images/vstest.console-discovery.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/vstest/107abd3b697cd033c6b037075536fdd089370101/docs/RFCs/Images/vstest.console-discovery.png -------------------------------------------------------------------------------- /docs/RFCs/Images/vstest.console-execution.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/vstest/107abd3b697cd033c6b037075536fdd089370101/docs/RFCs/Images/vstest.console-execution.png -------------------------------------------------------------------------------- /docs/RFCs/Images/vstest.console-overall-architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/vstest/107abd3b697cd033c6b037075536fdd089370101/docs/RFCs/Images/vstest.console-overall-architecture.png -------------------------------------------------------------------------------- /docs/RFCs/Images/vstest.telemetry.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/vstest/107abd3b697cd033c6b037075536fdd089370101/docs/RFCs/Images/vstest.telemetry.png -------------------------------------------------------------------------------- /docs/TODO.md: -------------------------------------------------------------------------------- 1 | Structures: 2 | 3 | // Test adapter and array of sources map: 4 | // { 5 | // C:\temp\testAdapter1.dll : [ source1.dll, source2.dll ], 6 | // C:\temp\testadapter2.dll : [ source3.dll, source2.dll ] 7 | // } 8 | public Dictionary> AdapterSourceMap 9 | 10 | 11 | TimeSpan 12 | 13 | string? RunSettings 14 | 15 | 16 | string? TestCaseFilter 17 | 18 | TestSessionInfo? TestSessionInfo 19 | 20 | TestPlatformOptions -------------------------------------------------------------------------------- /docs/quickstart.md: -------------------------------------------------------------------------------- 1 | # Quickstart Guide 2 | -------------------------------------------------------------------------------- /docs/toc.yml: -------------------------------------------------------------------------------- 1 | #- name: Getting Started 2 | #items: 3 | #- name: Quickstart 4 | #href: quickstart.md 5 | #- name: Concepts 6 | #href: concepts.md 7 | - name: Contribute 8 | href: contribute.md 9 | - name: Release Notes 10 | href: releases.md 11 | -------------------------------------------------------------------------------- /eng/DotNetBuild.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | vstest 7 | true 8 | $(DotNetBuildFromVMR) 9 | false 10 | false 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /eng/Publishing.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /eng/RestoreInternal.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | powershell -ExecutionPolicy ByPass -NoProfile -command "& """%~dp0\common\build.ps1""" -build -restore %*" 3 | -------------------------------------------------------------------------------- /eng/common/BuildConfiguration/build-configuration.json: -------------------------------------------------------------------------------- 1 | { 2 | "RetryCountLimit": 1, 3 | "RetryByAnyError": false 4 | } 5 | -------------------------------------------------------------------------------- /eng/common/CIBuild.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | powershell -ExecutionPolicy ByPass -NoProfile -command "& """%~dp0Build.ps1""" -restore -build -test -sign -pack -publish -ci %*" -------------------------------------------------------------------------------- /eng/common/PSScriptAnalyzerSettings.psd1: -------------------------------------------------------------------------------- 1 | @{ 2 | IncludeRules=@('PSAvoidUsingCmdletAliases', 3 | 'PSAvoidUsingWMICmdlet', 4 | 'PSAvoidUsingPositionalParameters', 5 | 'PSAvoidUsingInvokeExpression', 6 | 'PSUseDeclaredVarsMoreThanAssignments', 7 | 'PSUseCmdletCorrectly', 8 | 'PSStandardDSCFunctionsInResource', 9 | 'PSUseIdenticalMandatoryParametersForDSC', 10 | 'PSUseIdenticalParametersForDSC') 11 | } -------------------------------------------------------------------------------- /eng/common/build.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | powershell -ExecutionPolicy ByPass -NoProfile -command "& """%~dp0build.ps1""" %*" 3 | exit /b %ErrorLevel% 4 | -------------------------------------------------------------------------------- /eng/common/cibuild.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | source="${BASH_SOURCE[0]}" 4 | 5 | # resolve $SOURCE until the file is no longer a symlink 6 | while [[ -h $source ]]; do 7 | scriptroot="$( cd -P "$( dirname "$source" )" && pwd )" 8 | source="$(readlink "$source")" 9 | 10 | # if $source was a relative symlink, we need to resolve it relative to the path where 11 | # the symlink file was located 12 | [[ $source != /* ]] && source="$scriptroot/$source" 13 | done 14 | scriptroot="$( cd -P "$( dirname "$source" )" && pwd )" 15 | 16 | . "$scriptroot/build.sh" --restore --build --test --pack --publish --ci $@ -------------------------------------------------------------------------------- /eng/common/core-templates/steps/publish-pipeline-artifacts.yml: -------------------------------------------------------------------------------- 1 | parameters: 2 | - name: is1ESPipeline 3 | type: boolean 4 | default: false 5 | 6 | - name: args 7 | type: object 8 | default: {} 9 | 10 | steps: 11 | - ${{ if ne(parameters.is1ESPipeline, true) }}: 12 | - template: /eng/common/templates/steps/publish-pipeline-artifacts.yml 13 | parameters: 14 | ${{ each parameter in parameters }}: 15 | ${{ parameter.key }}: ${{ parameter.value }} 16 | - ${{ else }}: 17 | - template: /eng/common/templates-official/steps/publish-pipeline-artifacts.yml 18 | parameters: 19 | ${{ each parameter in parameters }}: 20 | ${{ parameter.key }}: ${{ parameter.value }} 21 | -------------------------------------------------------------------------------- /eng/common/core-templates/variables/pool-providers.yml: -------------------------------------------------------------------------------- 1 | parameters: 2 | is1ESPipeline: false 3 | 4 | variables: 5 | - ${{ if eq(parameters.is1ESPipeline, 'true') }}: 6 | - template: /eng/common/templates-official/variables/pool-providers.yml 7 | - ${{ else }}: 8 | - template: /eng/common/templates/variables/pool-providers.yml -------------------------------------------------------------------------------- /eng/common/cross/arm/tizen/tizen.patch: -------------------------------------------------------------------------------- 1 | diff -u -r a/usr/lib/libc.so b/usr/lib/libc.so 2 | --- a/usr/lib/libc.so 2016-12-30 23:00:08.284951863 +0900 3 | +++ b/usr/lib/libc.so 2016-12-30 23:00:32.140951815 +0900 4 | @@ -2,4 +2,4 @@ 5 | Use the shared library, but some functions are only in 6 | the static library, so try that secondarily. */ 7 | OUTPUT_FORMAT(elf32-littlearm) 8 | -GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /lib/ld-linux-armhf.so.3 ) ) 9 | +GROUP ( libc.so.6 libc_nonshared.a AS_NEEDED ( ld-linux-armhf.so.3 ) ) 10 | -------------------------------------------------------------------------------- /eng/common/cross/arm64/tizen/tizen.patch: -------------------------------------------------------------------------------- 1 | diff -u -r a/usr/lib/libc.so b/usr/lib/libc.so 2 | --- a/usr/lib64/libc.so 2016-12-30 23:00:08.284951863 +0900 3 | +++ b/usr/lib64/libc.so 2016-12-30 23:00:32.140951815 +0900 4 | @@ -2,4 +2,4 @@ 5 | Use the shared library, but some functions are only in 6 | the static library, so try that secondarily. */ 7 | OUTPUT_FORMAT(elf64-littleaarch64) 8 | -GROUP ( /lib64/libc.so.6 /usr/lib64/libc_nonshared.a AS_NEEDED ( /lib/ld-linux-aarch64.so.1 ) ) 9 | +GROUP ( libc.so.6 libc_nonshared.a AS_NEEDED ( ld-linux-aarch64.so.1 ) ) 10 | -------------------------------------------------------------------------------- /eng/common/cross/armel/tizen/tizen.patch: -------------------------------------------------------------------------------- 1 | diff -u -r a/usr/lib/libc.so b/usr/lib/libc.so 2 | --- a/usr/lib/libc.so 2016-12-30 23:00:08.284951863 +0900 3 | +++ b/usr/lib/libc.so 2016-12-30 23:00:32.140951815 +0900 4 | @@ -2,4 +2,4 @@ 5 | Use the shared library, but some functions are only in 6 | the static library, so try that secondarily. */ 7 | OUTPUT_FORMAT(elf32-littlearm) 8 | -GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /lib/ld-linux.so.3 ) ) 9 | +GROUP ( libc.so.6 libc_nonshared.a AS_NEEDED ( ld-linux.so.3 ) ) 10 | -------------------------------------------------------------------------------- /eng/common/cross/riscv64/tizen/tizen.patch: -------------------------------------------------------------------------------- 1 | diff -u -r a/usr/lib/libc.so b/usr/lib/libc.so 2 | --- a/usr/lib64/libc.so 2016-12-30 23:00:08.284951863 +0900 3 | +++ b/usr/lib64/libc.so 2016-12-30 23:00:32.140951815 +0900 4 | @@ -2,4 +2,4 @@ 5 | Use the shared library, but some functions are only in 6 | the static library, so try that secondarily. */ 7 | OUTPUT_FORMAT(elf64-littleriscv) 8 | -GROUP ( /lib64/libc.so.6 /usr/lib64/libc_nonshared.a AS_NEEDED ( /lib64/ld-linux-riscv64-lp64d.so.1 ) ) 9 | +GROUP ( libc.so.6 libc_nonshared.a AS_NEEDED ( ld-linux-riscv64-lp64d.so.1 ) ) 10 | -------------------------------------------------------------------------------- /eng/common/cross/x64/tizen/tizen.patch: -------------------------------------------------------------------------------- 1 | diff -u -r a/usr/lib64/libc.so b/usr/lib64/libc.so 2 | --- a/usr/lib64/libc.so 2016-12-30 23:00:08.284951863 +0900 3 | +++ b/usr/lib64/libc.so 2016-12-30 23:00:32.140951815 +0900 4 | @@ -2,4 +2,4 @@ 5 | Use the shared library, but some functions are only in 6 | the static library, so try that secondarily. */ 7 | OUTPUT_FORMAT(elf64-x86-64) 8 | -GROUP ( /lib64/libc.so.6 /usr/lib64/libc_nonshared.a AS_NEEDED ( /lib64/ld-linux-x86-64.so.2 ) ) 9 | +GROUP ( libc.so.6 libc_nonshared.a AS_NEEDED ( ld-linux-x86-64.so.2 ) ) 10 | -------------------------------------------------------------------------------- /eng/common/cross/x86/tizen/tizen.patch: -------------------------------------------------------------------------------- 1 | diff -u -r a/usr/lib/libc.so b/usr/lib/libc.so 2 | --- a/usr/lib/libc.so 2016-12-30 23:00:08.284951863 +0900 3 | +++ b/usr/lib/libc.so 2016-12-30 23:00:32.140951815 +0900 4 | @@ -2,4 +2,4 @@ 5 | Use the shared library, but some functions are only in 6 | the static library, so try that secondarily. */ 7 | OUTPUT_FORMAT(elf32-i386) 8 | -GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /lib/ld-linux.so.2 ) ) 9 | +GROUP ( libc.so.6 libc_nonshared.a AS_NEEDED ( ld-linux.so.2 ) ) 10 | -------------------------------------------------------------------------------- /eng/common/dotnet-install.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | powershell -ExecutionPolicy ByPass -NoProfile -command "& """%~dp0dotnet-install.ps1""" %*" -------------------------------------------------------------------------------- /eng/common/enable-cross-org-publishing.ps1: -------------------------------------------------------------------------------- 1 | param( 2 | [string] $token 3 | ) 4 | 5 | 6 | . $PSScriptRoot\pipeline-logging-functions.ps1 7 | 8 | # Write-PipelineSetVariable will no-op if a variable named $ci is not defined 9 | # Since this script is only ever called in AzDO builds, just universally set it 10 | $ci = $true 11 | 12 | Write-PipelineSetVariable -Name 'VSS_NUGET_ACCESSTOKEN' -Value $token -IsMultiJobVariable $false 13 | Write-PipelineSetVariable -Name 'VSS_NUGET_URI_PREFIXES' -Value 'https://dnceng.pkgs.visualstudio.com/;https://pkgs.dev.azure.com/dnceng/;https://devdiv.pkgs.visualstudio.com/;https://pkgs.dev.azure.com/devdiv/' -IsMultiJobVariable $false 14 | -------------------------------------------------------------------------------- /eng/common/init-tools-native.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | powershell -NoProfile -NoLogo -ExecutionPolicy ByPass -command "& """%~dp0init-tools-native.ps1""" %*" 3 | exit /b %ErrorLevel% -------------------------------------------------------------------------------- /eng/common/internal/Directory.Build.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | false 6 | false 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /eng/common/internal/NuGet.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /eng/common/sdl/NuGet.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /eng/common/sdl/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /eng/common/templates-official/job/onelocbuild.yml: -------------------------------------------------------------------------------- 1 | jobs: 2 | - template: /eng/common/core-templates/job/onelocbuild.yml 3 | parameters: 4 | is1ESPipeline: true 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/common/templates-official/job/publish-build-assets.yml: -------------------------------------------------------------------------------- 1 | jobs: 2 | - template: /eng/common/core-templates/job/publish-build-assets.yml 3 | parameters: 4 | is1ESPipeline: true 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/common/templates-official/job/source-build.yml: -------------------------------------------------------------------------------- 1 | jobs: 2 | - template: /eng/common/core-templates/job/source-build.yml 3 | parameters: 4 | is1ESPipeline: true 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/common/templates-official/job/source-index-stage1.yml: -------------------------------------------------------------------------------- 1 | jobs: 2 | - template: /eng/common/core-templates/job/source-index-stage1.yml 3 | parameters: 4 | is1ESPipeline: true 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/common/templates-official/jobs/codeql-build.yml: -------------------------------------------------------------------------------- 1 | jobs: 2 | - template: /eng/common/core-templates/jobs/codeql-build.yml 3 | parameters: 4 | is1ESPipeline: true 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/common/templates-official/jobs/jobs.yml: -------------------------------------------------------------------------------- 1 | jobs: 2 | - template: /eng/common/core-templates/jobs/jobs.yml 3 | parameters: 4 | is1ESPipeline: true 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/common/templates-official/jobs/source-build.yml: -------------------------------------------------------------------------------- 1 | jobs: 2 | - template: /eng/common/core-templates/jobs/source-build.yml 3 | parameters: 4 | is1ESPipeline: true 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} -------------------------------------------------------------------------------- /eng/common/templates-official/post-build/common-variables.yml: -------------------------------------------------------------------------------- 1 | variables: 2 | - template: /eng/common/core-templates/post-build/common-variables.yml 3 | parameters: 4 | # Specifies whether to use 1ES 5 | is1ESPipeline: true 6 | 7 | ${{ each parameter in parameters }}: 8 | ${{ parameter.key }}: ${{ parameter.value }} -------------------------------------------------------------------------------- /eng/common/templates-official/post-build/post-build.yml: -------------------------------------------------------------------------------- 1 | stages: 2 | - template: /eng/common/core-templates/post-build/post-build.yml 3 | parameters: 4 | # Specifies whether to use 1ES 5 | is1ESPipeline: true 6 | 7 | ${{ each parameter in parameters }}: 8 | ${{ parameter.key }}: ${{ parameter.value }} 9 | -------------------------------------------------------------------------------- /eng/common/templates-official/post-build/setup-maestro-vars.yml: -------------------------------------------------------------------------------- 1 | steps: 2 | - template: /eng/common/core-templates/post-build/setup-maestro-vars.yml 3 | parameters: 4 | # Specifies whether to use 1ES 5 | is1ESPipeline: true 6 | 7 | ${{ each parameter in parameters }}: 8 | ${{ parameter.key }}: ${{ parameter.value }} -------------------------------------------------------------------------------- /eng/common/templates-official/steps/component-governance.yml: -------------------------------------------------------------------------------- 1 | steps: 2 | - template: /eng/common/core-templates/steps/component-governance.yml 3 | parameters: 4 | is1ESPipeline: true 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/common/templates-official/steps/enable-internal-runtimes.yml: -------------------------------------------------------------------------------- 1 | # Obtains internal runtime download credentials and populates the 'dotnetbuilds-internal-container-read-token-base64' 2 | # variable with the base64-encoded SAS token, by default 3 | steps: 4 | - template: /eng/common/core-templates/steps/enable-internal-runtimes.yml 5 | parameters: 6 | is1ESPipeline: true 7 | 8 | ${{ each parameter in parameters }}: 9 | ${{ parameter.key }}: ${{ parameter.value }} 10 | -------------------------------------------------------------------------------- /eng/common/templates-official/steps/enable-internal-sources.yml: -------------------------------------------------------------------------------- 1 | steps: 2 | - template: /eng/common/core-templates/steps/enable-internal-sources.yml 3 | parameters: 4 | is1ESPipeline: true 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} -------------------------------------------------------------------------------- /eng/common/templates-official/steps/generate-sbom.yml: -------------------------------------------------------------------------------- 1 | steps: 2 | - template: /eng/common/core-templates/steps/generate-sbom.yml 3 | parameters: 4 | is1ESPipeline: true 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/common/templates-official/steps/get-delegation-sas.yml: -------------------------------------------------------------------------------- 1 | steps: 2 | - template: /eng/common/core-templates/steps/get-delegation-sas.yml 3 | parameters: 4 | is1ESPipeline: true 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/common/templates-official/steps/get-federated-access-token.yml: -------------------------------------------------------------------------------- 1 | steps: 2 | - template: /eng/common/core-templates/steps/get-federated-access-token.yml 3 | parameters: 4 | is1ESPipeline: true 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} -------------------------------------------------------------------------------- /eng/common/templates-official/steps/publish-logs.yml: -------------------------------------------------------------------------------- 1 | steps: 2 | - template: /eng/common/core-templates/steps/publish-logs.yml 3 | parameters: 4 | is1ESPipeline: true 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/common/templates-official/steps/retain-build.yml: -------------------------------------------------------------------------------- 1 | steps: 2 | - template: /eng/common/core-templates/steps/retain-build.yml 3 | parameters: 4 | is1ESPipeline: true 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/common/templates-official/steps/send-to-helix.yml: -------------------------------------------------------------------------------- 1 | steps: 2 | - template: /eng/common/core-templates/steps/send-to-helix.yml 3 | parameters: 4 | is1ESPipeline: true 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/common/templates-official/steps/source-build.yml: -------------------------------------------------------------------------------- 1 | steps: 2 | - template: /eng/common/core-templates/steps/source-build.yml 3 | parameters: 4 | is1ESPipeline: true 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/common/templates-official/variables/sdl-variables.yml: -------------------------------------------------------------------------------- 1 | variables: 2 | # The Guardian version specified in 'eng/common/sdl/packages.config'. This value must be kept in 3 | # sync with the packages.config file. 4 | - name: DefaultGuardianVersion 5 | value: 0.109.0 6 | - name: GuardianPackagesConfigFile 7 | value: $(Build.SourcesDirectory)\eng\common\sdl\packages.config -------------------------------------------------------------------------------- /eng/common/templates/job/onelocbuild.yml: -------------------------------------------------------------------------------- 1 | jobs: 2 | - template: /eng/common/core-templates/job/onelocbuild.yml 3 | parameters: 4 | is1ESPipeline: false 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/common/templates/job/publish-build-assets.yml: -------------------------------------------------------------------------------- 1 | jobs: 2 | - template: /eng/common/core-templates/job/publish-build-assets.yml 3 | parameters: 4 | is1ESPipeline: false 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/common/templates/job/source-build.yml: -------------------------------------------------------------------------------- 1 | jobs: 2 | - template: /eng/common/core-templates/job/source-build.yml 3 | parameters: 4 | is1ESPipeline: false 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/common/templates/job/source-index-stage1.yml: -------------------------------------------------------------------------------- 1 | jobs: 2 | - template: /eng/common/core-templates/job/source-index-stage1.yml 3 | parameters: 4 | is1ESPipeline: false 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/common/templates/jobs/codeql-build.yml: -------------------------------------------------------------------------------- 1 | jobs: 2 | - template: /eng/common/core-templates/jobs/codeql-build.yml 3 | parameters: 4 | is1ESPipeline: false 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/common/templates/jobs/jobs.yml: -------------------------------------------------------------------------------- 1 | jobs: 2 | - template: /eng/common/core-templates/jobs/jobs.yml 3 | parameters: 4 | is1ESPipeline: false 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/common/templates/jobs/source-build.yml: -------------------------------------------------------------------------------- 1 | jobs: 2 | - template: /eng/common/core-templates/jobs/source-build.yml 3 | parameters: 4 | is1ESPipeline: false 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} -------------------------------------------------------------------------------- /eng/common/templates/post-build/common-variables.yml: -------------------------------------------------------------------------------- 1 | variables: 2 | - template: /eng/common/core-templates/post-build/common-variables.yml 3 | parameters: 4 | # Specifies whether to use 1ES 5 | is1ESPipeline: false 6 | 7 | ${{ each parameter in parameters }}: 8 | ${{ parameter.key }}: ${{ parameter.value }} -------------------------------------------------------------------------------- /eng/common/templates/post-build/post-build.yml: -------------------------------------------------------------------------------- 1 | stages: 2 | - template: /eng/common/core-templates/post-build/post-build.yml 3 | parameters: 4 | # Specifies whether to use 1ES 5 | is1ESPipeline: false 6 | 7 | ${{ each parameter in parameters }}: 8 | ${{ parameter.key }}: ${{ parameter.value }} -------------------------------------------------------------------------------- /eng/common/templates/post-build/setup-maestro-vars.yml: -------------------------------------------------------------------------------- 1 | steps: 2 | - template: /eng/common/core-templates/post-build/setup-maestro-vars.yml 3 | parameters: 4 | # Specifies whether to use 1ES 5 | is1ESPipeline: false 6 | 7 | ${{ each parameter in parameters }}: 8 | ${{ parameter.key }}: ${{ parameter.value }} -------------------------------------------------------------------------------- /eng/common/templates/steps/component-governance.yml: -------------------------------------------------------------------------------- 1 | steps: 2 | - template: /eng/common/core-templates/steps/component-governance.yml 3 | parameters: 4 | is1ESPipeline: false 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/common/templates/steps/enable-internal-runtimes.yml: -------------------------------------------------------------------------------- 1 | # Obtains internal runtime download credentials and populates the 'dotnetbuilds-internal-container-read-token-base64' 2 | # variable with the base64-encoded SAS token, by default 3 | 4 | steps: 5 | - template: /eng/common/core-templates/steps/enable-internal-runtimes.yml 6 | parameters: 7 | is1ESPipeline: false 8 | 9 | ${{ each parameter in parameters }}: 10 | ${{ parameter.key }}: ${{ parameter.value }} 11 | -------------------------------------------------------------------------------- /eng/common/templates/steps/enable-internal-sources.yml: -------------------------------------------------------------------------------- 1 | steps: 2 | - template: /eng/common/core-templates/steps/enable-internal-sources.yml 3 | parameters: 4 | is1ESPipeline: false 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} -------------------------------------------------------------------------------- /eng/common/templates/steps/generate-sbom.yml: -------------------------------------------------------------------------------- 1 | steps: 2 | - template: /eng/common/core-templates/steps/generate-sbom.yml 3 | parameters: 4 | is1ESPipeline: false 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/common/templates/steps/get-delegation-sas.yml: -------------------------------------------------------------------------------- 1 | steps: 2 | - template: /eng/common/core-templates/steps/get-delegation-sas.yml 3 | parameters: 4 | is1ESPipeline: false 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/common/templates/steps/get-federated-access-token.yml: -------------------------------------------------------------------------------- 1 | steps: 2 | - template: /eng/common/core-templates/steps/get-federated-access-token.yml 3 | parameters: 4 | is1ESPipeline: false 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} -------------------------------------------------------------------------------- /eng/common/templates/steps/publish-logs.yml: -------------------------------------------------------------------------------- 1 | steps: 2 | - template: /eng/common/core-templates/steps/publish-logs.yml 3 | parameters: 4 | is1ESPipeline: false 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/common/templates/steps/retain-build.yml: -------------------------------------------------------------------------------- 1 | steps: 2 | - template: /eng/common/core-templates/steps/retain-build.yml 3 | parameters: 4 | is1ESPipeline: false 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/common/templates/steps/send-to-helix.yml: -------------------------------------------------------------------------------- 1 | steps: 2 | - template: /eng/common/core-templates/steps/send-to-helix.yml 3 | parameters: 4 | is1ESPipeline: false 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/common/templates/steps/source-build.yml: -------------------------------------------------------------------------------- 1 | steps: 2 | - template: /eng/common/core-templates/steps/source-build.yml 3 | parameters: 4 | is1ESPipeline: false 5 | 6 | ${{ each parameter in parameters }}: 7 | ${{ parameter.key }}: ${{ parameter.value }} 8 | -------------------------------------------------------------------------------- /eng/restore-internal-tools.yml: -------------------------------------------------------------------------------- 1 | steps: 2 | - task: NuGetAuthenticate@1 3 | inputs: 4 | nuGetServiceConnections: 'devdiv/dotnet-core-internal-tooling' 5 | forceReinstallCredentialProvider: true 6 | 7 | - script: $(Build.SourcesDirectory)\eng\RestoreInternal.cmd 8 | -ci 9 | -projects $(Build.SourcesDirectory)/eng/common/internal/Tools.csproj 10 | /bl:$(Build.SourcesDirectory)/artifacts/log/$(_BuildConfig)/RestoreInternal.binlog 11 | /v:normal 12 | displayName: Restore internal tools 13 | condition: and(succeeded(), ne(variables['_skipRestoreInternalTools'], 'true')) 14 | -------------------------------------------------------------------------------- /playground/Directory.Build.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | true 6 | 7 | 8 | -------------------------------------------------------------------------------- /restore.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | powershell -ExecutionPolicy ByPass -NoProfile -command "& """%~dp0eng\common\Build.ps1""" -restore %*" 3 | -------------------------------------------------------------------------------- /restore.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | source="${BASH_SOURCE[0]}" 4 | 5 | # resolve $SOURCE until the file is no longer a symlink 6 | while [[ -h $source ]]; do 7 | scriptroot="$( cd -P "$( dirname "$source" )" && pwd )" 8 | source="$(readlink "$source")" 9 | 10 | # if $source was a relative symlink, we need to resolve it relative to the path where the 11 | # symlink file was located 12 | [[ $source != /* ]] && source="$scriptroot/$source" 13 | done 14 | 15 | scriptroot="$( cd -P "$( dirname "$source" )" && pwd )" 16 | "$scriptroot/eng/common/build.sh" --restore $@ 17 | -------------------------------------------------------------------------------- /samples/Directory.Build.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | true 6 | 7 | 8 | -------------------------------------------------------------------------------- /samples/Microsoft.TestPlatform.E2ETest/Adapter/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/vstest/107abd3b697cd033c6b037075536fdd089370101/samples/Microsoft.TestPlatform.E2ETest/Adapter/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.dll -------------------------------------------------------------------------------- /samples/Microsoft.TestPlatform.E2ETest/Adapter/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.Interface.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/vstest/107abd3b697cd033c6b037075536fdd089370101/samples/Microsoft.TestPlatform.E2ETest/Adapter/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.Interface.dll -------------------------------------------------------------------------------- /samples/Microsoft.TestPlatform.E2ETest/Adapter/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/vstest/107abd3b697cd033c6b037075536fdd089370101/samples/Microsoft.TestPlatform.E2ETest/Adapter/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll -------------------------------------------------------------------------------- /samples/Microsoft.TestPlatform.E2ETest/Adapter/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/vstest/107abd3b697cd033c6b037075536fdd089370101/samples/Microsoft.TestPlatform.E2ETest/Adapter/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll -------------------------------------------------------------------------------- /samples/Microsoft.TestPlatform.E2ETest/Adapter/Microsoft.VisualStudio.TestPlatform.TestFramework.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/vstest/107abd3b697cd033c6b037075536fdd089370101/samples/Microsoft.TestPlatform.E2ETest/Adapter/Microsoft.VisualStudio.TestPlatform.TestFramework.dll -------------------------------------------------------------------------------- /samples/Microsoft.TestPlatform.Protocol/Microsoft.TestPlatform.Protocol.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | $(NetCoreAppMinimum) 5 | Exe 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /samples/Microsoft.TestPlatform.TranslationLayer.E2ETest/Adapter/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/vstest/107abd3b697cd033c6b037075536fdd089370101/samples/Microsoft.TestPlatform.TranslationLayer.E2ETest/Adapter/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.dll -------------------------------------------------------------------------------- /samples/Microsoft.TestPlatform.TranslationLayer.E2ETest/Adapter/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.Interface.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/vstest/107abd3b697cd033c6b037075536fdd089370101/samples/Microsoft.TestPlatform.TranslationLayer.E2ETest/Adapter/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.Interface.dll -------------------------------------------------------------------------------- /samples/Microsoft.TestPlatform.TranslationLayer.E2ETest/Adapter/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/vstest/107abd3b697cd033c6b037075536fdd089370101/samples/Microsoft.TestPlatform.TranslationLayer.E2ETest/Adapter/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll -------------------------------------------------------------------------------- /samples/Microsoft.TestPlatform.TranslationLayer.E2ETest/Adapter/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/vstest/107abd3b697cd033c6b037075536fdd089370101/samples/Microsoft.TestPlatform.TranslationLayer.E2ETest/Adapter/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll -------------------------------------------------------------------------------- /samples/Microsoft.TestPlatform.TranslationLayer.E2ETest/Adapter/Microsoft.VisualStudio.TestPlatform.TestFramework.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/vstest/107abd3b697cd033c6b037075536fdd089370101/samples/Microsoft.TestPlatform.TranslationLayer.E2ETest/Adapter/Microsoft.VisualStudio.TestPlatform.TestFramework.dll -------------------------------------------------------------------------------- /samples/Microsoft.TestPlatform.TranslationLayer.E2ETest/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "profiles": { 3 | "Microsoft.TestPlatform.TranslationLayer.E2ETest": { 4 | "commandName": "Project", 5 | "commandLineArgs": "--runner:\"bin\\Debug\\net462\\win7-x64\\vstest.console.exe\" --testadapterpath:\"bin\\Debug\\net462\\win7-x64\\Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.dll\" --testassembly:\"bin\\Debug\\net462\\win7-x64\\UnitTestProject.dll\"" 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /samples/UnitTestProject/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /scripts/perf/perfconfig.csv: -------------------------------------------------------------------------------- 1 | payload;adapter;runners;discoverygoal;executiongoal 2 | "MSTest10kPassing"; "MsTest"; ("vstest.console"); (3500); (9500) 3 | "NUnit10kPassing"; "nUnit"; ("vstest.console","nunit.consolerunner"); (6500, 3500); (45000,40000) 4 | "XUnit10kPassing"; "xUnit"; ("vstest.console","xunit.runner.console"); (6500, 0); (50000, 38000) 5 | -------------------------------------------------------------------------------- /src/AttachVS/PublicAPI/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/AttachVS/PublicAPI/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/DataCollectors/DumpMinitool.x86/PublicAPI/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/DataCollectors/DumpMinitool.x86/PublicAPI/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/DataCollectors/Microsoft.TestPlatform.Extensions.EventLogCollector/BannedSymbols.txt: -------------------------------------------------------------------------------- 1 | M:System.Diagnostics.TPDebug.Assert(System.Boolean); Use 'TPDebug.Assert' instead 2 | M:System.Diagnostics.TPDebug.Assert(System.Boolean,System.String); Use 'TPDebug.Assert' instead 3 | M:System.String.IsNullOrEmpty(System.String); Use 'StringUtils.IsNullOrEmpty' instead 4 | M:System.String.IsNullOrWhiteSpace(System.String); Use 'StringUtils.IsNullOrWhiteSpace' instead 5 | -------------------------------------------------------------------------------- /src/DataCollectors/Microsoft.TestPlatform.Extensions.EventLogCollector/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using Microsoft.TestPlatform.Extensions.EventLogCollector; 5 | using Microsoft.VisualStudio.TestPlatform; 6 | 7 | [assembly: TestExtensionTypes(typeof(EventLogDataCollector))] 8 | -------------------------------------------------------------------------------- /src/DataCollectors/Microsoft.TestPlatform.Extensions.EventLogCollector/PublicAPI/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/DataCollectors/Microsoft.TestPlatform.Extensions.EventLogCollector/PublicAPI/net48/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/DataCollectors/Microsoft.TestPlatform.Extensions.EventLogCollector/PublicAPI/net48/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/DataCollectors/Microsoft.TestPlatform.Extensions.EventLogCollector/PublicAPI/net8.0/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/DataCollectors/Microsoft.TestPlatform.Extensions.EventLogCollector/PublicAPI/net8.0/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/DataCollectors/Microsoft.TestPlatform.Extensions.EventLogCollector/PublicAPI/net9.0/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/DataCollectors/Microsoft.TestPlatform.Extensions.EventLogCollector/PublicAPI/net9.0/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.AdapterUtilities/Friends.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using System.Runtime.CompilerServices; 5 | 6 | [assembly: InternalsVisibleTo("Microsoft.TestPlatform.AdapterUtilities.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] 7 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.AdapterUtilities/Helpers/ReflectionHelpers.Type.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using System; 5 | using System.Reflection; 6 | 7 | namespace Microsoft.TestPlatform.AdapterUtilities.Helpers; 8 | 9 | internal static partial class ReflectionHelpers 10 | { 11 | internal static bool IsGenericType(Type type) 12 | { 13 | return type.IsGenericType; 14 | } 15 | 16 | internal static MethodBase? GetDeclaringMethod(Type type) 17 | { 18 | return type.DeclaringMethod; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.AdapterUtilities/PublicAPI/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Build/BannedSymbols.txt: -------------------------------------------------------------------------------- 1 | M:System.Diagnostics.TPDebug.Assert(System.Boolean); Use 'TPDebug.Assert' instead 2 | M:System.Diagnostics.TPDebug.Assert(System.Boolean,System.String); Use 'TPDebug.Assert' instead 3 | M:System.String.IsNullOrEmpty(System.String); Use 'StringUtils.IsNullOrEmpty' instead 4 | M:System.String.IsNullOrWhiteSpace(System.String); Use 'StringUtils.IsNullOrWhiteSpace' instead 5 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Build/PublicAPI/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Client/PublicAPI/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Client/PublicAPI/net48/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Client/PublicAPI/net48/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Client/PublicAPI/net8.0/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Client/PublicAPI/net8.0/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Client/PublicAPI/net9.0/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Client/PublicAPI/net9.0/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Client/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Client/PublicAPI/netstandard2.0/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Common/BannedSymbols.txt: -------------------------------------------------------------------------------- 1 | M:System.Diagnostics.TPDebug.Assert(System.Boolean); Use 'TPDebug.Assert' instead 2 | M:System.Diagnostics.TPDebug.Assert(System.Boolean,System.String); Use 'TPDebug.Assert' instead 3 | M:System.String.IsNullOrEmpty(System.String); Use 'StringUtils.IsNullOrEmpty' instead 4 | M:System.String.IsNullOrWhiteSpace(System.String); Use 'StringUtils.IsNullOrWhiteSpace' instead 5 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Common/ExternalAssemblyVersions.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.VisualStudio.TestPlatform; 5 | 6 | internal class ExternalAssemblyVersions 7 | { 8 | /// 9 | /// Refers to the versions of the assemblies retrieved from the 10 | /// Microsoft.QualityTools.Testing.Fakes.TestRunnerHarness package. 11 | /// The Package version can be found in "eng\Versions.props" 12 | /// 13 | internal const string MicrosoftFakesAssemblyVersion = "17.0.0.0"; 14 | } 15 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Common/Hosting/ITestRuntimeProviderManager.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using System.Collections.Generic; 5 | 6 | using Microsoft.VisualStudio.TestPlatform.ObjectModel.Host; 7 | 8 | namespace Microsoft.VisualStudio.TestPlatform.Common.Hosting; 9 | 10 | internal interface ITestRuntimeProviderManager 11 | { 12 | ITestRuntimeProvider? GetTestHostManagerByRunConfiguration(string? runConfiguration, List sources); 13 | ITestRuntimeProvider? GetTestHostManagerByUri(string hostUri); 14 | } 15 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Common/Interfaces/Engine/IArtifactProcessingManager.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using System.Threading.Tasks; 5 | 6 | using Microsoft.VisualStudio.TestPlatform.ObjectModel.Client; 7 | 8 | namespace Microsoft.VisualStudio.TestPlatform.ObjectModel.Engine; 9 | 10 | internal interface IArtifactProcessingManager 11 | { 12 | void CollectArtifacts(TestRunCompleteEventArgs testRunCompleteEventArgs, string runSettingsXml); 13 | Task PostProcessArtifactsAsync(); 14 | } 15 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Common/Interfaces/IBaseTestEventsRegistrar.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.VisualStudio.TestPlatform.Common.Interfaces; 5 | 6 | public interface IBaseTestEventsRegistrar 7 | { 8 | /// 9 | /// Log warning message before request is created. 10 | /// 11 | /// message string 12 | void LogWarning(string message); 13 | } 14 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Common/Interfaces/ISettingsProviderCapabilities.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.VisualStudio.TestPlatform.Common.Interfaces; 5 | 6 | /// 7 | /// Metadata that is available from Settings Providers. 8 | /// 9 | public interface ISettingsProviderCapabilities 10 | { 11 | /// 12 | /// Gets the name of the settings section. 13 | /// 14 | string SettingsName { get; } 15 | } 16 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Common/Interfaces/ITestExecutorCapabilities.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.VisualStudio.TestPlatform.Common.Interfaces; 5 | 6 | /// 7 | /// Metadata that is available from Test Executors. 8 | /// 9 | internal interface ITestExecutorCapabilities : ITestExtensionCapabilities 10 | { 11 | } 12 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Common/Interfaces/ITestExtensionCapabilities.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.VisualStudio.TestPlatform.Common.Interfaces; 5 | 6 | /// 7 | /// Basic metadata for extensions which are identified by a URI. 8 | /// 9 | public interface ITestExtensionCapabilities 10 | { 11 | /// 12 | /// Gets the URI of the test extension. 13 | /// 14 | string ExtensionUri { get; } 15 | } 16 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Common/Interfaces/ITestLoggerCapabilities.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.VisualStudio.TestPlatform.Common.Interfaces; 5 | 6 | /// 7 | /// Metadata that is available from Test Loggers. 8 | /// 9 | public interface ITestLoggerCapabilities : ITestExtensionCapabilities 10 | { 11 | /// specifies the friendly name corresponding to the logger. 12 | string FriendlyName { get; } 13 | } 14 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Common/Interfaces/ITestRunTimeCapabilities.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.VisualStudio.TestPlatform.Common.Interfaces; 5 | 6 | /// 7 | /// Metadata that is available from Test Host. 8 | /// 9 | public interface ITestRuntimeCapabilities : ITestExtensionCapabilities 10 | { 11 | /// specifies the friendly name corresponding to the TestHost. 12 | string FriendlyName { get; } 13 | } 14 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Common/Interfaces/IVSExtensionManager.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using System.Collections.Generic; 5 | 6 | namespace Microsoft.VisualStudio.TestPlatform.Common.Interfaces; 7 | 8 | public interface IVSExtensionManager 9 | { 10 | /// 11 | /// Get the unit test extensions installed via vsix. 12 | /// 13 | IEnumerable GetUnitTestExtensions(); 14 | } 15 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Common/PublicAPI/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | Microsoft.VisualStudio.TestPlatform.Common.Interfaces.ITestDiscovererCapabilities.IsDirectoryBased.get -> bool 3 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Common/PublicAPI/net462/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Common/PublicAPI/net462/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Common/PublicAPI/net8.0/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Common/PublicAPI/net8.0/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Common/PublicAPI/net9.0/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Common/PublicAPI/net9.0/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Common/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Common/PublicAPI/netstandard2.0/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Common/Utilities/AssemblyType.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.VisualStudio.TestPlatform.Common.Utilities; 5 | 6 | public enum AssemblyType 7 | { 8 | None, 9 | Native, 10 | Managed 11 | } 12 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.CommunicationUtilities/Interfaces/Communication/MessageReceivedEventArgs.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using System; 5 | 6 | namespace Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.Interfaces; 7 | 8 | /// 9 | /// Provides a framed data and related properties. 10 | /// 11 | public class MessageReceivedEventArgs : EventArgs 12 | { 13 | /// 14 | /// Gets or sets the data contained in message frame. 15 | /// 16 | public string? Data { get; set; } 17 | } 18 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.CommunicationUtilities/Messages/TestHostLaunchedPayload.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using System.Runtime.Serialization; 5 | 6 | namespace Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.ObjectModel; 7 | 8 | public class TestHostLaunchedPayload 9 | { 10 | /// 11 | /// Gets or sets the test run process id of test host. 12 | /// 13 | [DataMember] 14 | public int ProcessId { get; set; } 15 | } 16 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.CommunicationUtilities/Messages/VersionedMessage.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.VisualStudio.TestPlatform.CommunicationUtilities; 5 | 6 | /// 7 | /// Construct with version used for communication 8 | /// Introduced in 15.1.0 version and default message protocol v2 onwards. 9 | /// 10 | public class VersionedMessage : Message 11 | { 12 | /// 13 | /// Gets or sets the version of the message 14 | /// 15 | public int Version { get; set; } 16 | } 17 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.CommunicationUtilities/PublicAPI/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | const Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.ObjectModel.MessageType.TelemetryEventMessage = "TestPlatform.TelemetryEvent" -> string! 3 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.CommunicationUtilities/PublicAPI/net462/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.CommunicationUtilities/PublicAPI/net462/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.CommunicationUtilities/PublicAPI/net8.0/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.CommunicationUtilities/PublicAPI/net8.0/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.CommunicationUtilities/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.CommunicationUtilities/PublicAPI/netstandard2.0/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.CommunicationUtilities/SocketConstants.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.VisualStudio.TestPlatform.CommunicationUtilities; 5 | 6 | public class SocketConstants 7 | { 8 | // Buffer size for the buffered stream we are using. 9 | public const int BufferSize = 16384; 10 | } 11 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.CoreUtilities/Extensions/GuidPolyfill.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace System; 5 | /// 6 | /// A polyfill helper for Guid. 7 | /// 8 | internal static class GuidPolyfill 9 | { 10 | public static Guid Parse(string s, IFormatProvider? provider) 11 | => Guid.Parse(s 12 | #if NET7_0_OR_GREATER 13 | , System.Globalization.CultureInfo.InvariantCulture 14 | #endif 15 | ); 16 | } 17 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.CoreUtilities/FeatureFlag/IFeatureFlag.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.VisualStudio.TestPlatform.Utilities; 5 | 6 | internal interface IFeatureFlag 7 | { 8 | bool IsSet(string featureName); 9 | } 10 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.CoreUtilities/Helpers/Interfaces/IRunsettingsHelper.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.VisualStudio.TestPlatform.Utilities.Helpers.Interfaces; 5 | 6 | internal interface IRunSettingsHelper 7 | { 8 | bool IsDefaultTargetArchitecture { get; set; } 9 | 10 | bool IsDesignMode { get; set; } 11 | } 12 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.CoreUtilities/PublicAPI/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.CoreUtilities/PublicAPI/net/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.CoreUtilities/PublicAPI/net462/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.CoreUtilities/PublicAPI/net481/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.CoreUtilities/PublicAPI/net8.0/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.CoreUtilities/PublicAPI/netcoreapp3.1/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.CoreUtilities/PublicAPI/netstandard2.0/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.CoreUtilities/PublicAPI/uap10.0/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.CoreUtilities/PublicAPI/uap10.0/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.CrossPlatEngine/Discovery/DiscoveryContext.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/vstest/107abd3b697cd033c6b037075536fdd089370101/src/Microsoft.TestPlatform.CrossPlatEngine/Discovery/DiscoveryContext.cs -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.CrossPlatEngine/EventHandlers/PathConversionDirection.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.VisualStudio.TestPlatform.CommunicationUtilities; 5 | 6 | internal enum PathConversionDirection 7 | { 8 | Receive, 9 | Send 10 | } 11 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.CrossPlatEngine/PublicAPI/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.CrossPlatEngine/PublicAPI/net462/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.CrossPlatEngine/PublicAPI/net462/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.CrossPlatEngine/PublicAPI/net8.0/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.CrossPlatEngine/PublicAPI/net8.0/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.CrossPlatEngine/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.CrossPlatEngine/PublicAPI/netstandard2.0/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Extensions.BlameDataCollector/BannedSymbols.txt: -------------------------------------------------------------------------------- 1 | M:System.Diagnostics.TPDebug.Assert(System.Boolean); Use 'TPDebug.Assert' instead 2 | M:System.Diagnostics.TPDebug.Assert(System.Boolean,System.String); Use 'TPDebug.Assert' instead 3 | M:System.String.IsNullOrEmpty(System.String); Use 'StringUtils.IsNullOrEmpty' instead 4 | M:System.String.IsNullOrWhiteSpace(System.String); Use 'StringUtils.IsNullOrWhiteSpace' instead 5 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Extensions.BlameDataCollector/CrashDumpType.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.TestPlatform.Extensions.BlameDataCollector; 5 | 6 | /// 7 | /// Specifies the command line options for CrashDumpType, the values here should be a subset of HangDumpType enum, because DumpType option on command line can also be used to specify the hang dump type. 8 | /// 9 | internal enum CrashDumpType 10 | { 11 | Mini, 12 | Full 13 | } 14 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Extensions.BlameDataCollector/DumpTypeOption.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.TestPlatform.Extensions.BlameDataCollector; 5 | 6 | public enum DumpTypeOption 7 | { 8 | Full, 9 | WithHeap, 10 | Mini, 11 | } 12 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Extensions.BlameDataCollector/Friends.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using System.Runtime.CompilerServices; 5 | 6 | [assembly: InternalsVisibleTo("Microsoft.TestPlatform.Extensions.BlameDataCollector.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] 7 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Extensions.BlameDataCollector/HangDumpType.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.TestPlatform.Extensions.BlameDataCollector; 5 | 6 | /// 7 | /// Specifies the command line options for hang dump type. This should be superset of CrashDumpType, because crash and hang dumps share DumpType command line option, which can specify the type of dump to create to both. 8 | /// 9 | internal enum HangDumpType 10 | { 11 | None, 12 | Mini, 13 | Full 14 | } 15 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Extensions.BlameDataCollector/ICrashDumperFactory.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.TestPlatform.Extensions.BlameDataCollector; 5 | 6 | public interface ICrashDumperFactory 7 | { 8 | ICrashDumper Create(string targetFramework); 9 | } 10 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Extensions.BlameDataCollector/IHangDumper.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.TestPlatform.Extensions.BlameDataCollector; 5 | 6 | public interface IHangDumper 7 | { 8 | void Dump(int processId, string outputDirectory, DumpTypeOption dumpType); 9 | } 10 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Extensions.BlameDataCollector/IHangDumperFactory.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using System; 5 | 6 | namespace Microsoft.TestPlatform.Extensions.BlameDataCollector; 7 | 8 | public interface IHangDumperFactory 9 | { 10 | Action? LogWarning { get; set; } 11 | 12 | IHangDumper Create(string targetFramework); 13 | } 14 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Extensions.BlameDataCollector/Interfaces/IInactivityTimer.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using System; 5 | 6 | namespace Microsoft.TestPlatform.Extensions.BlameDataCollector; 7 | 8 | public interface IInactivityTimer : IDisposable 9 | { 10 | /// 11 | /// Resets the timer and configures it to fire after inactivityTimespan elapses 12 | /// 13 | /// Duration after which the timer should fire 14 | void ResetTimer(TimeSpan inactivityTimespan); 15 | } 16 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Extensions.BlameDataCollector/Interfaces/INativeMethodsHelper.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.TestPlatform.Extensions.BlameDataCollector; 5 | 6 | public interface INativeMethodsHelper 7 | { 8 | /// 9 | /// Returns if a process is 64 bit process 10 | /// 11 | /// Process Handle 12 | /// Bool for Is64Bit 13 | bool Is64Bit(nint processHandle); 14 | } 15 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Extensions.BlameDataCollector/ProcessTreeNode.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using System.Diagnostics; 5 | 6 | namespace Microsoft.TestPlatform.Extensions.BlameDataCollector; 7 | 8 | internal class ProcessTreeNode 9 | { 10 | public Process? Process { get; set; } 11 | 12 | public int Level { get; set; } 13 | 14 | public int ParentId { get; set; } 15 | 16 | public Process? ParentProcess { get; set; } 17 | } 18 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Extensions.BlameDataCollector/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using Microsoft.TestPlatform.Extensions.BlameDataCollector; 5 | using Microsoft.VisualStudio.TestPlatform; 6 | 7 | [assembly: TestExtensionTypes(typeof(BlameLogger), typeof(BlameCollector))] 8 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Extensions.BlameDataCollector/PublicAPI/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Extensions.BlameDataCollector/PublicAPI/net48/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Extensions.BlameDataCollector/PublicAPI/net48/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Extensions.BlameDataCollector/PublicAPI/net8.0/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Extensions.BlameDataCollector/PublicAPI/net8.0/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Extensions.BlameDataCollector/PublicAPI/net9.0/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Extensions.BlameDataCollector/PublicAPI/net9.0/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Extensions.BlameDataCollector/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Extensions.BlameDataCollector/PublicAPI/netstandard2.0/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Extensions.BlameDataCollector/SigtrapDumper.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using System.Diagnostics; 5 | 6 | namespace Microsoft.TestPlatform.Extensions.BlameDataCollector; 7 | 8 | internal class SigtrapDumper : IHangDumper 9 | { 10 | public void Dump(int processId, string outputDirectory, DumpTypeOption type) 11 | { 12 | Process.Start("kill", $"-s SIGTRAP {processId}"); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Extensions.HtmlLogger/BannedSymbols.txt: -------------------------------------------------------------------------------- 1 | M:System.Diagnostics.TPDebug.Assert(System.Boolean); Use 'TPDebug.Assert' instead 2 | M:System.Diagnostics.TPDebug.Assert(System.Boolean,System.String); Use 'TPDebug.Assert' instead 3 | M:System.String.IsNullOrEmpty(System.String); Use 'StringUtils.IsNullOrEmpty' instead 4 | M:System.String.IsNullOrWhiteSpace(System.String); Use 'StringUtils.IsNullOrWhiteSpace' instead 5 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Extensions.HtmlLogger/IHtmlTransformer.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.VisualStudio.TestPlatform.Extensions.HtmlLogger; 5 | 6 | public interface IHtmlTransformer 7 | { 8 | /// 9 | /// It transforms the xml file to html file. 10 | /// 11 | /// 12 | /// 13 | void Transform(string xmlFile, string htmlFile); 14 | } 15 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Extensions.HtmlLogger/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using Microsoft.VisualStudio.TestPlatform; 5 | using Microsoft.VisualStudio.TestPlatform.Extensions.HtmlLogger; 6 | 7 | [assembly: TestExtensionTypes(typeof(HtmlLogger))] 8 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Extensions.HtmlLogger/PublicAPI/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Extensions.HtmlLogger/PublicAPI/net48/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Extensions.HtmlLogger/PublicAPI/net48/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Extensions.HtmlLogger/PublicAPI/net6.0/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Extensions.HtmlLogger/PublicAPI/net6.0/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Extensions.HtmlLogger/PublicAPI/net7.0/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Extensions.HtmlLogger/PublicAPI/net7.0/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Extensions.HtmlLogger/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Extensions.HtmlLogger/PublicAPI/netstandard2.0/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Extensions.TrxLogger/Interfaces/IDataAttachment.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.TestPlatform.Extensions.TrxLogger.ObjectModel; 5 | 6 | /// 7 | /// Interface used to define a data attachment. 8 | /// 9 | internal interface IDataAttachment 10 | { 11 | /// 12 | /// Gets the description for the attachment. 13 | /// 14 | string Description { get; } 15 | } 16 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Extensions.TrxLogger/Interfaces/ITestAggregation.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | 7 | namespace Microsoft.TestPlatform.Extensions.TrxLogger.ObjectModel; 8 | 9 | internal interface ITestAggregation : ITestElement 10 | { 11 | Dictionary TestLinks { get; } 12 | } 13 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Extensions.TrxLogger/Interfaces/ITestResultAggregation.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using System.Collections.Generic; 5 | 6 | namespace Microsoft.TestPlatform.Extensions.TrxLogger.ObjectModel; 7 | 8 | internal interface ITestResultAggregation : ITestResult 9 | { 10 | List InnerResults { get; } 11 | } 12 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Extensions.TrxLogger/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using Microsoft.VisualStudio.TestPlatform; 5 | using Microsoft.VisualStudio.TestPlatform.Extensions.TrxLogger; 6 | 7 | [assembly: TestExtensionTypes(typeof(TrxLogger))] 8 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Extensions.TrxLogger/PublicAPI/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Extensions.TrxLogger/PublicAPI/net462/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Extensions.TrxLogger/PublicAPI/net462/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Extensions.TrxLogger/PublicAPI/net6.0/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Extensions.TrxLogger/PublicAPI/net6.0/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Extensions.TrxLogger/PublicAPI/net7.0/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Extensions.TrxLogger/PublicAPI/net7.0/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Extensions.TrxLogger/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Extensions.TrxLogger/PublicAPI/netstandard2.0/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.ObjectModel/Adapter/Interfaces/IDiscoveryContext.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.VisualStudio.TestPlatform.ObjectModel.Adapter; 5 | 6 | /// 7 | /// Specifies the user specified RunSettings and framework provided context of the discovery. 8 | /// 9 | public interface IDiscoveryContext 10 | { 11 | /// 12 | /// Runsettings specified for this request. 13 | /// 14 | IRunSettings? RunSettings { get; } 15 | } 16 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.ObjectModel/Architecture.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.VisualStudio.TestPlatform.ObjectModel; 5 | 6 | public enum Architecture 7 | { 8 | Default, 9 | X86, 10 | X64, 11 | ARM, 12 | AnyCPU, 13 | ARM64, 14 | S390x, 15 | Ppc64le, 16 | RiscV64, 17 | } 18 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.ObjectModel/Client/Interfaces/AttachDebuggerInfo.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using System.Collections.Generic; 5 | 6 | namespace Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.Interfaces; 7 | 8 | public class AttachDebuggerInfo 9 | { 10 | public int ProcessId { get; set; } 11 | public string? TargetFramework { get; set; } 12 | public ICollection? Sources { get; set; } 13 | } 14 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.ObjectModel/Client/Interfaces/ITelemetryEventsHandler.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.VisualStudio.TestPlatform.ObjectModel.Client; 5 | 6 | public interface ITelemetryEventsHandler 7 | { 8 | void HandleTelemetryEvent(TelemetryEvent telemetryEvent); 9 | } 10 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.ObjectModel/Client/ProtocolConfig.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.VisualStudio.TestPlatform.ObjectModel.Client; 5 | 6 | /// 7 | /// Class for Protocol related information 8 | /// 9 | public class ProtocolConfig 10 | { 11 | /// 12 | /// Get or Set the version of protocol 13 | /// 14 | public int Version { get; set; } 15 | } 16 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.ObjectModel/CodeCoverage/TestSDKAutoGeneratedCode.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using System; 5 | 6 | namespace Microsoft.VisualStudio.TestPlatform; 7 | 8 | /// 9 | /// Only to be used to Test platform, to exclude auto generated code from CodeCoverage 10 | /// 11 | [AttributeUsage(AttributeTargets.All)] 12 | public class TestSDKAutoGeneratedCode : Attribute 13 | { 14 | } 15 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.ObjectModel/DataCollector/Common/DataCollectorMessageLevel.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.VisualStudio.TestPlatform.ObjectModel.DataCollection; 5 | 6 | /// 7 | /// Severity levels at which a DataCollectionTextMessage can be logged. 8 | /// 9 | public enum DataCollectorMessageLevel 10 | { 11 | Error = 0, 12 | Warning = 1, 13 | Info = 2, 14 | Data = 3, 15 | } 16 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.ObjectModel/DataCollector/Common/TestCaseFailureType.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.VisualStudio.TestPlatform.ObjectModel.DataCollection; 5 | 6 | /// 7 | /// Type of test case failure which occurred. 8 | /// 9 | public enum TestCaseFailureType 10 | { 11 | None = 0, 12 | Assertion = 1, 13 | UnhandledException = 2, 14 | UnexpectedException = 3, 15 | MissingException = 4, 16 | Other = 5, 17 | } 18 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.ObjectModel/DataCollector/InProcDataCollector/InProcDataCollectionArgs.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.VisualStudio.TestPlatform.ObjectModel.DataCollector.InProcDataCollector; 5 | 6 | /// 7 | /// The InProcDataCollectionArgs interface. 8 | /// 9 | [System.Diagnostics.CodeAnalysis.SuppressMessage("Style", "IDE1006:Naming Styles", Justification = "Interface is part of the public API.")] 10 | public interface InProcDataCollectionArgs 11 | { 12 | } 13 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.ObjectModel/DataCollector/InProcDataCollector/TestSessionEndArgs.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.VisualStudio.TestPlatform.ObjectModel.DataCollector.InProcDataCollector; 5 | 6 | /// 7 | /// The test session end args. 8 | /// 9 | public class TestSessionEndArgs : InProcDataCollectionArgs 10 | { 11 | } 12 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.ObjectModel/FrameworkVersion.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.VisualStudio.TestPlatform.ObjectModel; 5 | 6 | /// 7 | /// This holds the major desktop framework versions. This is just to maintain compatibility with older runsettings files. 8 | /// 9 | public enum FrameworkVersion 10 | { 11 | None, 12 | Framework35, 13 | Framework40, 14 | Framework45, 15 | FrameworkCore10, 16 | FrameworkUap10 17 | } 18 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.ObjectModel/ITelemetryInitializer.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.VisualStudio.TestPlatform.ObjectModel; 5 | 6 | /// 7 | /// Interface for extensions that choose to send telemetry events 8 | /// 9 | public interface ITelemetryInitializer 10 | { 11 | /// 12 | /// Initializes telemetry reporter 13 | /// 14 | void Initialize(ITelemetryReporter telemetryReporter); 15 | } 16 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.ObjectModel/ITelemetryReporter.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.VisualStudio.TestPlatform.ObjectModel; 5 | 6 | /// 7 | /// Interface for extensions that choose to send telemetry events 8 | /// 9 | public interface ITelemetryReporter 10 | { 11 | /// 12 | /// Pushes telemetry event into TP 13 | /// 14 | void Report(TelemetryEvent telemetryEvent); 15 | } 16 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.ObjectModel/Nuget.Frameworks/IFrameworkSpecific.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) .NET Foundation. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. 3 | 4 | namespace NuGetClone.Frameworks 5 | { 6 | /// 7 | /// A group or object that is specific to a single target framework 8 | /// 9 | internal interface IFrameworkSpecific 10 | { 11 | /// 12 | /// Target framework 13 | /// 14 | NuGetFramework TargetFramework { get; } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.ObjectModel/Nuget.Frameworks/spelling.dic: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/vstest/107abd3b697cd033c6b037075536fdd089370101/src/Microsoft.TestPlatform.ObjectModel/Nuget.Frameworks/spelling.dic -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.ObjectModel/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using System; 5 | using System.Runtime.CompilerServices; 6 | 7 | using Microsoft.VisualStudio.TestPlatform.ObjectModel; 8 | 9 | [assembly: CLSCompliant(true)] 10 | 11 | // Type forwarding utility classes defined earlier in object model to a core utilities assembly. 12 | [assembly: TypeForwardedTo(typeof(EqtTrace))] 13 | [assembly: TypeForwardedTo(typeof(ValidateArg))] 14 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.ObjectModel/PublicAPI/net/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.ObjectModel/PublicAPI/net462/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.ObjectModel/PublicAPI/net6.0/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | static Microsoft.VisualStudio.TestPlatform.ObjectModel.EqtTrace.TraceLevel.get -> Microsoft.VisualStudio.TestPlatform.ObjectModel.PlatformTraceLevel (forwarded, contained in Microsoft.TestPlatform.CoreUtilities) 3 | static Microsoft.VisualStudio.TestPlatform.ObjectModel.EqtTrace.TraceLevel.set -> void (forwarded, contained in Microsoft.TestPlatform.CoreUtilities) 4 | static Microsoft.VisualStudio.TestPlatform.ObjectModel.Framework.DefaultFramework.get -> Microsoft.VisualStudio.TestPlatform.ObjectModel.Framework! 5 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.ObjectModel/PublicAPI/net6.0/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.ObjectModel/PublicAPI/net8.0/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | static Microsoft.VisualStudio.TestPlatform.ObjectModel.EqtTrace.TraceLevel.get -> Microsoft.VisualStudio.TestPlatform.ObjectModel.PlatformTraceLevel (forwarded, contained in Microsoft.TestPlatform.CoreUtilities) 3 | static Microsoft.VisualStudio.TestPlatform.ObjectModel.EqtTrace.TraceLevel.set -> void (forwarded, contained in Microsoft.TestPlatform.CoreUtilities) 4 | static Microsoft.VisualStudio.TestPlatform.ObjectModel.Framework.DefaultFramework.get -> Microsoft.VisualStudio.TestPlatform.ObjectModel.Framework! 5 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.ObjectModel/PublicAPI/net8.0/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.ObjectModel/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | static Microsoft.VisualStudio.TestPlatform.ObjectModel.EqtTrace.TraceLevel.get -> Microsoft.VisualStudio.TestPlatform.ObjectModel.PlatformTraceLevel (forwarded, contained in Microsoft.TestPlatform.CoreUtilities) 3 | static Microsoft.VisualStudio.TestPlatform.ObjectModel.EqtTrace.TraceLevel.set -> void (forwarded, contained in Microsoft.TestPlatform.CoreUtilities) 4 | static Microsoft.VisualStudio.TestPlatform.ObjectModel.Framework.DefaultFramework.get -> Microsoft.VisualStudio.TestPlatform.ObjectModel.Framework! 5 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.ObjectModel/PublicAPI/netstandard2.0/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.ObjectModel/PublicAPI/uap10.0/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | static Microsoft.VisualStudio.TestPlatform.ObjectModel.Framework.DefaultFramework.get -> Microsoft.VisualStudio.TestPlatform.ObjectModel.Framework! 3 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.ObjectModel/PublicAPI/uap10.0/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.ObjectModel/Resources/CommonResources.tt: -------------------------------------------------------------------------------- 1 | <#@ include file = "..\..\Templates\CommonResources.tt" #> -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.ObjectModel/SourceDetail.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.VisualStudio.TestPlatform.ObjectModel; 5 | 6 | public class SourceDetail 7 | { 8 | public string? Source { get; internal set; } 9 | public Architecture Architecture { get; internal set; } 10 | public Framework? Framework { get; internal set; } 11 | } 12 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.ObjectModel/TestProperty/TestPropertyAttributes.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using System; 5 | 6 | namespace Microsoft.VisualStudio.TestPlatform.ObjectModel; 7 | 8 | [Flags] 9 | public enum TestPropertyAttributes 10 | { 11 | None = 0x00, // Default 12 | Hidden = 0x01, 13 | Immutable = 0x02, 14 | [Obsolete("Use TestObject.Traits collection to create traits")] 15 | Trait = 0x04, 16 | } 17 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.PlatformAbstractions/Interfaces/System/PlatformApartmentState.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.VisualStudio.TestPlatform.PlatformAbstractions; 5 | 6 | /// 7 | /// Available apartment states for test platform. 8 | /// 9 | public enum PlatformApartmentState 10 | { 11 | MTA, 12 | STA, 13 | } 14 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.PlatformAbstractions/Interfaces/System/PlatformArchitecture.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.VisualStudio.TestPlatform.PlatformAbstractions; 5 | 6 | /// 7 | /// Available architectures for test platform. 8 | /// 9 | public enum PlatformArchitecture 10 | { 11 | X86, 12 | X64, 13 | ARM, 14 | ARM64, 15 | S390x, 16 | Ppc64le, 17 | RiscV64, 18 | } 19 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.PlatformAbstractions/Interfaces/System/PlatformOperatingSystem.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.VisualStudio.TestPlatform.PlatformAbstractions; 5 | 6 | /// 7 | /// Available operating systems. 8 | /// 9 | public enum PlatformOperatingSystem 10 | { 11 | Windows, 12 | Unix, 13 | OSX, 14 | } 15 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.PlatformAbstractions/PublicAPI/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.PlatformAbstractions/PublicAPI/net/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.PlatformAbstractions/PublicAPI/net/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.PlatformAbstractions/PublicAPI/net462/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.PlatformAbstractions/PublicAPI/net8.0/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.PlatformAbstractions/PublicAPI/netcoreapp3.1/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.PlatformAbstractions/PublicAPI/netstandard2.0/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.PlatformAbstractions/PublicAPI/uap10.0/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.TestHostProvider/BannedSymbols.txt: -------------------------------------------------------------------------------- 1 | M:System.Diagnostics.TPDebug.Assert(System.Boolean); Use 'TPDebug.Assert' instead 2 | M:System.Diagnostics.TPDebug.Assert(System.Boolean,System.String); Use 'TPDebug.Assert' instead 3 | M:System.String.IsNullOrEmpty(System.String); Use 'StringUtils.IsNullOrEmpty' instead 4 | M:System.String.IsNullOrWhiteSpace(System.String); Use 'StringUtils.IsNullOrWhiteSpace' instead 5 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.TestHostProvider/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using Microsoft.VisualStudio.TestPlatform; 5 | using Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Hosting; 6 | 7 | [assembly: TestExtensionTypes(typeof(DefaultTestHostManager), typeof(DotnetTestHostManager))] 8 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.TestHostProvider/PublicAPI/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.TestHostProvider/PublicAPI/net48/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.TestHostProvider/PublicAPI/net48/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.TestHostProvider/PublicAPI/net8.0/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.TestHostProvider/PublicAPI/net8.0/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.TestHostProvider/PublicAPI/net9.0/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.TestHostProvider/PublicAPI/net9.0/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.TestHostProvider/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.TestHostProvider/PublicAPI/netstandard2.0/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Utilities/Friends.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using System.Runtime.CompilerServices; 5 | 6 | [assembly: InternalsVisibleTo("Microsoft.TestPlatform.Utilities.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] 7 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Utilities/PublicAPI/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Utilities/PublicAPI/net462/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Utilities/PublicAPI/net462/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Utilities/PublicAPI/net8.0/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Utilities/PublicAPI/net8.0/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Utilities/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.Utilities/PublicAPI/netstandard2.0/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.VsTestConsole.TranslationLayer/NoOpTelemetryEventsHandler.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using Microsoft.VisualStudio.TestPlatform.ObjectModel; 5 | using Microsoft.VisualStudio.TestPlatform.ObjectModel.Client; 6 | 7 | namespace Microsoft.VisualStudio.TestPlatform.VsTestConsole.TranslationLayer; 8 | 9 | internal class NoOpTelemetryEventsHandler : ITelemetryEventsHandler 10 | { 11 | public void HandleTelemetryEvent(TelemetryEvent telemetryEvent) 12 | { 13 | // no op 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.VsTestConsole.TranslationLayer/PublicAPI/net462/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.VsTestConsole.TranslationLayer/PublicAPI/net462/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.VsTestConsole.TranslationLayer/PublicAPI/net8.0/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.VsTestConsole.TranslationLayer/PublicAPI/net8.0/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.VsTestConsole.TranslationLayer/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/Microsoft.TestPlatform.VsTestConsole.TranslationLayer/PublicAPI/netstandard2.0/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/SettingsMigrator/PublicAPI/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/datacollector/PublicAPI/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | Microsoft.VisualStudio.TestPlatform.DataCollector.DataCollectorMain 3 | Microsoft.VisualStudio.TestPlatform.DataCollector.DataCollectorMain.DataCollectorMain() -> void 4 | Microsoft.VisualStudio.TestPlatform.DataCollector.DataCollectorMain.Run(string![]? args) -> void 5 | Microsoft.VisualStudio.TestPlatform.DataCollector.Program 6 | Microsoft.VisualStudio.TestPlatform.DataCollector.Program.Program() -> void 7 | static Microsoft.VisualStudio.TestPlatform.DataCollector.Program.Main(string![]? args) -> void 8 | -------------------------------------------------------------------------------- /src/datacollector/PublicAPI/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/datacollector/PublicAPI/net48/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/datacollector/PublicAPI/net48/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/datacollector/PublicAPI/net8.0/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/datacollector/PublicAPI/net8.0/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/datacollector/PublicAPI/net9.0/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/datacollector/PublicAPI/net9.0/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/package/Directory.Build.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | true 6 | 7 | 8 | -------------------------------------------------------------------------------- /src/package/Microsoft.NET.Test.Sdk/_._: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/vstest/107abd3b697cd033c6b037075536fdd089370101/src/package/Microsoft.NET.Test.Sdk/_._ -------------------------------------------------------------------------------- /src/package/Microsoft.NET.Test.Sdk/netcoreapp/Microsoft.NET.Test.Sdk.Program.cs: -------------------------------------------------------------------------------- 1 | // This file has been auto generated. 2 | using System; 3 | [Microsoft.VisualStudio.TestPlatform.TestSDKAutoGeneratedCode] 4 | class AutoGeneratedProgram {static void Main(string[] args){}} -------------------------------------------------------------------------------- /src/package/Microsoft.NET.Test.Sdk/netcoreapp/Microsoft.NET.Test.Sdk.Program.fs: -------------------------------------------------------------------------------- 1 | // This file has been auto generated. 2 | module AutoGeneratedProgram 3 | [] 4 | [] 5 | let main _ = 0 -------------------------------------------------------------------------------- /src/package/Microsoft.NET.Test.Sdk/netcoreapp/Microsoft.NET.Test.Sdk.Program.vb: -------------------------------------------------------------------------------- 1 | ' This file has been auto generated. 2 | Imports System 3 | Namespace Global 4 | Module __MicrosoftTestPlatformAutoGeneratedProgram 5 | 6 | Sub Main(args As String()) 7 | End Sub 8 | End Module 9 | End Namespace 10 | -------------------------------------------------------------------------------- /src/package/Microsoft.TestPlatform.TestHost/_._: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/vstest/107abd3b697cd033c6b037075536fdd089370101/src/package/Microsoft.TestPlatform.TestHost/_._ -------------------------------------------------------------------------------- /src/package/Microsoft.VisualStudio.TestTools.TestPlatform.V2.CLI/Resources/cs/extension.vsixlangpack: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | Microsoft Visual Studio Test Platform 5 | Rozšiřitelná testovací platforma, která umožňuje vývojářům hledat, provádět a analyzovat automatizované testy. 6 | 7 | -------------------------------------------------------------------------------- /src/package/Microsoft.VisualStudio.TestTools.TestPlatform.V2.CLI/Resources/de/extension.vsixlangpack: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | Microsoft Visual Studio-Testplattform 5 | Erweiterbare Testplattform, die Entwicklern das Ermitteln, Ausführen und Analysieren automatisierter Tests ermöglicht. 6 | 7 | -------------------------------------------------------------------------------- /src/package/Microsoft.VisualStudio.TestTools.TestPlatform.V2.CLI/Resources/es/extension.vsixlangpack: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | Plataforma de pruebas de Microsoft Visual Studio 5 | Plataforma de pruebas extensible que permite a los desarrolladores detectar, ejecutar y analizar pruebas automatizadas. 6 | 7 | -------------------------------------------------------------------------------- /src/package/Microsoft.VisualStudio.TestTools.TestPlatform.V2.CLI/Resources/fr/extension.vsixlangpack: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | Plateforme de test Microsoft Visual Studio 5 | Plateforme de test extensible qui permet aux développeurs de découvrir, d’exécuter et d’analyser des tests automatisés. 6 | 7 | -------------------------------------------------------------------------------- /src/package/Microsoft.VisualStudio.TestTools.TestPlatform.V2.CLI/Resources/it/extension.vsixlangpack: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | Microsoft Visual Studio Test Platform 5 | Piattaforma di test estendibile che consente agli sviluppatori di individuare, eseguire e analizzare test automatizzati. 6 | 7 | -------------------------------------------------------------------------------- /src/package/Microsoft.VisualStudio.TestTools.TestPlatform.V2.CLI/Resources/ja/extension.vsixlangpack: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | Microsoft Visual Studio テスト プラットフォーム 5 | 開発者が自動テストの探索、実行、分析を行うために使用できる、拡張可能なテスト プラットフォームです。 6 | 7 | -------------------------------------------------------------------------------- /src/package/Microsoft.VisualStudio.TestTools.TestPlatform.V2.CLI/Resources/ko/extension.vsixlangpack: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | Microsoft Visual Studio 테스트 플랫폼 5 | 개발자가 자동화된 테스트를 검색, 실행 및 분석할 수 있도록 하는 확장 가능한 테스트 플랫폼입니다. 6 | 7 | -------------------------------------------------------------------------------- /src/package/Microsoft.VisualStudio.TestTools.TestPlatform.V2.CLI/Resources/pl/extension.vsixlangpack: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | Microsoft Visual Studio Test Platform 5 | Rozszerzalna platforma testów, która umożliwia deweloperom odnajdywanie, wykonywanie i analizowanie zautomatyzowanych testów. 6 | 7 | -------------------------------------------------------------------------------- /src/package/Microsoft.VisualStudio.TestTools.TestPlatform.V2.CLI/Resources/pt-BR/extension.vsixlangpack: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | Microsoft Visual Studio Test Platform 5 | Uma plataforma de teste extensível que permite que os desenvolvedores descubram, executem e analisem testes automatizados. 6 | 7 | -------------------------------------------------------------------------------- /src/package/Microsoft.VisualStudio.TestTools.TestPlatform.V2.CLI/Resources/ru/extension.vsixlangpack: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | Платформа тестирования Microsoft Visual Studio 5 | Расширяемая платформа тестирования, предлагающая разработчикам широкий выбор автоматических тестов для запуска и анализа. 6 | 7 | -------------------------------------------------------------------------------- /src/package/Microsoft.VisualStudio.TestTools.TestPlatform.V2.CLI/Resources/tr/extension.vsixlangpack: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | Microsoft Visual Studio Test Platformu 5 | Geliştiricilerin otomatikleştirilmiş testleri bulmasına, çalıştırmasına ve analiz etmesine olanak veren Genişletilebilir Test Platformu. 6 | 7 | -------------------------------------------------------------------------------- /src/package/Microsoft.VisualStudio.TestTools.TestPlatform.V2.CLI/Resources/zh-Hans/extension.vsixlangpack: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | Microsoft Visual Studio 测试平台 5 | 允许开发人员发现、执行和分析自动化测试的可扩展测试平台 6 | 7 | -------------------------------------------------------------------------------- /src/package/Microsoft.VisualStudio.TestTools.TestPlatform.V2.CLI/Resources/zh-Hant/extension.vsixlangpack: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | Microsoft Visual Studio 測試平台 5 | 讓開發人員能夠探索、執行及分析自動測試的可延伸測試平台。 6 | 7 | -------------------------------------------------------------------------------- /src/testhost.x86/DebugAssertException.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using System; 5 | 6 | namespace Microsoft.VisualStudio.TestPlatform.TestHost; 7 | 8 | internal sealed class DebugAssertException : Exception 9 | { 10 | public DebugAssertException(string? message, string? stackTrace) : base(message) 11 | { 12 | StackTrace = stackTrace; 13 | } 14 | 15 | public override string? StackTrace { get; } 16 | } 17 | -------------------------------------------------------------------------------- /src/testhost.x86/IEngineInvoker.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using System.Collections.Generic; 5 | 6 | namespace Microsoft.VisualStudio.TestPlatform.TestHost; 7 | 8 | /// 9 | /// Interface contract for invoking the engine 10 | /// 11 | public interface IEngineInvoker 12 | { 13 | /// 14 | /// Invokes the Engine with the arguments 15 | /// 16 | /// Arguments for the engine 17 | void Invoke(IDictionary argsDictionary); 18 | } 19 | -------------------------------------------------------------------------------- /src/testhost.x86/PublicAPI/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/testhost.x86/TestPlatform.ObjectModel.manifest: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | Visual Studio Automation 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /src/testhost.x86/TestPlatform.ObjectModel.x86.manifest: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | Visual Studio Automation 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /src/vstest.console/BannedSymbols.txt: -------------------------------------------------------------------------------- 1 | M:System.Diagnostics.TPDebug.Assert(System.Boolean); Use 'TPDebug.Assert' instead 2 | M:System.Diagnostics.TPDebug.Assert(System.Boolean,System.String); Use 'TPDebug.Assert' instead 3 | M:System.Diagnostics.Contracts.Contract.Assert(System.Boolean); Use 'TPDebug.Assert' instead 4 | M:System.Diagnostics.Contracts.Contract.Assert(System.Boolean,System.String); Use 'TPDebug.Assert' instead 5 | M:System.String.IsNullOrEmpty(System.String); Use 'StringUtils.IsNullOrEmpty' instead 6 | M:System.String.IsNullOrWhiteSpace(System.String); Use 'StringUtils.IsNullOrWhiteSpace' instead 7 | -------------------------------------------------------------------------------- /src/vstest.console/Internal/NullWarningLogger.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using Microsoft.VisualStudio.TestPlatform.ObjectModel.Client; 5 | 6 | namespace Microsoft.VisualStudio.TestPlatform.CommandLine.Internal; 7 | 8 | internal class NullWarningLogger : IWarningLogger 9 | { 10 | public void LogWarning(string message) 11 | { 12 | //TODO: Implement registrar in StartTestSession instead of passing null, and stop using this class. 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/vstest.console/Internal/Product.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using System.Reflection; 5 | 6 | namespace Microsoft.VisualStudio.TestPlatform.CommandLine.Internal; 7 | 8 | public class Product 9 | { 10 | public static readonly string? Version = GetProductVersion(); 11 | 12 | private static string? GetProductVersion() 13 | { 14 | var attr = typeof(Product) 15 | .Assembly 16 | .GetCustomAttribute(); 17 | return attr?.InformationalVersion; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/vstest.console/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "profiles": { 3 | "vstest.console": { 4 | "commandName": "Project", 5 | "environmentVariables": { 6 | "VSTEST_RUNNER_DEBUG_ATTACHVS": "1", 7 | "VSTEST_DEBUG_NOBP": "1" 8 | } 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /src/vstest.console/PublicAPI/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/vstest.console/PublicAPI/net48/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/vstest.console/PublicAPI/net48/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/vstest.console/PublicAPI/net8.0/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/vstest.console/PublicAPI/net8.0/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/vstest.console/PublicAPI/net9.0/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/vstest.console/PublicAPI/net9.0/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/vstest.console/PublicAPI/netcoreapp3.1/PublicAPI.Shipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /src/vstest.console/PublicAPI/netcoreapp3.1/PublicAPI.Unshipped.txt: -------------------------------------------------------------------------------- 1 | #nullable enable 2 | -------------------------------------------------------------------------------- /temp/cpp/Microsoft.VisualStudio.TestTools.CppUnitTestFramework.ComInterfaces.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/vstest/107abd3b697cd033c6b037075536fdd089370101/temp/cpp/Microsoft.VisualStudio.TestTools.CppUnitTestFramework.ComInterfaces.dll -------------------------------------------------------------------------------- /temp/cpp/Microsoft.VisualStudio.TestTools.CppUnitTestFramework.CppUnitTestExtension.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/vstest/107abd3b697cd033c6b037075536fdd089370101/temp/cpp/Microsoft.VisualStudio.TestTools.CppUnitTestFramework.CppUnitTestExtension.dll -------------------------------------------------------------------------------- /temp/cpp/Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Discoverer.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/vstest/107abd3b697cd033c6b037075536fdd089370101/temp/cpp/Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Discoverer.dll -------------------------------------------------------------------------------- /temp/cpp/Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Executor.Resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/vstest/107abd3b697cd033c6b037075536fdd089370101/temp/cpp/Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Executor.Resources.dll -------------------------------------------------------------------------------- /temp/cpp/Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Executor.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/vstest/107abd3b697cd033c6b037075536fdd089370101/temp/cpp/Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Executor.dll -------------------------------------------------------------------------------- /temp/cpp/Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Executor.dll.manifest: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /temp/cpp/Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Executor.x64.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/vstest/107abd3b697cd033c6b037075536fdd089370101/temp/cpp/Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Executor.x64.dll -------------------------------------------------------------------------------- /temp/cpp/Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Resources.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/vstest/107abd3b697cd033c6b037075536fdd089370101/temp/cpp/Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Resources.dll -------------------------------------------------------------------------------- /temp/cpp/Microsoft.VisualStudio.TestTools.CppUnitTestFramework.TestEngine.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/vstest/107abd3b697cd033c6b037075536fdd089370101/temp/cpp/Microsoft.VisualStudio.TestTools.CppUnitTestFramework.TestEngine.dll -------------------------------------------------------------------------------- /temp/cpp/Microsoft.VisualStudio.TestTools.CppUnitTestFramework.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/vstest/107abd3b697cd033c6b037075536fdd089370101/temp/cpp/Microsoft.VisualStudio.TestTools.CppUnitTestFramework.dll -------------------------------------------------------------------------------- /temp/cpp/Microsoft.VisualStudio.TestTools.CppUnitTestFramework.x64.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/vstest/107abd3b697cd033c6b037075536fdd089370101/temp/cpp/Microsoft.VisualStudio.TestTools.CppUnitTestFramework.x64.dll -------------------------------------------------------------------------------- /temp/cpp/System.ComponentModel.Composition.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/vstest/107abd3b697cd033c6b037075536fdd089370101/temp/cpp/System.ComponentModel.Composition.dll -------------------------------------------------------------------------------- /temp/cpp/x64/dbghelp.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/vstest/107abd3b697cd033c6b037075536fdd089370101/temp/cpp/x64/dbghelp.dll -------------------------------------------------------------------------------- /temp/testhost/testhost-1.0.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "netcoreapp1.0", 4 | "framework": { 5 | "name": "Microsoft.NETCore.App", 6 | "version": "1.0.0-preview.0" 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /temp/testhost/testhost-1.1.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "netcoreapp1.1", 4 | "framework": { 5 | "name": "Microsoft.NETCore.App", 6 | "version": "1.1.0-preview.0" 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /temp/testhost/testhost-2.0.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "netcoreapp2.0", 4 | "framework": { 5 | "name": "Microsoft.NETCore.App", 6 | "version": "2.0.0-preview.0" 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /temp/testhost/testhost-2.1.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "netcoreapp2.1", 4 | "framework": { 5 | "name": "Microsoft.NETCore.App", 6 | "version": "2.1.0-preview.0" 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /temp/testhost/testhost-3.0.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "netcoreapp3.0", 4 | "framework": { 5 | "name": "Microsoft.NETCore.App", 6 | "version": "3.0.0-preview.0" 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /temp/testhost/testhost-3.1.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "netcoreapp3.1", 4 | "framework": { 5 | "name": "Microsoft.NETCore.App", 6 | "version": "3.1.0-preview.0" 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /temp/testhost/testhost-5.0.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "net5.0", 4 | "framework": { 5 | "name": "Microsoft.NETCore.App", 6 | "version": "5.0.0-preview.0" 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /temp/testhost/testhost-6.0.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "net6.0", 4 | "framework": { 5 | "name": "Microsoft.NETCore.App", 6 | "version": "6.0.0-preview.0" 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /temp/testhost/testhost-7.0.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "net7.0", 4 | "framework": { 5 | "name": "Microsoft.NETCore.App", 6 | "version": "7.0.0-preview.0" 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /temp/testhost/testhost-8.0.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "net8.0", 4 | "framework": { 5 | "name": "Microsoft.NETCore.App", 6 | "version": "8.0.0-preview.0" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /temp/testhost/testhost-9.0.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "net9.0", 4 | "framework": { 5 | "name": "Microsoft.NETCore.App", 6 | "version": "9.0.0-preview.0" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /temp/testhost/testhost-latest.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | // Make the minimal version 1.0, but roll forward to the 4 | // latest version available on the system. 5 | "tfm": "netcoreapp1.0", 6 | "rollForward": "latestMajor", 7 | "framework": { 8 | "name": "Microsoft.NETCore.App", 9 | "version": "1.0.0-preview.0" 10 | } 11 | } 12 | } -------------------------------------------------------------------------------- /test.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | powershell -ExecutionPolicy ByPass -NoProfile -command "& """%~dp0eng\common\Build.ps1""" -test %*" 3 | exit /b %ErrorLevel% 4 | -------------------------------------------------------------------------------- /test.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | source="${BASH_SOURCE[0]}" 4 | 5 | # resolve $SOURCE until the file is no longer a symlink 6 | while [[ -h $source ]]; do 7 | scriptroot="$( cd -P "$( dirname "$source" )" && pwd )" 8 | source="$(readlink "$source")" 9 | 10 | # if $source was a relative symlink, we need to resolve it relative to the path where the 11 | # symlink file was located 12 | [[ $source != /* ]] && source="$scriptroot/$source" 13 | done 14 | 15 | scriptroot="$( cd -P "$( dirname "$source" )" && pwd )" 16 | "$scriptroot/eng/common/build.sh" --test $@ 17 | -------------------------------------------------------------------------------- /test/Directory.Build.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | true 6 | 7 | 8 | -------------------------------------------------------------------------------- /test/Intent.Primitives/ExcludeAttribute.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Intent; 5 | 6 | [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)] 7 | public class ExcludeAttribute : Attribute 8 | { 9 | public ExcludeAttribute(string? reason = null) 10 | { 11 | Reason = reason; 12 | } 13 | 14 | public string? Reason { get; } 15 | } 16 | -------------------------------------------------------------------------------- /test/Intent.Primitives/IRunLogger.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using System.Reflection; 5 | 6 | namespace Intent; 7 | 8 | public interface IRunLogger 9 | { 10 | void WriteTestPassed(MethodInfo m, TimeSpan t); 11 | void WriteTestFailure(MethodInfo m, Exception ex, TimeSpan t); 12 | void WriteFrameworkError(Exception ex); 13 | void WriteSummary(int passed, List<(MethodInfo method, Exception exception, TimeSpan time)> failures, TimeSpan duration); 14 | } 15 | -------------------------------------------------------------------------------- /test/Intent.Primitives/Intent.Primitives.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | net8.0 5 | enable 6 | enable 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /test/Intent.Primitives/OnlyAttribute.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Intent; 5 | 6 | [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)] 7 | public class OnlyAttribute : Attribute 8 | { 9 | } 10 | -------------------------------------------------------------------------------- /test/Intent.Primitives/TestAttribute.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Intent; 5 | 6 | [AttributeUsage(AttributeTargets.Method)] 7 | public class TestAttribute : Attribute 8 | { 9 | public TestAttribute(string name) 10 | { 11 | Name = name; 12 | } 13 | 14 | public string Name { get; } 15 | } 16 | -------------------------------------------------------------------------------- /test/Intent.Primitives/TestResult.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Intent; 5 | 6 | public enum TestResult 7 | { 8 | None, 9 | Passed, 10 | Failed, 11 | Error, 12 | } 13 | -------------------------------------------------------------------------------- /test/Intent/Intent.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Exe 5 | net8.0 6 | enable 7 | enable 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /test/Intent/Program.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Intent.Console; 5 | 6 | public class Program 7 | { 8 | public static void Main(string[] paths) 9 | { 10 | Runner.Run(paths, new ConsoleLogger()); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /test/Microsoft.TestPlatform.Acceptance.IntegrationTests/BannedSymbols.txt: -------------------------------------------------------------------------------- 1 | M:System.IO.Path.GetTempPath(); Use 'IntegrationTestBase.GetTempPath()' instead 2 | M:System.Environment.SetEnvironmentVariable(System.String,System.String); Use one of the overload accepting a dictionary of environment variables instead 3 | M:System.Environment.SetEnvironmentVariable(System.String,System.String,System.EnvironmentVariableTarget); Use one of the overload accepting a dictionary of environment variables instead -------------------------------------------------------------------------------- /test/Microsoft.TestPlatform.Acceptance.IntegrationTests/Extension/Feature.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.TestPlatform.AcceptanceTests; 5 | 6 | public class Feature 7 | { 8 | public Feature(string version, string issue) 9 | { 10 | Version = version; 11 | Issue = issue; 12 | } 13 | 14 | public string Version { get; } 15 | public string Issue { get; } 16 | } 17 | -------------------------------------------------------------------------------- /test/Microsoft.TestPlatform.Acceptance.IntegrationTests/Extension/IsExternalInit.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | #if !NET5_0_OR_GREATER 5 | 6 | using System.Diagnostics; 7 | using System.Diagnostics.CodeAnalysis; 8 | 9 | namespace System.Runtime.CompilerServices; 10 | 11 | /// 12 | /// Reserved for use by the compiler for records. 13 | /// /!\ Do not use directly. /!\ 14 | /// 15 | [ExcludeFromCodeCoverage, DebuggerNonUserCode] 16 | internal static class IsExternalInit 17 | { 18 | } 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /test/Microsoft.TestPlatform.Acceptance.IntegrationTests/Program.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | #pragma warning disable IDE1006 // Naming Styles 5 | namespace testhost.UnitTests; 6 | #pragma warning restore IDE1006 // Naming Styles 7 | 8 | public static class Program 9 | { 10 | public static void Main() 11 | { 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /test/Microsoft.TestPlatform.Acceptance.IntegrationTests/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using Microsoft.VisualStudio.TestTools.UnitTesting; 5 | 6 | // Enable IAP at class level with as many threads as possible based on CPU and core count. 7 | [assembly: Parallelize(Workers = 0, Scope = ExecutionScope.ClassLevel)] 8 | -------------------------------------------------------------------------------- /test/Microsoft.TestPlatform.AdapterUtilities.UnitTests/Program.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.TestPlatform.AdapterUtilities.UnitTests; 5 | 6 | public static class Program 7 | { 8 | public static void Main() 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /test/Microsoft.TestPlatform.Build.UnitTests/Program.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.TestPlatform.Build.UnitTests; 5 | 6 | public static class Program 7 | { 8 | public static void Main() 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /test/Microsoft.TestPlatform.Client.UnitTests/Program.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.VisualStudio.TestPlatform.Client.UnitTests; 5 | 6 | public static class Program 7 | { 8 | public static void Main() 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /test/Microsoft.TestPlatform.Common.UnitTests/Program.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.VisualStudio.TestPlatform.Common.UnitTests; 5 | 6 | public static class Program 7 | { 8 | public static void Main() 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /test/Microsoft.TestPlatform.CommunicationUtilities.Platform.UnitTests/Program.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.TestPlatform.CommunicationUtilities.PlatformTests; 5 | 6 | public static class Program 7 | { 8 | public static void Main() 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /test/Microsoft.TestPlatform.CommunicationUtilities.UnitTests/Program.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.TestPlatform.CommunicationUtilities.UnitTests; 5 | 6 | public static class Program 7 | { 8 | public static void Main() 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /test/Microsoft.TestPlatform.CommunicationUtilities.UnitTests/SocketCommunicationManagerTest.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using Microsoft.VisualStudio.TestTools.UnitTesting; 5 | 6 | namespace Microsoft.TestPlatform.CommunicationUtilities.UnitTests; 7 | 8 | [TestClass] 9 | public class SocketCommunicationManagerTest 10 | { 11 | } 12 | -------------------------------------------------------------------------------- /test/Microsoft.TestPlatform.CommunicationUtilities.UnitTests/TestDoubles/TestableTestObject.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using System.Runtime.Serialization; 5 | 6 | using Microsoft.VisualStudio.TestPlatform.ObjectModel; 7 | 8 | namespace Microsoft.TestPlatform.CommunicationUtilities.UnitTests.TestDoubles; 9 | 10 | [DataContract] 11 | internal class TestableTestObject : TestObject 12 | { 13 | } 14 | -------------------------------------------------------------------------------- /test/Microsoft.TestPlatform.CoreUtilities.UnitTests/FeatureFlag/FeatureFlagTests.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using Microsoft.VisualStudio.TestPlatform.Utilities; 5 | using Microsoft.VisualStudio.TestTools.UnitTesting; 6 | 7 | namespace Microsoft.TestPlatform.CoreUtilities.UnitTests; 8 | 9 | [TestClass] 10 | public class FeatureFlagTests 11 | { 12 | [TestMethod] 13 | public void SingletonAlwaysReturnsTheSameInstance() 14 | { 15 | Assert.IsTrue(ReferenceEquals(FeatureFlag.Instance, FeatureFlag.Instance)); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /test/Microsoft.TestPlatform.CoreUtilities.UnitTests/Program.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace TestPlatform.CoreUtilities.UnitTests; 5 | 6 | /// 7 | /// Main entry point for the command line runner. 8 | /// 9 | public static class Program 10 | { 11 | public static void Main() 12 | { 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /test/Microsoft.TestPlatform.CoreUtilities.UnitTests/TestAssets/dotnetMacArm64: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/vstest/107abd3b697cd033c6b037075536fdd089370101/test/Microsoft.TestPlatform.CoreUtilities.UnitTests/TestAssets/dotnetMacArm64 -------------------------------------------------------------------------------- /test/Microsoft.TestPlatform.CoreUtilities.UnitTests/TestAssets/dotnetMacX64: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/vstest/107abd3b697cd033c6b037075536fdd089370101/test/Microsoft.TestPlatform.CoreUtilities.UnitTests/TestAssets/dotnetMacX64 -------------------------------------------------------------------------------- /test/Microsoft.TestPlatform.CoreUtilities.UnitTests/TestAssets/dotnetWinArm64.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/vstest/107abd3b697cd033c6b037075536fdd089370101/test/Microsoft.TestPlatform.CoreUtilities.UnitTests/TestAssets/dotnetWinArm64.exe -------------------------------------------------------------------------------- /test/Microsoft.TestPlatform.CoreUtilities.UnitTests/TestAssets/dotnetWinX64.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/vstest/107abd3b697cd033c6b037075536fdd089370101/test/Microsoft.TestPlatform.CoreUtilities.UnitTests/TestAssets/dotnetWinX64.exe -------------------------------------------------------------------------------- /test/Microsoft.TestPlatform.CoreUtilities.UnitTests/TestAssets/dotnetWinX86.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/vstest/107abd3b697cd033c6b037075536fdd089370101/test/Microsoft.TestPlatform.CoreUtilities.UnitTests/TestAssets/dotnetWinX86.exe -------------------------------------------------------------------------------- /test/Microsoft.TestPlatform.CrossPlatEngine.UnitTests/Program.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.UnitTests; 5 | 6 | public static class Program 7 | { 8 | public static void Main() 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /test/Microsoft.TestPlatform.Extensions.BlameDataCollector.UnitTests/Program.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.TestPlatform.Extensions.BlameDataCollector.UnitTests; 5 | 6 | public static class Program 7 | { 8 | public static void Main() 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /test/Microsoft.TestPlatform.Extensions.HtmlLogger.UnitTests/Program.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.TestPlatform.Extensions.HtmlLogger.UnitTests; 5 | 6 | public static class Program 7 | { 8 | public static void Main() 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /test/Microsoft.TestPlatform.Extensions.TrxLogger.UnitTests/Program.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.TestPlatform.Extensions.TrxLogger.UnitTests; 5 | 6 | public static class Program 7 | { 8 | public static void Main() 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /test/Microsoft.TestPlatform.ObjectModel.UnitTests/Program.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.TestPlatform.ObjectModel.UnitTests; 5 | 6 | public static class Program 7 | { 8 | public static void Main() 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /test/Microsoft.TestPlatform.TestHostProvider.UnitTests/Program.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.UnitTests; 5 | 6 | public static class Program 7 | { 8 | public static void Main() 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /test/Microsoft.TestPlatform.TestUtilities/BannedSymbols.txt: -------------------------------------------------------------------------------- 1 | M:System.IO.Path.GetTempPath(); Use 'IntegrationTestBase.GetTempPath()' instead 2 | M:System.Environment.SetEnvironmentVariable(System.String,System.String); Use one of the overload accepting a dictionary of environment variables instead 3 | M:System.Environment.SetEnvironmentVariable(System.String,System.String,System.EnvironmentVariableTarget); Use one of the overload accepting a dictionary of environment variables instead 4 | M:System.String.IsNullOrEmpty(System.String); Use 'StringUtils.IsNullOrEmpty' instead 5 | M:System.String.IsNullOrWhiteSpace(System.String); Use 'StringUtils.IsNullOrWhiteSpace' instead 6 | -------------------------------------------------------------------------------- /test/Microsoft.TestPlatform.TestUtilities/NetTestSdkInfo.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using System; 5 | 6 | namespace Microsoft.TestPlatform.TestUtilities; 7 | 8 | [Serializable] // Type should be serializable to allow the tree-view behavior of test discovery in Test Explorer 9 | public class NetTestSdkInfo : DllInfo 10 | { 11 | public NetTestSdkInfo() 12 | { 13 | Name = "Testhost"; 14 | PropertyName = "VSTestConsole"; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /test/Microsoft.TestPlatform.TestUtilities/OSUtils.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.TestPlatform.TestUtilities; 5 | 6 | public static class OSUtils 7 | { 8 | public static bool IsWindows { get; } = System.Environment.OSVersion.Platform.ToString().StartsWith("Win"); 9 | } 10 | -------------------------------------------------------------------------------- /test/Microsoft.TestPlatform.Utilities.UnitTests/Program.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.TestPlatform.Utilities.UnitTests; 5 | 6 | public static class Program 7 | { 8 | public static void Main() 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /test/Microsoft.TestPlatform.Utilities.UnitTests/TestFiles/fullcovered.coverage: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/vstest/107abd3b697cd033c6b037075536fdd089370101/test/Microsoft.TestPlatform.Utilities.UnitTests/TestFiles/fullcovered.coverage -------------------------------------------------------------------------------- /test/SettingsMigrator.UnitTests/oldRunSettingsWithDataCollector.runsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | true 4 | .\oldTestsettings.testsettings 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /test/SettingsMigrator.UnitTests/oldRunSettingsWithEmbeddedSettings.runsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | true 4 | .\oldTestsettings.testsettings 5 | 6 | -------------------------------------------------------------------------------- /test/TestAssets/AppDomainGetAssembliesTestProject/AppDomainGetAssembliesTestProject.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | $(NetFrameworkMinimum);$(NetCoreAppMinimum) 5 | false 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /test/TestAssets/ArchitectureSwitch/ArchitectureSwitch.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | net8.0;net9.0 4 | net8.0;net9.0 5 | false 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /test/TestAssets/ArchitectureSwitch/global.json: -------------------------------------------------------------------------------- 1 | { 2 | "sdk": { 3 | "version": "6.0.200-preview" 4 | } 5 | } -------------------------------------------------------------------------------- /test/TestAssets/AttachmentProcessorDataCollector/AttachmentProcessorDataCollector.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | netstandard2.0 4 | enable 5 | false 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /test/TestAssets/BlameUnitTestProject/UnitTest1.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using Microsoft.VisualStudio.TestTools.UnitTesting; 5 | 6 | using System; 7 | 8 | namespace BlameUnitTestProject 9 | { 10 | [TestClass] 11 | public class UnitTest1 12 | { 13 | [TestMethod] 14 | public void TestMethod1() 15 | { 16 | } 17 | 18 | [TestMethod] 19 | public void TestMethod2() 20 | { 21 | Environment.FailFast("Crash the process on purpose."); 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /test/TestAssets/CPPSimpleTestProject/CPPSimpleProj/stdafx.cpp: -------------------------------------------------------------------------------- 1 | // stdafx.cpp : source file that includes just the standard includes 2 | // CPPSimpleProj.pch will be the pre-compiled header 3 | // stdafx.obj will contain the pre-compiled type information 4 | 5 | #include "stdafx.h" 6 | 7 | // TODO: reference any additional headers you need in STDAFX.H 8 | // and not in this file 9 | -------------------------------------------------------------------------------- /test/TestAssets/CPPSimpleTestProject/CPPSimpleProj/stdafx.h: -------------------------------------------------------------------------------- 1 | // stdafx.h : include file for standard system include files, 2 | // or project specific include files that are used frequently, but 3 | // are changed infrequently 4 | // 5 | 6 | #pragma once 7 | 8 | #include "targetver.h" 9 | 10 | // Headers for CppUnitTest 11 | #include "CppUnitTest.h" 12 | 13 | // TODO: reference additional headers your program requires here 14 | -------------------------------------------------------------------------------- /test/TestAssets/CPPSimpleTestProject/CPPSimpleProj/targetver.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | // Including SDKDDKVer.h defines the highest available Windows platform. 4 | 5 | // If you wish to build your application for a previous Windows platform, include WinSDKVer.h and 6 | // set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h. 7 | 8 | #include 9 | -------------------------------------------------------------------------------- /test/TestAssets/CPPSimpleTestProject/CPPSimpleProj/unittest1.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | #include "CppUnitTest.h" 3 | 4 | using namespace Microsoft::VisualStudio::CppUnitTestFramework; 5 | 6 | namespace CPPSimpleProj 7 | { 8 | TEST_CLASS(UnitTest1) 9 | { 10 | public: 11 | 12 | TEST_METHOD(PassingTest) 13 | { 14 | Assert::AreEqual(2, 2); 15 | } 16 | 17 | TEST_METHOD(FailingTest) 18 | { 19 | Assert::AreEqual(1, 2); 20 | } 21 | 22 | }; 23 | } -------------------------------------------------------------------------------- /test/TestAssets/CPPSimpleTestProject/ConsoleNativeApp/ConsoleNativeApp.cpp: -------------------------------------------------------------------------------- 1 | // ConsoleNativeApp.cpp : Defines the entry point for the console application. 2 | // 3 | 4 | #include "stdafx.h" 5 | 6 | 7 | int main() 8 | { 9 | return 0; 10 | } 11 | 12 | -------------------------------------------------------------------------------- /test/TestAssets/CPPSimpleTestProject/ConsoleNativeApp/stdafx.cpp: -------------------------------------------------------------------------------- 1 | // stdafx.cpp : source file that includes just the standard includes 2 | // ConsoleNativeApp.pch will be the pre-compiled header 3 | // stdafx.obj will contain the pre-compiled type information 4 | 5 | #include "stdafx.h" 6 | 7 | // TODO: reference any additional headers you need in STDAFX.H 8 | // and not in this file 9 | -------------------------------------------------------------------------------- /test/TestAssets/CPPSimpleTestProject/ConsoleNativeApp/stdafx.h: -------------------------------------------------------------------------------- 1 | // stdafx.h : include file for standard system include files, 2 | // or project specific include files that are used frequently, but 3 | // are changed infrequently 4 | // 5 | 6 | #pragma once 7 | 8 | #include "targetver.h" 9 | 10 | #include 11 | #include 12 | 13 | 14 | 15 | // TODO: reference additional headers your program requires here 16 | -------------------------------------------------------------------------------- /test/TestAssets/CPPSimpleTestProject/ConsoleNativeApp/targetver.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | // Including SDKDDKVer.h defines the highest available Windows platform. 4 | 5 | // If you wish to build your application for a previous Windows platform, include WinSDKVer.h and 6 | // set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h. 7 | 8 | #include 9 | -------------------------------------------------------------------------------- /test/TestAssets/CUITTestProject/CodedUITest1.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using Microsoft.VisualStudio.TestTools.UITesting; 5 | using Microsoft.VisualStudio.TestTools.UnitTesting; 6 | 7 | namespace CodedUITestProject 8 | { 9 | [CodedUITest] 10 | public class CodedUITestProject 11 | { 12 | [TestMethod] 13 | public void CodedUITestMethod1() 14 | { 15 | UITestControl.Desktop.DrawHighlight(); 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /test/TestAssets/CodeCoverageTest/Logic.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace CodeCoverageTest 5 | { 6 | public class Logic 7 | { 8 | public Logic() 9 | { 10 | } 11 | 12 | public int Abs(int x) 13 | { 14 | return (x < 0) ? (-x) : (x); 15 | } 16 | 17 | public int Sign(int x) 18 | { 19 | if (x < 0) return -1; 20 | if (x > 0) return 1; 21 | 22 | return 0; 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /test/TestAssets/ConsoleManagedApp/ConsoleManagedApp.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | ConsoleManagedApp 5 | $(NetFrameworkMinimum);$(NetCoreAppMinimum) 6 | Exe 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /test/TestAssets/ConsoleManagedApp/Program.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using System; 5 | 6 | namespace ConsoleManagedApp 7 | { 8 | class Program 9 | { 10 | static void Main() 11 | { 12 | Console.WriteLine("Hello World!"); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /test/TestAssets/ConsoleRunners/ConsoleRunners.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | $(NetFrameworkMinimum);$(NetCoreAppMinimum) 5 | false 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /test/TestAssets/CoverletCoverageTestProject/CoverletCoverageTestProject.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | $(NetCoreAppMinimum) 5 | false 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /test/TestAssets/CoverletCoverageTestProject/UnitTest1.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using Xunit; 5 | 6 | namespace CoverletCoverageTestProject 7 | { 8 | public class UnitTest1 9 | { 10 | [Fact] 11 | public void Test1() 12 | { 13 | 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /test/TestAssets/Directory.Build.targets: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | -------------------------------------------------------------------------------- /test/TestAssets/DisableAppdomainTest1/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /test/TestAssets/DisableAppdomainTest2/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /test/TestAssets/EnvironmentVariablesTestProject/EnvironmentVariablesTestProject.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | $(NetFrameworkMinimum);$(NetCoreAppMinimum) 5 | false 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /test/TestAssets/EnvironmentVariablesTestProject/UnitTest1.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using Microsoft.VisualStudio.TestTools.UnitTesting; 5 | 6 | using System; 7 | 8 | namespace EnvironmentVariablesTestProject 9 | { 10 | [TestClass] 11 | public class UnitTest1 12 | { 13 | [TestMethod] 14 | public void TestMethod1() 15 | { 16 | var envVar = Environment.GetEnvironmentVariable("RANDOM_PATH"); 17 | Assert.AreEqual(envVar, @"C:\temp"); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /test/TestAssets/LegacySettingsUnitTestProject/DependencyAssembly/DependencyAssemblyForTest.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/vstest/107abd3b697cd033c6b037075536fdd089370101/test/TestAssets/LegacySettingsUnitTestProject/DependencyAssembly/DependencyAssemblyForTest.dll -------------------------------------------------------------------------------- /test/TestAssets/LegacySettingsUnitTestProject/DeploymentFile.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/TestAssets/MSTestProject1/UnitTest1.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using Microsoft.VisualStudio.TestTools.UnitTesting; 5 | 6 | namespace MSTestProject1; 7 | 8 | [TestClass] 9 | public class UnitTest1 10 | { 11 | [TestMethod] 12 | public void PassingTest() 13 | { 14 | Assert.AreEqual(2, 2); 15 | } 16 | 17 | [TestMethod] 18 | public void FailingTest() 19 | { 20 | Assert.AreEqual(2, 3); 21 | } 22 | 23 | [Ignore] 24 | [TestMethod] 25 | public void SkippedTest() 26 | { 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /test/TestAssets/MSTestProject2/UnitTest1.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using Microsoft.VisualStudio.TestTools.UnitTesting; 5 | 6 | namespace MSTestProject2; 7 | 8 | [TestClass] 9 | public class UnitTest1 10 | { 11 | [TestMethod] 12 | public void PassingTest() 13 | { 14 | Assert.AreEqual(2, 2); 15 | } 16 | 17 | [TestMethod] 18 | public void FailingTest() 19 | { 20 | Assert.AreEqual(2, 3); 21 | } 22 | 23 | [Ignore] 24 | [TestMethod] 25 | public void SkippedTest() 26 | { 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /test/TestAssets/MstestV1UnitTestProject/MstestV1UnitTestProjectTestSettings.testsettings: -------------------------------------------------------------------------------- 1 | 2 | 7 | These are default test settings for a local test run. 8 | 9 | 10 | -------------------------------------------------------------------------------- /test/TestAssets/NUTestProject/Class1.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using NUnit.Framework; 5 | 6 | namespace NUnitTestProject; 7 | 8 | [TestFixture] 9 | public class NUnitTest1 10 | { 11 | [Test] 12 | public void PassTestMethod1() 13 | { 14 | Assert.AreEqual(5, 5); 15 | } 16 | 17 | [Test] 18 | public void FailTestMethod1() 19 | { 20 | Assert.AreEqual(5, 6); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /test/TestAssets/NetStandard2Library/Class1.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using System; 5 | 6 | namespace NetStandard2Library; 7 | 8 | public class Class1 9 | { 10 | 11 | } 12 | -------------------------------------------------------------------------------- /test/TestAssets/NetStandard2Library/NetStandard2Library.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netstandard2.0 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /test/TestAssets/NewtonSoftDependency/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /test/TestAssets/NonDll.TestAdapter/NonDll.TestAdapter.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | netstandard2.0 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /test/TestAssets/OutOfProcDataCollector/OutOfProcDataCollector.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | $(NetFrameworkMinimum);$(NetCoreAppMinimum) 4 | 15.0.0.0 5 | 1.6.0 6 | false 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /test/TestAssets/ProjectFileRunSettingsTestProject/fail.runsettings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | True 5 | 6 | 7 | -------------------------------------------------------------------------------- /test/TestAssets/ProjectFileRunSettingsTestProject/inconclusive.runsettings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | False 5 | 6 | 7 | -------------------------------------------------------------------------------- /test/TestAssets/SelfContainedAppTestProject/UnitTest1.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using Microsoft.VisualStudio.TestTools.UnitTesting; 5 | 6 | namespace SelfContainedAppTestProject 7 | { 8 | [TestClass] 9 | public class UnitTest1 10 | { 11 | [TestMethod] 12 | public void TestMethod1() 13 | { 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /test/TestAssets/SimpleDataCollector/TITestDllKey.snk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/vstest/107abd3b697cd033c6b037075536fdd089370101/test/TestAssets/SimpleDataCollector/TITestDllKey.snk -------------------------------------------------------------------------------- /test/TestAssets/SimpleTestProjectARM64/UnitTest1.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using Microsoft.VisualStudio.TestTools.UnitTesting; 5 | 6 | namespace SimpleTestProjectARM 7 | { 8 | /// 9 | /// The unit test 1. 10 | /// 11 | [TestClass] 12 | public class UnitTest1 13 | { 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /test/TestAssets/SimpleTestProjectMessedUpTargetFramework/UnitTest1.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using Microsoft.VisualStudio.TestTools.UnitTesting; 5 | 6 | namespace SimpleTestProjectMessedUpTargetFramework 7 | { 8 | [TestClass] 9 | public class UnitTest1 10 | { 11 | [TestMethod] 12 | public void TestMethod1() 13 | { 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /test/TestAssets/SimpleTestProjectx86/UnitTest1.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using Microsoft.VisualStudio.TestTools.UnitTesting; 5 | 6 | namespace SimpleTestProjectx86 7 | { 8 | /// 9 | /// The unit test 1. 10 | /// 11 | [TestClass] 12 | public class UnitTest1 13 | { 14 | /// 15 | /// The passing test. 16 | /// 17 | [TestMethod] 18 | public void PassingTestx86() 19 | { 20 | Assert.AreEqual(2, 2); 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /test/TestAssets/Tools/Program.cs: -------------------------------------------------------------------------------- 1 | // See https://aka.ms/new-console-template for more information 2 | using System; 3 | 4 | // This project is used to restore TestPlatform and TestPlatform.CLI tools packages 5 | // for testing with older versions. 6 | 7 | Console.WriteLine("Hello, World!"); 8 | -------------------------------------------------------------------------------- /test/TestAssets/Tools/Tools.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | true 5 | true 6 | 7 | 8 | 9 | net8.0;net9.0 10 | Exe 11 | hanging_child 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /test/TestAssets/XUTestProject/Class1.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using Xunit; 5 | 6 | #pragma warning disable IDE1006 // Naming Styles 7 | namespace xUnitTestProject 8 | #pragma warning restore IDE1006 // Naming Styles 9 | { 10 | public class Class1 11 | { 12 | [Fact] 13 | public void PassTestMethod1() 14 | { 15 | Assert.True(true); 16 | } 17 | 18 | [Fact] 19 | public void FailTestMethod1() 20 | { 21 | Assert.True(false); 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /test/TestAssets/crash/UnitTest1.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using Microsoft.VisualStudio.TestTools.UnitTesting; 5 | 6 | using System; 7 | 8 | #pragma warning disable IDE1006 // Naming Styles 9 | namespace timeout 10 | #pragma warning restore IDE1006 // Naming Styles 11 | { 12 | [TestClass] 13 | public class UnitTest1 14 | { 15 | [TestMethod] 16 | public void TestMethod1() 17 | { 18 | // stack overflow 19 | Span s = stackalloc byte[int.MaxValue]; 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /test/TestAssets/hanging-child/hanging-child.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | true 5 | true 6 | 7 | 8 | 9 | net8.0;net9.0 10 | Exe 11 | hanging_child 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /test/TestAssets/performance/MSTest1Passing/MSTests.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.VisualStudio.TestTools.UnitTesting; 2 | 3 | namespace Tests 4 | { 5 | [TestClass] 6 | public class TestClass_01 7 | { 8 | #region PassingTests 9 | [TestMethod] 10 | public void Test_01_01() 11 | { 12 | } 13 | 14 | #endregion 15 | 16 | #region FailingTests 17 | #endregion 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /test/TestAssets/performance/NUnit1Passing/NunitTests.cs: -------------------------------------------------------------------------------- 1 | using NUnit.Framework; 2 | 3 | namespace Tests 4 | { 5 | [TestFixture] 6 | public class TestClass_01 7 | { 8 | #region PassingTests 9 | [Test] 10 | public void Test_01_01() 11 | { 12 | } 13 | 14 | #endregion 15 | 16 | #region FailingTests 17 | #endregion 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /test/TestAssets/performance/XUnit1Passing/XunitTests.cs: -------------------------------------------------------------------------------- 1 | using Xunit; 2 | 3 | namespace Tests 4 | { 5 | public class TestClass_01 6 | { 7 | #region PassingTests 8 | [Fact] 9 | public void Test_01_01() 10 | { 11 | } 12 | 13 | #endregion 14 | 15 | #region FailingTests 16 | #endregion 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /test/TestAssets/problematic-child/problematic-child.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | true 5 | true 6 | 7 | 8 | 9 | net8.0;net9.0 10 | Exe 11 | problematic_child 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /test/TestAssets/test.js: -------------------------------------------------------------------------------- 1 | test("TestMethod1", function () { 2 | ok(true); 3 | 4 | }); 5 | 6 | test("TestMethod2", function () { 7 | ok(false); 8 | 9 | }); 10 | -------------------------------------------------------------------------------- /test/TestAssets/timeout/UnitTest1.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using Microsoft.VisualStudio.TestTools.UnitTesting; 5 | 6 | using System.Threading; 7 | 8 | #pragma warning disable IDE1006 // Naming Styles 9 | namespace timeout 10 | #pragma warning restore IDE1006 // Naming Styles 11 | { 12 | [TestClass] 13 | public class UnitTest1 14 | { 15 | [TestMethod] 16 | public void TestMethod1() 17 | { 18 | Thread.Sleep(10_000); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /test/TranslationLayer.UnitTests/Program.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.TestPlatform.VsTestConsole.TranslationLayer.UnitTests; 5 | 6 | public static class Program 7 | { 8 | public static void Main() 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /test/coverlet.collector/coverlet.collector.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | net9.0;net48 4 | false 5 | 6 | 9.9.9.9 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /test/datacollector.PlatformTests/Program.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.VisualStudio.TestPlatform.DataCollector.ComponentTests; 5 | 6 | /// 7 | /// Main entry point for the command line runner. 8 | /// 9 | public static class Program 10 | { 11 | public static void Main() 12 | { 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /test/datacollector.UnitTests/Program.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.VisualStudio.TestPlatform.Common.DataCollector.UnitTests; 5 | 6 | /// 7 | /// Main entry point for the command line runner. 8 | /// 9 | public static class Program 10 | { 11 | public static void Main() 12 | { 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /test/testhost.UnitTests/DummyTests.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using Microsoft.VisualStudio.TestTools.UnitTesting; 5 | 6 | namespace testhost.UnitTests; 7 | 8 | [TestClass] 9 | public class DummyTests 10 | { 11 | /// 12 | /// This test is added as at least one test is required for dotnet core tfm for test scripts to succeed. 13 | /// 14 | [TestMethod] 15 | public void DummyUnitTest() 16 | { 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /test/testhost.UnitTests/GlobalSuppressions.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using System.Diagnostics.CodeAnalysis; 5 | 6 | [assembly: SuppressMessage("Style", "IDE1006:Naming Styles", Justification = "", Scope = "namespace", Target = "~N:testhost.UnitTests")] 7 | -------------------------------------------------------------------------------- /test/testhost.UnitTests/Program.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace testhost.UnitTests; 5 | 6 | public static class Program 7 | { 8 | public static void Main() 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /test/vstest.ProgrammerTests/Fakes/EventRecord.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace vstest.ProgrammerTests.Fakes; 5 | 6 | internal class EventRecord 7 | { 8 | public object? Sender { get; } 9 | 10 | public T Data { get; } 11 | 12 | public EventRecord(object? sender, T data) 13 | { 14 | Sender = sender; 15 | Data = data; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /test/vstest.ProgrammerTests/Fakes/FakeErrorAggregator.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace vstest.ProgrammerTests.Fakes; 5 | 6 | internal class FakeErrorAggregator 7 | { 8 | public List Errors { get; } = new(); 9 | 10 | public void Add(object error) 11 | { 12 | Errors.Add(error); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /test/vstest.ProgrammerTests/Fakes/FakeFile.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace vstest.ProgrammerTests.Fakes; 5 | 6 | internal class FakeFile 7 | { 8 | public string Path { get; } 9 | 10 | public FakeFile(string path) 11 | { 12 | Path = path; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /test/vstest.ProgrammerTests/Fakes/FixtureOptions.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace vstest.ProgrammerTests.Fakes; 5 | 6 | internal class FixtureOptions 7 | { 8 | public Dictionary? FeatureFlags { get; init; } 9 | } 10 | -------------------------------------------------------------------------------- /test/vstest.ProgrammerTests/Fakes/TestMessage.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using Microsoft.VisualStudio.TestPlatform.ObjectModel.Logging; 5 | 6 | namespace vstest.ProgrammerTests.Fakes; 7 | 8 | internal class TestMessage 9 | { 10 | public TestMessage(TestMessageLevel level, string? message) 11 | { 12 | Level = level; 13 | Message = message; 14 | } 15 | 16 | public TestMessageLevel Level { get; } 17 | public string? Message { get; } 18 | } 19 | -------------------------------------------------------------------------------- /test/vstest.ProgrammerTests/GlobalSuppressions.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using System.Diagnostics.CodeAnalysis; 5 | 6 | [assembly: SuppressMessage("Style", "IDE1006:Naming Styles", Justification = "Consider changing namespaces later", Scope = "namespace", Target = "~N:vstest.ProgrammerTests")] 7 | [assembly: SuppressMessage("Style", "IDE1006:Naming Styles", Justification = "Consider changing namespaces later", Scope = "namespace", Target = "~N:vstest.ProgrammerTests.Fakes")] 8 | -------------------------------------------------------------------------------- /test/vstest.ProgrammerTests/Program.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using System.Reflection; 5 | 6 | namespace vstest.ProgrammerTests; 7 | 8 | internal class Program 9 | { 10 | static void Main() 11 | { 12 | Intent.Console.Program.Main([Assembly.GetExecutingAssembly().Location]); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /test/vstest.ProgrammerTests/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "profiles": { 3 | "WSL": { 4 | "commandName": "WSL2", 5 | "distributionName": "" 6 | }, 7 | "vstest.ProgrammerTests": { 8 | "commandName": "Project" 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /test/vstest.console.UnitTests/Program.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | namespace Microsoft.VisualStudio.TestPlatform.CommandLine.UnitTests; 5 | 6 | public static class Program 7 | { 8 | public static void Main() 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /test/vstest.console.UnitTests/TestDoubles/DummyCommandLineOptions.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using Microsoft.VisualStudio.TestPlatform.CommandLine; 5 | 6 | namespace vstest.console.UnitTests.TestDoubles; 7 | 8 | internal class DummyCommandLineOptions : CommandLineOptions 9 | { 10 | } 11 | -------------------------------------------------------------------------------- /test/vstest.console.UnitTests/TestDoubles/DummyTestRunResultAggregator.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. 3 | 4 | using Microsoft.VisualStudio.TestPlatform.CommandLine; 5 | 6 | namespace vstest.console.UnitTests.TestDoubles; 7 | 8 | internal class DummyTestRunResultAggregator : TestRunResultAggregator 9 | { 10 | } 11 | --------------------------------------------------------------------------------