Package org.sonar.plugins.surefire.api
Class SurefireUtils
- java.lang.Object
-
- org.sonar.plugins.surefire.api.SurefireUtils
-
public final class SurefireUtils extends Object
- Since:
- 2.4
-
-
Field Summary
Fields Modifier and Type Field Description static StringSUREFIRE_REPORT_PATHS_PROPERTY
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<File>getReportsDirectories(org.sonar.api.config.Configuration settings, org.sonar.api.batch.fs.FileSystem fs, org.sonar.api.scan.filesystem.PathResolver pathResolver)Find the directories containing the surefire reports.
-
-
-
Field Detail
-
SUREFIRE_REPORT_PATHS_PROPERTY
public static final String SUREFIRE_REPORT_PATHS_PROPERTY
- Since:
- 4.11
- See Also:
- Constant Field Values
-
-
Method Detail
-
getReportsDirectories
public static List<File> getReportsDirectories(org.sonar.api.config.Configuration settings, org.sonar.api.batch.fs.FileSystem fs, org.sonar.api.scan.filesystem.PathResolver pathResolver)
Find the directories containing the surefire reports.- Parameters:
settings- Analysis settings.fs- FileSystem containing indexed files.pathResolver- Path solver.- Returns:
- The directories containing the surefire reports or default one (target/surefire-reports) if not found (not configured or not found).
-
-