Search in sources :

Example 6 with LocalMessageDispatcherImpl

use of jetbrains.communicator.core.impl.dispatcher.LocalMessageDispatcherImpl in project intellij-plugins by JetBrains.

the class EventsProcessorTest method setUp.

@Override
protected void setUp() throws Exception {
    super.setUp();
    myUserModel = new UserModelImpl(getBroadcaster());
    disposeOnTearDown(myUserModel);
    myMock = mock(IDEtalkMessagesWindow.class);
    LocalMessageDispatcherImpl localMessageDispatcher = new LocalMessageDispatcherImpl(getBroadcaster(), new MockIDEFacade(getClass()), myUserModel);
    disposeOnTearDown(localMessageDispatcher);
    EventsProcessor processor = new EventsProcessor((IDEtalkMessagesWindow) myMock.proxy(), myUserModel, localMessageDispatcher, null);
    disposeOnTearDown(processor);
}
Also used : MockIDEFacade(jetbrains.communicator.mock.MockIDEFacade) LocalMessageDispatcherImpl(jetbrains.communicator.core.impl.dispatcher.LocalMessageDispatcherImpl) UserModelImpl(jetbrains.communicator.core.impl.users.UserModelImpl) IDEtalkMessagesWindow(jetbrains.communicator.idea.IDEtalkMessagesWindow)

Aggregations

LocalMessageDispatcherImpl (jetbrains.communicator.core.impl.dispatcher.LocalMessageDispatcherImpl)6 MockIDEFacade (jetbrains.communicator.mock.MockIDEFacade)6 UserModelImpl (jetbrains.communicator.core.impl.users.UserModelImpl)3 Tree (com.intellij.ui.treeStructure.Tree)2 ConsoleView (com.intellij.execution.ui.ConsoleView)1 Project (com.intellij.openapi.project.Project)1 TreePath (javax.swing.tree.TreePath)1 SettingsChanged (jetbrains.communicator.core.users.SettingsChanged)1 User (jetbrains.communicator.core.users.User)1 IDEtalkMessagesWindow (jetbrains.communicator.idea.IDEtalkMessagesWindow)1 MockUser (jetbrains.communicator.mock.MockUser)1 Mock (org.jmock.Mock)1