23 references to TestCommandParser
dotnet (17)
Commands\Test\MTP\MSBuildUtility.cs (5)
74
var msbuildArgs = parseResult.OptionValuesToBeForwarded(
TestCommandParser
.GetCommand())
106
parseResult.HasOption(
TestCommandParser
.VerbosityOption) ? parseResult.GetValue(
TestCommandParser
.VerbosityOption) : null,
126
var parsedMSBuildArgs = MSBuildArgs.AnalyzeMSBuildArguments(msbuildArgs, CommonOptions.PropertiesOption, CommonOptions.RestorePropertiesOption,
TestCommandParser
.MTPTargetOption,
TestCommandParser
.VerbosityOption);
Commands\Test\VSTest\TestCommand.cs (8)
182
result.OptionValuesToBeForwarded(
TestCommandParser
.GetCommand()) // all msbuild-recognized tokens
203
string? verbosityArg = result.ForwardedOptionValues<IReadOnlyCollection<string>>(
TestCommandParser
.GetCommand(), "--verbosity")?.SingleOrDefault() ?? null;
220
bool noRestore = result.GetValue(
TestCommandParser
.NoRestoreOption) || result.GetValue(
TestCommandParser
.NoBuildOption);
226
TestCommandParser
.VsTestTargetOption,
227
TestCommandParser
.VerbosityOption);
273
if (parseResult.GetResult(
TestCommandParser
.DiagOption) is not null)
275
artifactsPostProcessArgs.Add($"--diag:{parseResult.GetValue(
TestCommandParser
.DiagOption)}");
Extensions\OptionForwardingExtensions.cs (1)
67
argVal =
TestCommandParser
.SurroundWithDoubleQuotes(argVal);
Parser.cs (1)
85
TestCommandParser
.GetCommand(),
Telemetry\TelemetryFilter.cs (2)
120
TestCommandParser
.FrameworkOption, RunCommandParser.ConfigurationOption, CleanCommandParser.ConfigurationOption,
121
TestCommandParser
.ConfigurationOption ]
dotnet.Tests (6)
CommandTests\Test\TestCommandParserTests.cs (6)
17
TestCommandParser
.SurroundWithDoubleQuotes(null));
27
var result =
TestCommandParser
.SurroundWithDoubleQuotes(escapedInput);
39
var result =
TestCommandParser
.SurroundWithDoubleQuotes(input);
50
var result =
TestCommandParser
.SurroundWithDoubleQuotes(input);
61
var result =
TestCommandParser
.SurroundWithDoubleQuotes(input);
68
var command =
TestCommandParser
.GetCommand();