From 150c5a8128431dceee5d2f2569e75a6912acedbd Mon Sep 17 00:00:00 2001 From: dfederm Date: Thu, 7 Mar 2024 15:42:03 -0800 Subject: [PATCH] Sync RunVSTestTask task params --- src/RunTests/RunVSTestTask.cs | 24 ------------------- .../build/Microsoft.Build.RunVSTest.targets | 4 +++- 2 files changed, 3 insertions(+), 25 deletions(-) diff --git a/src/RunTests/RunVSTestTask.cs b/src/RunTests/RunVSTestTask.cs index ca2ee35..7c36261 100644 --- a/src/RunTests/RunVSTestTask.cs +++ b/src/RunTests/RunVSTestTask.cs @@ -15,11 +15,6 @@ public class RunVSTestTask : ToolTask private static readonly HashSet NormalTestLogging = new (new[] { "n", "normal", "d", "detailed", "diag", "diagnostic" }, StringComparer.OrdinalIgnoreCase); private static readonly HashSet QuietTestLogging = new (new[] { "q", "quiet" }, StringComparer.OrdinalIgnoreCase); - /// - /// Gets or Sets Full path to the test file. - /// - public string IsTestProject { get; set; } - /// /// Gets or Sets Full path to the test file. /// @@ -65,19 +60,6 @@ public class RunVSTestTask : ToolTask /// public string VSTestDiag { get; set; } - /// - /// Gets or Sets Command line options for VSTest. - /// - public string[] VSTestCLIRunSettings { get; set; } - - // Initialized to empty string to allow declaring as non-nullable, the property is marked as - // required so we can ensure that the property is set to non-null before the task is executed. - - /// - /// Gets or Sets Path to VSTest console executable. - /// - public string VSTestConsolePath { get; set; } = string.Empty; - /// /// Gets or Sets Directory where VSTest results are saved. /// @@ -148,12 +130,6 @@ public class RunVSTestTask : ToolTask /// public string VSTestSessionCorrelationId { get; set; } - /// - /// Gets or Sets Runner version of VSTest. - /// - [Required] - public string VSTestRunnerVersion { get; set; } - protected override string ToolName => "vstest.console.exe"; protected override MessageImportance StandardOutputLoggingImportance => MessageImportance.High; diff --git a/src/RunTests/build/Microsoft.Build.RunVSTest.targets b/src/RunTests/build/Microsoft.Build.RunVSTest.targets index d66ec22..9796e59 100644 --- a/src/RunTests/build/Microsoft.Build.RunVSTest.targets +++ b/src/RunTests/build/Microsoft.Build.RunVSTest.targets @@ -8,7 +8,6 @@