Search in sources :

Example 1 with ReportModulesPath

use of org.sonar.ce.task.projectanalysis.component.ReportModulesPath in project sonarqube by SonarSource.

the class ProjectTrackerBaseLazyInputTest method prepare.

@Before
public void prepare() {
    rule = dbTester.rules().insert();
    ruleRepositoryRule.add(rule.getKey());
    rootProjectDto = dbTester.components().insertPublicProject();
    ReportComponent rootProject = ReportComponent.builder(Component.Type.FILE, 1).setKey(rootProjectDto.getDbKey()).setUuid(rootProjectDto.uuid()).build();
    reportModulesPath = mock(ReportModulesPath.class);
    underTest = new ProjectTrackerBaseLazyInput(analysisMetadataHolder, mock(ComponentsWithUnprocessedIssues.class), dbClient, new IssueFieldsSetter(), issuesLoader, reportModulesPath, rootProject);
}
Also used : IssueFieldsSetter(org.sonar.server.issue.IssueFieldsSetter) ReportModulesPath(org.sonar.ce.task.projectanalysis.component.ReportModulesPath) ReportComponent(org.sonar.ce.task.projectanalysis.component.ReportComponent) Before(org.junit.Before)

Aggregations

Before (org.junit.Before)1 ReportComponent (org.sonar.ce.task.projectanalysis.component.ReportComponent)1 ReportModulesPath (org.sonar.ce.task.projectanalysis.component.ReportModulesPath)1 IssueFieldsSetter (org.sonar.server.issue.IssueFieldsSetter)1