4 instantiations of CommandLineOptions
vstest.console (4)
CommandLine\Executor.cs (2)
104: this(output, testPlatformEventSource, processHelper, environment, new RunSettingsManager(), RunSettingsHelper.Instance, new CommandLineOptions(), new TestRunResultAggregator()) 109: this(output, testPlatformEventSource, processHelper, environment, runSettingsProvider, RunSettingsHelper.Instance, new CommandLineOptions(), new TestRunResultAggregator())
Internal\ConsoleLogger.cs (1)
136_commandLineOptions = commandLineOptions ?? new CommandLineOptions();
Processors\Utilities\ArgumentProcessorFactory.cs (1)
79commandLineOptions ??= new CommandLineOptions();
126 references to CommandLineOptions
vstest.console (126)
CommandLine\Executor.cs (2)
68private readonly CommandLineOptions _commandLineOptions; 113internal Executor(IOutput output, ITestPlatformEventSource testPlatformEventSource, IProcessHelper processHelper, IEnvironment environment, IRunSettingsProvider runSettingsProvider, IRunSettingsHelper runSettingsHelper, CommandLineOptions commandLineOptions, TestRunResultAggregator testRunResultAggregator, ITestRequestManager? testRequestManager = null)
CommandLine\GenerateFakesUtilities.cs (1)
14internal static string GenerateFakesSettings(CommandLineOptions? commandLineOptions, IEnumerable<string> sources, string runSettingsXml)
Internal\ConsoleLogger.cs (5)
117/// the parsed <see cref="CommandLineOptions"/> by injection instead of reaching for the process-wide 121internal ConsoleLogger(CommandLineOptions commandLineOptions) 129internal ConsoleLogger(IOutput output, IProgressIndicator progressIndicator, IFeatureFlag featureFlag, CommandLineOptions? commandLineOptions = null) 153private readonly CommandLineOptions _commandLineOptions; 428var commandLineOptions = _commandLineOptions;
Processors\ArtifactProcessingCollectModeProcessor.cs (4)
23private readonly CommandLineOptions _commandLineOptions; 25public ArtifactProcessingCollectModeProcessor(CommandLineOptions commandLineOptions) 77private readonly CommandLineOptions _commandLineOptions; 79public ArtifactProcessingCollectModeProcessorExecutor(CommandLineOptions options)
Processors\ArtifactProcessingPostProcessModeProcessor.cs (4)
27private readonly CommandLineOptions _commandLineOptions; 29public ArtifactProcessingPostProcessModeProcessor(CommandLineOptions commandLineOptions) 80private readonly CommandLineOptions _commandLineOptions; 83public ArtifactProcessingPostProcessModeProcessorExecutor(CommandLineOptions options, IArtifactProcessingManager artifactProcessingManager)
Processors\CLIRunSettingsArgumentProcessor.cs (4)
33private readonly CommandLineOptions _commandLineOptions; 36public CliRunSettingsArgumentProcessor(CommandLineOptions commandLineOptions, IRunSettingsProvider runSettingsProvider, IRunSettingsHelper runSettingsHelper) 80private readonly CommandLineOptions _commandLineOptions; 83internal CliRunSettingsArgumentExecutor(IRunSettingsProvider runSettingsManager, CommandLineOptions commandLineOptions, IRunSettingsHelper runSettingsHelper)
Processors\DisableAutoFakesArgumentProcessor.cs (4)
20private readonly CommandLineOptions _commandLineOptions; 22public DisableAutoFakesArgumentProcessor(CommandLineOptions commandLineOptions) 53private readonly CommandLineOptions _commandLineOptions; 55public DisableAutoFakesArgumentExecutor(CommandLineOptions commandLineOptions)
Processors\EnableCodeCoverageArgumentProcessor.cs (4)
33private readonly CommandLineOptions _commandLineOptions; 35public EnableCodeCoverageArgumentProcessor(CommandLineOptions commandLineOptions, IRunSettingsProvider runSettingsProvider) 82private readonly CommandLineOptions _commandLineOptions; 172internal EnableCodeCoverageArgumentExecutor(CommandLineOptions options, IRunSettingsProvider runSettingsManager, IFileHelper fileHelper)
Processors\EnvironmentArgumentProcessor.cs (4)
32private readonly CommandLineOptions _commandLineOptions; 34public EnvironmentArgumentProcessor(CommandLineOptions commandLineOptions, IRunSettingsProvider runSettingsProvider) 77private readonly CommandLineOptions _commandLineOptions; 78public ArgumentExecutor(CommandLineOptions commandLineOptions, IRunSettingsProvider runSettingsProvider, IOutput output)
Processors\FrameworkArgumentProcessor.cs (4)
31private readonly CommandLineOptions _commandLineOptions; 33public FrameworkArgumentProcessor(CommandLineOptions commandLineOptions, IRunSettingsProvider runSettingsProvider) 81private readonly CommandLineOptions _commandLineOptions; 92public FrameworkArgumentExecutor(CommandLineOptions options, IRunSettingsProvider runSettingsManager)
Processors\InIsolationArgumentProcessor.cs (4)
27private readonly CommandLineOptions _commandLineOptions; 29public InIsolationArgumentProcessor(CommandLineOptions commandLineOptions, IRunSettingsProvider runSettingsProvider) 71private readonly CommandLineOptions _commandLineOptions; 81public InIsolationArgumentExecutor(CommandLineOptions options, IRunSettingsProvider runSettingsManager)
Processors\ListFullyQualifiedTestsArgumentProcessor.cs (7)
35private readonly CommandLineOptions _commandLineOptions; 38public ListFullyQualifiedTestsArgumentProcessor(CommandLineOptions commandLineOptions, IRunSettingsProvider runSettingsProvider, ITestRequestManager testRequestManager) 86private readonly CommandLineOptions _commandLineOptions; 122CommandLineOptions options, 139CommandLineOptions options, 208private readonly CommandLineOptions _options; 210public DiscoveryEventsRegistrar(List<string> discoveredTests, CommandLineOptions cmdOptions)
Processors\ListTestsArgumentProcessor.cs (5)
38private readonly CommandLineOptions _commandLineOptions; 41public ListTestsArgumentProcessor(CommandLineOptions commandLineOptions, IRunSettingsProvider runSettingsProvider, ITestRequestManager testRequestManager) 95private readonly CommandLineOptions _commandLineOptions; 126CommandLineOptions options, 143CommandLineOptions options,
Processors\ListTestsTargetPathArgumentProcessor.cs (4)
20private readonly CommandLineOptions _commandLineOptions; 22public ListTestsTargetPathArgumentProcessor(CommandLineOptions commandLineOptions) 62private readonly CommandLineOptions _commandLineOptions; 70public ListTestsTargetPathArgumentExecutor(CommandLineOptions options)
Processors\ParallelArgumentProcessor.cs (4)
26private readonly CommandLineOptions _commandLineOptions; 28public ParallelArgumentProcessor(CommandLineOptions commandLineOptions, IRunSettingsProvider runSettingsProvider) 76private readonly CommandLineOptions _commandLineOptions; 87public ParallelArgumentExecutor(CommandLineOptions options, IRunSettingsProvider runSettingsManager)
Processors\ParentProcessIdArgumentProcessor.cs (4)
24private readonly CommandLineOptions _commandLineOptions; 26public ParentProcessIdArgumentProcessor(CommandLineOptions commandLineOptions) 73private readonly CommandLineOptions _commandLineOptions; 81public ParentProcessIdArgumentExecutor(CommandLineOptions options)
Processors\PlatformArgumentProcessor.cs (4)
32private readonly CommandLineOptions _commandLineOptions; 35public PlatformArgumentProcessor(CommandLineOptions commandLineOptions, IRunSettingsProvider runSettingsProvider, IRunSettingsHelper runSettingsHelper) 83private readonly CommandLineOptions _commandLineOptions; 97public PlatformArgumentExecutor(CommandLineOptions options, IRunSettingsProvider runSettingsManager, IRunSettingsHelper runSettingsHelper)
Processors\PortArgumentProcessor.cs (6)
33private readonly CommandLineOptions _commandLineOptions; 36public PortArgumentProcessor(CommandLineOptions commandLineOptions, IRunSettingsHelper runSettingsHelper, ITestRequestManager testRequestManager) 84private readonly CommandLineOptions _commandLineOptions; 124public PortArgumentExecutor(CommandLineOptions options, ITestRequestManager testRequestManager, IRunSettingsHelper runSettingsHelper) 132internal PortArgumentExecutor(CommandLineOptions options, ITestRequestManager testRequestManager, IProcessHelper processHelper, IRunSettingsHelper runSettingsHelper) 140internal PortArgumentExecutor(CommandLineOptions options, ITestRequestManager testRequestManager, Func<int, IProcessHelper, IDesignModeClient> designModeInitializer, IProcessHelper processHelper, IRunSettingsHelper runSettingsHelper)
Processors\ResultsDirectoryArgumentProcessor.cs (4)
31private readonly CommandLineOptions _commandLineOptions; 33public ResultsDirectoryArgumentProcessor(CommandLineOptions commandLineOptions, IRunSettingsProvider runSettingsProvider) 84private readonly CommandLineOptions _commandLineOptions; 95public ResultsDirectoryArgumentExecutor(CommandLineOptions options, IRunSettingsProvider runSettingsManager)
Processors\RunSettingsArgumentProcessor.cs (4)
34private readonly CommandLineOptions _commandLineOptions; 37public RunSettingsArgumentProcessor(CommandLineOptions commandLineOptions, IRunSettingsProvider runSettingsProvider, IRunSettingsHelper runSettingsHelper) 80private readonly CommandLineOptions _commandLineOptions; 86internal RunSettingsArgumentExecutor(CommandLineOptions commandLineOptions, IRunSettingsProvider runSettingsManager, IRunSettingsHelper runSettingsHelper)
Processors\RunSpecificTestsArgumentProcessor.cs (6)
33private readonly CommandLineOptions _commandLineOptions; 36public RunSpecificTestsArgumentProcessor(CommandLineOptions commandLineOptions, IRunSettingsProvider runSettingsProvider, ITestRequestManager testRequestManager) 84private readonly CommandLineOptions _commandLineOptions; 140CommandLineOptions options, 335private readonly CommandLineOptions _commandLineOptions; 339public TestRunRequestEventsRegistrar(IOutput output, CommandLineOptions commandLineOptions, IArtifactProcessingManager artifactProcessingManager, IRunSettingsProvider runSettingsProvider)
Processors\RunTestsArgumentProcessor.cs (6)
29private readonly CommandLineOptions _commandLineOptions; 32public RunTestsArgumentProcessor(CommandLineOptions commandLineOptions, IRunSettingsProvider runSettingsProvider, ITestRequestManager testRequestManager) 81private readonly CommandLineOptions _commandLineOptions; 112CommandLineOptions commandLineOptions, 194private readonly CommandLineOptions _commandLineOptions; 198public TestRunRequestEventsRegistrar(IOutput output, CommandLineOptions commandLineOptions, IArtifactProcessingManager artifactProcessingManager, IRunSettingsProvider runSettingsProvider)
Processors\TestAdapterLoadingStrategyArgumentProcessor.cs (4)
33private readonly CommandLineOptions _commandLineOptions; 35public TestAdapterLoadingStrategyArgumentProcessor(CommandLineOptions commandLineOptions, IRunSettingsProvider runSettingsProvider) 88private readonly CommandLineOptions _commandLineOptions; 114public TestAdapterLoadingStrategyArgumentExecutor(CommandLineOptions options, IRunSettingsProvider runSettingsManager, IOutput output, IFileHelper fileHelper)
Processors\TestAdapterPathArgumentProcessor.cs (4)
33private readonly CommandLineOptions _commandLineOptions; 35public TestAdapterPathArgumentProcessor(CommandLineOptions commandLineOptions, IRunSettingsProvider runSettingsProvider) 87private readonly CommandLineOptions _commandLineOptions; 118public TestAdapterPathArgumentExecutor(CommandLineOptions options, IRunSettingsProvider runSettingsManager, IOutput output, IFileHelper fileHelper)
Processors\TestCaseFilterArgumentProcessor.cs (4)
25private readonly CommandLineOptions _commandLineOptions; 27public TestCaseFilterArgumentProcessor(CommandLineOptions commandLineOptions) 74private readonly CommandLineOptions _commandLineOptions; 82public TestCaseFilterArgumentExecutor(CommandLineOptions options)
Processors\TestSessionCorrelationIdProcessor.cs (4)
25private readonly CommandLineOptions _commandLineOptions; 27public TestSessionCorrelationIdProcessor(CommandLineOptions commandLineOptions) 72private readonly CommandLineOptions _commandLineOptions; 74public TestSessionCorrelationIdProcessorModeProcessorExecutor(CommandLineOptions options)
Processors\TestSourceArgumentProcessor.cs (4)
22private readonly CommandLineOptions _commandLineOptions; 24public TestSourceArgumentProcessor(CommandLineOptions commandLineOptions) 68private readonly CommandLineOptions _testSources; 76public TestSourceArgumentExecutor(CommandLineOptions testSources)
Processors\UseVsixExtensionsArgumentProcessor.cs (4)
28private readonly CommandLineOptions _commandLineOptions; 31public UseVsixExtensionsArgumentProcessor(CommandLineOptions commandLineOptions, ITestRequestManager testRequestManager) 77private readonly CommandLineOptions _commandLineOptions; 82internal UseVsixExtensionsArgumentExecutor(CommandLineOptions commandLineOptions, ITestRequestManager testRequestManager, IVSExtensionManager extensionManager, IOutput output)
Processors\Utilities\ArgumentProcessorFactory.cs (2)
75internal static ArgumentProcessorFactory Create(IFeatureFlag? featureFlag = null, IRunSettingsProvider? runSettingsProvider = null, IRunSettingsHelper? runSettingsHelper = null, CommandLineOptions? commandLineOptions = null, ITestRequestManager? testRequestManager = null) 215private static IList<IArgumentProcessor> GetDefaultArgumentProcessors(IRunSettingsProvider runSettingsProvider, IRunSettingsHelper runSettingsHelper, CommandLineOptions commandLineOptions, ITestRequestManager testRequestManager) => new List<IArgumentProcessor> {
TestPlatformHelpers\TestRequestManager.cs (6)
59private readonly CommandLineOptions _commandLineOptions; 94internal TestRequestManager(CommandLineOptions commandLineOptions, TestRunResultAggregator testRunResultAggregator) 113CommandLineOptions commandLineOptions, 139CommandLineOptions commandLineOptions, 915CommandLineOptions.DefaultDiscoveryBatchSize); 1433/// injected dependencies (here: the parsed <see cref="CommandLineOptions"/>) instead of reaching