use of org.sonar.scanner.protocol.output.ScannerReport.Component.ComponentType in project sonarqube by SonarSource.
the class BuildComponentTreeStepTest method allComponentTypes.
@DataProvider
public static Object[][] allComponentTypes() {
Object[][] res = new Object[ComponentType.values().length - 2][1];
int i = 0;
for (ComponentType componentType : from(asList(ComponentType.values())).filter(not(in(asList(UNSET, UNRECOGNIZED))))) {
res[i][0] = componentType;
i++;
}
return res;
}
Aggregations