Search in sources :

Example 1 with SendCodePointerEvent

use of jetbrains.communicator.ide.SendCodePointerEvent in project intellij-plugins by JetBrains.

the class IDEAFacadeTest method testCreateLocalMessage_OutgoingCodePointer.

public void testCreateLocalMessage_OutgoingCodePointer() throws Exception {
    SendCodePointerEvent event = new SendCodePointerEvent("message", VFile.create("a path"), new CodePointer(3, 4), myUser);
    LocalMessage outgoingEvent = myFacade.createLocalMessageForOutgoingEvent(event);
    assertTrue(outgoingEvent instanceof OutgoingCodePointerLocalMessage);
}
Also used : IncomingLocalMessage(jetbrains.communicator.idea.sendMessage.IncomingLocalMessage) LocalMessage(jetbrains.communicator.core.dispatcher.LocalMessage) CodePointer(jetbrains.communicator.core.vfs.CodePointer) SendCodePointerEvent(jetbrains.communicator.ide.SendCodePointerEvent)

Aggregations

LocalMessage (jetbrains.communicator.core.dispatcher.LocalMessage)1 CodePointer (jetbrains.communicator.core.vfs.CodePointer)1 SendCodePointerEvent (jetbrains.communicator.ide.SendCodePointerEvent)1 IncomingLocalMessage (jetbrains.communicator.idea.sendMessage.IncomingLocalMessage)1