use of org.jacoco.report.MultiSourceFileLocator in project buck by facebook.
the class ReportGenerator method createSourceFileLocator.
private ISourceFileLocator createSourceFileLocator() {
final MultiSourceFileLocator result = new MultiSourceFileLocator(TAB_WIDTH);
String[] sourceDirectoryPaths = sourcesPath.split(":");
for (String sourceDirectoryPath : sourceDirectoryPaths) {
File sourceDirectory = new File(sourceDirectoryPath);
result.add(new DirectorySourceFileLocator(sourceDirectory, "utf-8", TAB_WIDTH));
}
return result;
}
Aggregations