public void ProcessFile(IFile psiFile, IUnitTestElementsObserver observer, Func <bool> interrupted) { var factory = new UnitTestElementFactory(); var explorer = new FileExplorer(factory, observer, interrupted); psiFile.ProcessDescendants(explorer); }
public FileExplorer(UnitTestElementFactory factory, IUnitTestElementsObserver observer, Func <bool> interrupted) { _factory = factory; _observer = observer; _factory = factory; _observer = observer; _interrupted = interrupted; }
protected override void ProcessProject(IProject project, FileSystemPath assemblyPath, MetadataLoader loader, IUnitTestElementsObserver observer, CancellationToken token) { var factory = new UnitTestElementFactory(); var explorer = new MetadataExplorer(factory, observer); void ExploreAction(IMetadataAssembly assembly) => explorer.ExploreAssembly(project, assembly, token); MetadataElementsSource.ExploreProject(project, assemblyPath, loader, observer, _logger, token, ExploreAction); }
public MetadataExplorer(UnitTestElementFactory factory, IUnitTestElementsObserver observer) { _factory = factory; _observer = observer; }
public UnitTestElementMapperFactory(UnitTestElementFactory elementFactory) { _elementFactory = elementFactory; }
public UnitTestElementMapper(IProject project, TargetFrameworkId targetFrameworkId, UnitTestElementFactory elementFactory) : base(project, targetFrameworkId) { _elementFactory = elementFactory; }