use of it.plugins.checks.Check in project sonarqube by SonarSource.
the class PluginsTest method analysis_of_project_with_all_supported_languages.
@Test
public void analysis_of_project_with_all_supported_languages() {
SonarScanner analysis = newAnalysis();
BuildResult result = ORCHESTRATOR.executeBuildQuietly(analysis);
if (result.getLastStatus() != 0) {
fail(result.getLogs());
}
for (Check check : CHECKS) {
System.out.println(check.getClass().getSimpleName() + "...");
check.validate(new Validation(ORCHESTRATOR, errorCollector));
}
}
Aggregations