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