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