use of org.sonarlint.intellij.util.GlobalLogOutput in project sonarlint-intellij by SonarSource.
the class UpdateCheckerTest method before.
@Before
public void before() throws InvalidBindingException {
MockitoAnnotations.initMocks(this);
settings = new SonarLintProjectSettings();
settings.setProjectKey("key");
settings.setServerId("serverId");
server = createServer();
super.register(app, SonarApplication.class, mock(SonarApplication.class));
super.register(app, GlobalLogOutput.class, new GlobalLogOutput(mock(ProjectManager.class)));
when(bindingManager.getSonarQubeServer()).thenReturn(server);
when(bindingManager.getConnectedEngine()).thenReturn(engine);
updateChecker = new UpdateChecker(project, bindingManager, settings, notifications);
}
Aggregations