use of org.sonar.scanner.scan.filesystem.InputComponentStore in project sonarqube by SonarSource.
the class DefaultPostJobContextTest method prepare.
@Before
public void prepare() {
issueCache = mock(IssueCache.class);
componentStore = new InputComponentStore(new PathResolver());
settings = new MapSettings();
analysisMode = mock(AnalysisMode.class);
context = new DefaultPostJobContext(settings, issueCache, componentStore, analysisMode);
}
use of org.sonar.scanner.scan.filesystem.InputComponentStore in project sonarqube by SonarSource.
the class ModuleIndexerTest method setUp.
@Before
public void setUp() {
reactor = mock(ImmutableProjectReactor.class);
componentStore = new InputComponentStore(new PathResolver());
tree = new DefaultComponentTree();
moduleHierarchy = new DefaultInputModuleHierarchy();
indexer = new ModuleIndexer(reactor, tree, componentStore, new BatchIdGenerator(), moduleHierarchy);
}
Aggregations