38 references to CommandLineException
vstest.console (38)
Processors\CLIRunSettingsArgumentProcessor.cs (1)
217
throw new
CommandLineException
(exceptionMessage);
Processors\CollectArgumentProcessor.cs (3)
96
throw new
CommandLineException
(exceptionMessage);
105
throw new
CommandLineException
(exceptionMessage);
175
throw new
CommandLineException
(exceptionMessage);
Processors\DisableAutoFakesArgumentProcessor.cs (1)
64
throw new
CommandLineException
(CommandLineResources.DisableAutoFakesUsage);
Processors\EnableDiagArgumentProcessor.cs (1)
124
throw new
CommandLineException
(exceptionMessage);
Processors\EnableLoggerArgumentProcessor.cs (2)
116
throw new
CommandLineException
(exceptionMessage);
126
throw new
CommandLineException
(exceptionMessage);
Processors\FrameworkArgumentProcessor.cs (2)
103
throw new
CommandLineException
(CommandLineResources.FrameworkVersionRequired);
107
_commandLineOptions.TargetFrameworkVersion = validFramework ?? throw new
CommandLineException
(
Processors\InIsolationArgumentProcessor.cs (1)
91
throw new
CommandLineException
(
Processors\ListFullyQualifiedTestsArgumentProcessor.cs (2)
170
throw new
CommandLineException
(CommandLineResources.MissingTestSourceFile);
187
throw new
CommandLineException
("Target Path should be specified for listing FQDN tests!");
Processors\ListTestsArgumentProcessor.cs (1)
174
throw new
CommandLineException
(CommandLineResources.MissingTestSourceFile);
Processors\ListTestsTargetPathArgumentProcessor.cs (1)
81
throw new
CommandLineException
("ListTestsTargetPath is required with ListFullyQualifiedTests!");
Processors\ParallelArgumentProcessor.cs (1)
98
throw new
CommandLineException
(
Processors\ParentProcessIdArgumentProcessor.cs (1)
89
throw new
CommandLineException
(CommandLineResources.InvalidParentProcessIdArgument);
Processors\PlatformArgumentProcessor.cs (2)
103
throw new
CommandLineException
(CommandLineResources.PlatformTypeRequired);
128
throw new
CommandLineException
(
Processors\PortArgumentProcessor.cs (1)
140
throw new
CommandLineException
(CommandLineResources.InvalidPortArgument);
Processors\ResultsDirectoryArgumentProcessor.cs (2)
107
throw new
CommandLineException
(CommandLineResources.ResultsDirectoryValueRequired);
121
throw new
CommandLineException
(string.Format(CultureInfo.CurrentCulture, CommandLineResources.InvalidResultsDirectoryPathCommand, argument, ex.Message));
Processors\RunSettingsArgumentProcessor.cs (2)
86
throw new
CommandLineException
(CommandLineResources.RunSettingsRequired);
91
throw new
CommandLineException
(
Processors\RunSpecificTestsArgumentProcessor.cs (2)
168
throw new
CommandLineException
(CommandLineResources.SpecificTestsRequired);
188
throw new
CommandLineException
(CommandLineResources.MissingTestSourceFile);
Processors\RunTestsArgumentProcessor.cs (1)
141
throw new
CommandLineException
(CommandLineResources.MissingTestSourceFile);
Processors\TestAdapterLoadingStrategyArgumentProcessor.cs (4)
125
throw new
CommandLineException
(string.Format(CultureInfo.CurrentCulture, CommandLineResources.TestAdapterLoadingStrategyValueInvalidRecursive, $"{nameof(TestAdapterLoadingStrategy.Explicit)}, {nameof(TestAdapterLoadingStrategy.NextToSource)}"));
160
throw new
CommandLineException
(string.Format(CultureInfo.CurrentCulture, CommandLineResources.TestAdapterLoadingStrategyValueInvalid, value));
177
throw new
CommandLineException
(string.Format(CultureInfo.CurrentCulture, CommandLineResources.TestAdapterPathValueRequiredWhenStrategyXIsUsed, nameof(TestAdapterLoadingStrategy.Explicit)));
213
throw new
CommandLineException
(
Processors\TestAdapterPathArgumentProcessor.cs (1)
128
throw new
CommandLineException
(
Processors\TestCaseFilterArgumentProcessor.cs (1)
95
throw new
CommandLineException
(string.Format(CultureInfo.CurrentCulture, CommandLineResources.TestCaseFilterValueRequired));
Processors\TestSessionCorrelationIdProcessor.cs (1)
77
throw new
CommandLineException
(CommandLineResources.InvalidTestSessionCorrelationId);
Processors\UseVsixExtensionsArgumentProcessor.cs (2)
88
throw new
CommandLineException
(string.Format(CultureInfo.CurrentCulture, CommandLineResources.UseVsixExtensionsValueRequired));
93
throw new
CommandLineException
(
Processors\Utilities\ArgumentProcessorUtilities.cs (2)
28
throw new
CommandLineException
(exceptionMessage);
55
throw new
CommandLineException
(exceptionMessage);