use of org.sonarsource.sonarlint.core.commons.log.ClientLogOutput in project sonarlint-core by SonarSource.
the class StandaloneNoPluginMediumTests method prepare.
@BeforeEach
void prepare() throws IOException {
ClientLogOutput logOutput = (msg, level) -> logs.put(level, msg);
sonarlint = new StandaloneSonarLintEngineImpl(StandaloneGlobalConfiguration.builder().setLogOutput(logOutput).setModulesProvider(() -> List.of(new ClientModuleInfo("key", mock(ClientModuleFileSystem.class)))).build());
}
Aggregations