use of org.sonar.scanner.protocol.output.FileStructure in project sonarqube by SonarSource.
the class ReportIteratorTest method setUp.
@Before
public void setUp() throws Exception {
File dir = temp.newFolder();
ScannerReportWriter writer = new ScannerReportWriter(dir);
writer.writeComponentCoverage(1, newArrayList(ScannerReport.LineCoverage.newBuilder().setLine(1).build()));
file = new FileStructure(dir).fileFor(FileStructure.Domain.COVERAGES, 1);
}
use of org.sonar.scanner.protocol.output.FileStructure in project sonarqube by SonarSource.
the class ReportIteratorTest method setUp.
@Before
public void setUp() throws Exception {
File dir = temp.newFolder();
ScannerReportWriter writer = new ScannerReportWriter(dir);
writer.writeComponentCoverage(1, newArrayList(ScannerReport.LineCoverage.newBuilder().setLine(1).build()));
file = new FileStructure(dir).fileFor(FileStructure.Domain.COVERAGES, 1);
}
Aggregations