1 instantiation of CommandLineOptions
vstest.console (1)
CommandLine\CommandLineOptions.cs (1)
59=> s_instance ??= new CommandLineOptions();
102 references to CommandLineOptions
vstest.console (102)
CommandLine\CommandLineOptions.cs (2)
47private static CommandLineOptions? s_instance; 58internal static CommandLineOptions Instance
CommandLine\GenerateFakesUtilities.cs (1)
14internal static string GenerateFakesSettings(CommandLineOptions? commandLineOptions, IEnumerable<string> sources, string runSettingsXml)
Internal\ConsoleLogger.cs (3)
418Output.WriteLine(string.Format(CultureInfo.CurrentCulture, CommandLineResources.TestSourcesDiscovered, CommandLineOptions.Instance.Sources.Count()), OutputLevel.Information); 421foreach (var source in CommandLineOptions.Instance.Sources) 687CommandLineOptions.Instance.TestSessionCorrelationId is null)
Processors\ArtifactProcessingCollectModeProcessor.cs (3)
37new ArtifactProcessingCollectModeProcessorExecutor(CommandLineOptions.Instance)); 71private readonly CommandLineOptions _commandLineOptions; 73public ArtifactProcessingCollectModeProcessorExecutor(CommandLineOptions options)
Processors\ArtifactProcessingPostProcessModeProcessor.cs (4)
41new ArtifactProcessingPostProcessModeProcessorExecutor(CommandLineOptions.Instance, 42new ArtifactProcessingManager(CommandLineOptions.Instance.TestSessionCorrelationId))); 74private readonly CommandLineOptions _commandLineOptions; 77public ArtifactProcessingPostProcessModeProcessorExecutor(CommandLineOptions options, IArtifactProcessingManager artifactProcessingManager)
Processors\CLIRunSettingsArgumentProcessor.cs (3)
46new CliRunSettingsArgumentExecutor(RunSettingsManager.Instance, CommandLineOptions.Instance)); 70private readonly CommandLineOptions _commandLineOptions; 72internal CliRunSettingsArgumentExecutor(IRunSettingsProvider runSettingsManager, CommandLineOptions commandLineOptions)
Processors\DisableAutoFakesArgumentProcessor.cs (3)
24new DisableAutoFakesArgumentExecutor(CommandLineOptions.Instance)); 47private readonly CommandLineOptions _commandLineOptions; 49public DisableAutoFakesArgumentExecutor(CommandLineOptions commandLineOptions)
Processors\EnableCodeCoverageArgumentProcessor.cs (3)
46new EnableCodeCoverageArgumentExecutor(CommandLineOptions.Instance, RunSettingsManager.Instance, new FileHelper())); 74private readonly CommandLineOptions _commandLineOptions; 161internal EnableCodeCoverageArgumentExecutor(CommandLineOptions options, IRunSettingsProvider runSettingsManager, IFileHelper fileHelper)
Processors\EnvironmentArgumentProcessor.cs (3)
35new ArgumentExecutor(CommandLineOptions.Instance, RunSettingsManager.Instance, ConsoleOutput.Instance)); 69private readonly CommandLineOptions _commandLineOptions; 70public ArgumentExecutor(CommandLineOptions commandLineOptions, IRunSettingsProvider runSettingsProvider, IOutput output)
Processors\FrameworkArgumentProcessor.cs (3)
44new FrameworkArgumentExecutor(CommandLineOptions.Instance, RunSettingsManager.Instance)); 73private readonly CommandLineOptions _commandLineOptions; 84public FrameworkArgumentExecutor(CommandLineOptions options, IRunSettingsProvider runSettingsManager)
Processors\InIsolationArgumentProcessor.cs (3)
40new InIsolationArgumentExecutor(CommandLineOptions.Instance, RunSettingsManager.Instance)); 63private readonly CommandLineOptions _commandLineOptions; 73public InIsolationArgumentExecutor(CommandLineOptions options, IRunSettingsProvider runSettingsManager)
Processors\ListFullyQualifiedTestsArgumentProcessor.cs (6)
50CommandLineOptions.Instance, 77private readonly CommandLineOptions _commandLineOptions; 113CommandLineOptions options, 130CommandLineOptions options, 199private readonly CommandLineOptions _options; 201public DiscoveryEventsRegistrar(List<string> discoveredTests, CommandLineOptions cmdOptions)
Processors\ListTestsArgumentProcessor.cs (4)
53CommandLineOptions.Instance, 86private readonly CommandLineOptions _commandLineOptions; 117CommandLineOptions options, 134CommandLineOptions options,
Processors\ListTestsTargetPathArgumentProcessor.cs (3)
34new ListTestsTargetPathArgumentExecutor(CommandLineOptions.Instance)); 56private readonly CommandLineOptions _commandLineOptions; 64public ListTestsTargetPathArgumentExecutor(CommandLineOptions options)
Processors\ParallelArgumentProcessor.cs (3)
39new ParallelArgumentExecutor(CommandLineOptions.Instance, RunSettingsManager.Instance)); 68private readonly CommandLineOptions _commandLineOptions; 79public ParallelArgumentExecutor(CommandLineOptions options, IRunSettingsProvider runSettingsManager)
Processors\ParentProcessIdArgumentProcessor.cs (3)
38new ParentProcessIdArgumentExecutor(CommandLineOptions.Instance)); 67private readonly CommandLineOptions _commandLineOptions; 75public ParentProcessIdArgumentExecutor(CommandLineOptions options)
Processors\PlatformArgumentProcessor.cs (3)
45new PlatformArgumentExecutor(CommandLineOptions.Instance, RunSettingsManager.Instance)); 73private readonly CommandLineOptions _commandLineOptions; 84public PlatformArgumentExecutor(CommandLineOptions options, IRunSettingsProvider runSettingsManager)
Processors\PortArgumentProcessor.cs (5)
46new PortArgumentExecutor(CommandLineOptions.Instance, TestRequestManager.Instance)); 75private readonly CommandLineOptions _commandLineOptions; 104public PortArgumentExecutor(CommandLineOptions options, ITestRequestManager testRequestManager) 112internal PortArgumentExecutor(CommandLineOptions options, ITestRequestManager testRequestManager, IProcessHelper processHelper) 120internal PortArgumentExecutor(CommandLineOptions options, ITestRequestManager testRequestManager, Func<int, IProcessHelper, IDesignModeClient> designModeInitializer, IProcessHelper processHelper)
Processors\ResultsDirectoryArgumentProcessor.cs (3)
44new ResultsDirectoryArgumentExecutor(CommandLineOptions.Instance, RunSettingsManager.Instance)); 76private readonly CommandLineOptions _commandLineOptions; 87public ResultsDirectoryArgumentExecutor(CommandLineOptions options, IRunSettingsProvider runSettingsManager)
Processors\RunSettingsArgumentProcessor.cs (3)
47new RunSettingsArgumentExecutor(CommandLineOptions.Instance, RunSettingsManager.Instance)); 70private readonly CommandLineOptions _commandLineOptions; 75internal RunSettingsArgumentExecutor(CommandLineOptions commandLineOptions, IRunSettingsProvider runSettingsManager)
Processors\RunSpecificTestsArgumentProcessor.cs (7)
42CommandLineOptions.Instance, 45new ArtifactProcessingManager(CommandLineOptions.Instance.TestSessionCorrelationId), 75private readonly CommandLineOptions _commandLineOptions; 131CommandLineOptions options, 326private readonly CommandLineOptions _commandLineOptions; 329public TestRunRequestEventsRegistrar(IOutput output, CommandLineOptions commandLineOptions, IArtifactProcessingManager artifactProcessingManager) 365if (!testsFoundInAnySource && !CommandLineOptions.Instance.TestAdapterPathsSet && _commandLineOptions.TestCaseFilterValue == null)
Processors\RunTestsArgumentProcessor.cs (7)
38CommandLineOptions.Instance, 41new ArtifactProcessingManager(CommandLineOptions.Instance.TestSessionCorrelationId), 72private readonly CommandLineOptions _commandLineOptions; 103CommandLineOptions commandLineOptions, 185private readonly CommandLineOptions _commandLineOptions; 188public TestRunRequestEventsRegistrar(IOutput output, CommandLineOptions commandLineOptions, IArtifactProcessingManager artifactProcessingManager) 225if (!testsFoundInAnySource && !CommandLineOptions.Instance.TestAdapterPathsSet && _commandLineOptions.TestCaseFilterValue == null)
Processors\TestAdapterLoadingStrategyArgumentProcessor.cs (3)
46new TestAdapterLoadingStrategyArgumentExecutor(CommandLineOptions.Instance, RunSettingsManager.Instance, ConsoleOutput.Instance, new FileHelper())); 80private readonly CommandLineOptions _commandLineOptions; 106public TestAdapterLoadingStrategyArgumentExecutor(CommandLineOptions options, IRunSettingsProvider runSettingsManager, IOutput output, IFileHelper fileHelper)
Processors\TestAdapterPathArgumentProcessor.cs (3)
46new TestAdapterPathArgumentExecutor(CommandLineOptions.Instance, RunSettingsManager.Instance, 79private readonly CommandLineOptions _commandLineOptions; 110public TestAdapterPathArgumentExecutor(CommandLineOptions options, IRunSettingsProvider runSettingsManager, IOutput output, IFileHelper fileHelper)
Processors\TestCaseFilterArgumentProcessor.cs (3)
39new TestCaseFilterArgumentExecutor(CommandLineOptions.Instance)); 68private readonly CommandLineOptions _commandLineOptions; 76public TestCaseFilterArgumentExecutor(CommandLineOptions options)
Processors\TestSessionCorrelationIdProcessor.cs (3)
39new TestSessionCorrelationIdProcessorModeProcessorExecutor(CommandLineOptions.Instance)); 66private readonly CommandLineOptions _commandLineOptions; 68public TestSessionCorrelationIdProcessorModeProcessorExecutor(CommandLineOptions options)
Processors\TestSourceArgumentProcessor.cs (3)
36new TestSourceArgumentExecutor(CommandLineOptions.Instance)); 62private readonly CommandLineOptions _testSources; 70public TestSourceArgumentExecutor(CommandLineOptions testSources)
Processors\UseVsixExtensionsArgumentProcessor.cs (3)
43new UseVsixExtensionsArgumentExecutor(CommandLineOptions.Instance, TestRequestManager.Instance, new VSExtensionManager(), ConsoleOutput.Instance)); 70private readonly CommandLineOptions _commandLineOptions; 75internal UseVsixExtensionsArgumentExecutor(CommandLineOptions commandLineOptions, ITestRequestManager testRequestManager, IVSExtensionManager extensionManager, IOutput output)
TestPlatformHelpers\TestRequestManager.cs (6)
62private readonly CommandLineOptions _commandLineOptions; 100CommandLineOptions.Instance, 107CommandLineOptions.Instance.IsDesignMode), 116CommandLineOptions commandLineOptions, 164CommandLineOptions.Reset(); 1031CommandLineOptions.DefaultDiscoveryBatchSize);