private void logServerType(ScannerEngineFacade engine) {
if (engine.isSonarCloud()) {
- logger.info("Analyzing on SonarCloud");
+ logger.info("Communicating with SonarCloud");
} else {
String serverVersion = engine.getServerVersion();
- logger.info(String.format("Analyzing on SonarQube server %s", serverVersion));
+ logger.info(String.format("Communicating with SonarQube Server %s", serverVersion));
}
}
Main main = new Main(exit, cli, conf, scannerEngineBootstrapperFactory, logs);
main.analyze();
- verify(logs).info("Analyzing on SonarQube server 5.5");
+ verify(logs).info("Communicating with SonarQube Server 5.5");
}
@Test
Main main = new Main(exit, cli, conf, scannerEngineBootstrapperFactory, logs);
main.analyze();
- verify(logs).info("Analyzing on SonarCloud");
+ verify(logs).info("Communicating with SonarCloud");
}
@Test