use of org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl in project sonarlint-core by SonarSource.
the class OrganizationTest method start.
@Before
public void start() {
FileUtils.deleteQuietly(sonarUserHome.toFile());
engineOnTestOrg = new ConnectedSonarLintEngineImpl(ConnectedGlobalConfiguration.builder().setServerId("orchestrator-test-org").setSonarLintUserHome(sonarUserHome).setLogOutput((msg, level) -> System.out.println(msg)).build());
engineOnDefaultOrg = new ConnectedSonarLintEngineImpl(ConnectedGlobalConfiguration.builder().setServerId("orchestrator-default-org").setSonarLintUserHome(sonarUserHome).setLogOutput((msg, level) -> System.out.println(msg)).build());
assertThat(engineOnTestOrg.getGlobalStorageStatus()).isNull();
assertThat(engineOnTestOrg.getState()).isEqualTo(State.NEVER_UPDATED);
}
Aggregations