38 references to CommandLineException
vstest.console.arm64 (38)
parent\vstest.console\Processors\CLIRunSettingsArgumentProcessor.cs (1)
229
throw new
CommandLineException
(exceptionMessage);
parent\vstest.console\Processors\CollectArgumentProcessor.cs (3)
102
throw new
CommandLineException
(exceptionMessage);
111
throw new
CommandLineException
(exceptionMessage);
181
throw new
CommandLineException
(exceptionMessage);
parent\vstest.console\Processors\DisableAutoFakesArgumentProcessor.cs (1)
70
throw new
CommandLineException
(CommandLineResources.DisableAutoFakesUsage);
parent\vstest.console\Processors\EnableDiagArgumentProcessor.cs (1)
124
throw new
CommandLineException
(exceptionMessage);
parent\vstest.console\Processors\EnableLoggerArgumentProcessor.cs (2)
122
throw new
CommandLineException
(exceptionMessage);
132
throw new
CommandLineException
(exceptionMessage);
parent\vstest.console\Processors\FrameworkArgumentProcessor.cs (2)
111
throw new
CommandLineException
(CommandLineResources.FrameworkVersionRequired);
115
_commandLineOptions.TargetFrameworkVersion = validFramework ?? throw new
CommandLineException
(
parent\vstest.console\Processors\InIsolationArgumentProcessor.cs (1)
99
throw new
CommandLineException
(
parent\vstest.console\Processors\ListFullyQualifiedTestsArgumentProcessor.cs (2)
179
throw new
CommandLineException
(CommandLineResources.MissingTestSourceFile);
196
throw new
CommandLineException
("Target Path should be specified for listing FQDN tests!");
parent\vstest.console\Processors\ListTestsArgumentProcessor.cs (1)
183
throw new
CommandLineException
(CommandLineResources.MissingTestSourceFile);
parent\vstest.console\Processors\ListTestsTargetPathArgumentProcessor.cs (1)
87
throw new
CommandLineException
("ListTestsTargetPath is required with ListFullyQualifiedTests!");
parent\vstest.console\Processors\ParallelArgumentProcessor.cs (1)
106
throw new
CommandLineException
(
parent\vstest.console\Processors\ParentProcessIdArgumentProcessor.cs (1)
95
throw new
CommandLineException
(CommandLineResources.InvalidParentProcessIdArgument);
parent\vstest.console\Processors\PlatformArgumentProcessor.cs (2)
118
throw new
CommandLineException
(CommandLineResources.PlatformTypeRequired);
143
throw new
CommandLineException
(
parent\vstest.console\Processors\PortArgumentProcessor.cs (1)
160
throw new
CommandLineException
(CommandLineResources.InvalidPortArgument);
parent\vstest.console\Processors\ResultsDirectoryArgumentProcessor.cs (2)
115
throw new
CommandLineException
(CommandLineResources.ResultsDirectoryValueRequired);
129
throw new
CommandLineException
(string.Format(CultureInfo.CurrentCulture, CommandLineResources.InvalidResultsDirectoryPathCommand, argument, ex.Message));
parent\vstest.console\Processors\RunSettingsArgumentProcessor.cs (2)
98
throw new
CommandLineException
(CommandLineResources.RunSettingsRequired);
103
throw new
CommandLineException
(
parent\vstest.console\Processors\RunSpecificTestsArgumentProcessor.cs (2)
177
throw new
CommandLineException
(CommandLineResources.SpecificTestsRequired);
197
throw new
CommandLineException
(CommandLineResources.MissingTestSourceFile);
parent\vstest.console\Processors\RunTestsArgumentProcessor.cs (1)
150
throw new
CommandLineException
(CommandLineResources.MissingTestSourceFile);
parent\vstest.console\Processors\TestAdapterLoadingStrategyArgumentProcessor.cs (4)
133
throw new
CommandLineException
(string.Format(CultureInfo.CurrentCulture, CommandLineResources.TestAdapterLoadingStrategyValueInvalidRecursive, $"{nameof(TestAdapterLoadingStrategy.Explicit)}, {nameof(TestAdapterLoadingStrategy.NextToSource)}"));
168
throw new
CommandLineException
(string.Format(CultureInfo.CurrentCulture, CommandLineResources.TestAdapterLoadingStrategyValueInvalid, value));
185
throw new
CommandLineException
(string.Format(CultureInfo.CurrentCulture, CommandLineResources.TestAdapterPathValueRequiredWhenStrategyXIsUsed, nameof(TestAdapterLoadingStrategy.Explicit)));
221
throw new
CommandLineException
(
parent\vstest.console\Processors\TestAdapterPathArgumentProcessor.cs (1)
136
throw new
CommandLineException
(
parent\vstest.console\Processors\TestCaseFilterArgumentProcessor.cs (1)
101
throw new
CommandLineException
(string.Format(CultureInfo.CurrentCulture, CommandLineResources.TestCaseFilterValueRequired));
parent\vstest.console\Processors\TestSessionCorrelationIdProcessor.cs (1)
83
throw new
CommandLineException
(CommandLineResources.InvalidTestSessionCorrelationId);
parent\vstest.console\Processors\UseVsixExtensionsArgumentProcessor.cs (2)
95
throw new
CommandLineException
(string.Format(CultureInfo.CurrentCulture, CommandLineResources.UseVsixExtensionsValueRequired));
100
throw new
CommandLineException
(
parent\vstest.console\Processors\Utilities\ArgumentProcessorUtilities.cs (2)
28
throw new
CommandLineException
(exceptionMessage);
55
throw new
CommandLineException
(exceptionMessage);