public TestMethodResolver([Import(typeof(SVsServiceProvider))] IServiceProvider serviceProvider, [Import] TestContainerDiscoverer discoverer) { _serviceProvider = serviceProvider; _discoverer = discoverer; _interpreterService = ((IComponentModel)_serviceProvider.GetService(typeof(SComponentModel))).GetService <IInterpreterOptionsService>(); }
public ProjectInfo(TestContainerDiscoverer discoverer, PythonProject project) { _project = project; _discoverer = discoverer; _containers = new Dictionary <string, TestContainer>(StringComparer.OrdinalIgnoreCase); project.ProjectAnalyzerChanged += ProjectAnalyzerChanged; RegisterWithAnalyzer(); }
public ProjectInfo(TestContainerDiscoverer discoverer, PythonProject project) { _project = project; _discoverer = discoverer; _containers = new Dictionary <string, TestContainer>(StringComparer.OrdinalIgnoreCase); _pendingRequests = new List <string>(); project.ProjectAnalyzerChanged += ProjectAnalyzerChanged; RegisterWithAnalyzerAsync().HandleAllExceptions(_discoverer._serviceProvider, GetType()).DoNotWait(); }
public ProjectInfo(IVsProject project, TestContainerDiscoverer discoverer, MSBuildProjectInterpreterFactoryProvider factoryProvider) { Project = project; Discoverer = discoverer; FactoryProvider = factoryProvider; ActiveInterpreter = FactoryProvider.ActiveInterpreter; Attach(); HookNewDatabaseAvailable(); }
public ProjectInfo(IVsProject project, TestContainerDiscoverer discoverer /*, MSBuildProjectInterpreterFactoryProvider factoryProvider*/) { Project = project; IProjectInterpreterDbChanged dbChanged = Project as IProjectInterpreterDbChanged; if (dbChanged != null) { dbChanged.InterpreterDbChanged += DatabaseChanged; } Discoverer = discoverer; }
public TestMethodResolver([Import(typeof(SVsServiceProvider))] IServiceProvider serviceProvider, [Import] TestContainerDiscoverer discoverer) { _serviceProvider = serviceProvider; _discoverer = discoverer; }
public ProjectInfo(TestContainerDiscoverer discoverer, PythonProject project) { _project = project; _discoverer = discoverer; _containers = new Dictionary<string, TestContainer>(StringComparer.OrdinalIgnoreCase); project.ProjectAnalyzerChanged += ProjectAnalyzerChanged; RegisterWithAnalyzer(); }
public ProjectInfo(IVsProject project, TestContainerDiscoverer discoverer/*, MSBuildProjectInterpreterFactoryProvider factoryProvider*/) { Project = project; IProjectInterpreterDbChanged dbChanged = Project as IProjectInterpreterDbChanged; if (dbChanged != null) { dbChanged.InterpreterDbChanged += DatabaseChanged; } Discoverer = discoverer; }
public TestMethodResolver([Import(typeof(SVsServiceProvider))]IServiceProvider serviceProvider, [Import]TestContainerDiscoverer discoverer) { _serviceProvider = serviceProvider; _discoverer = discoverer; _interpreterService = ((IComponentModel)_serviceProvider.GetService(typeof(SComponentModel))).GetService<IInterpreterOptionsService>(); }
public TestMethodResolver([Import(typeof(SVsServiceProvider))]IServiceProvider serviceProvider, [Import]TestContainerDiscoverer discoverer) { _serviceProvider = serviceProvider; _discoverer = discoverer; }