Search in sources :

Example 1 with BatchIdGenerator

use of org.sonar.scanner.scan.filesystem.BatchIdGenerator 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);
}
Also used : InputComponentStore(org.sonar.scanner.scan.filesystem.InputComponentStore) BatchIdGenerator(org.sonar.scanner.scan.filesystem.BatchIdGenerator) PathResolver(org.sonar.api.scan.filesystem.PathResolver) Before(org.junit.Before)

Aggregations

Before (org.junit.Before)1 PathResolver (org.sonar.api.scan.filesystem.PathResolver)1 BatchIdGenerator (org.sonar.scanner.scan.filesystem.BatchIdGenerator)1 InputComponentStore (org.sonar.scanner.scan.filesystem.InputComponentStore)1