Package jetbrains.communicator.p2p.commands

Examples of jetbrains.communicator.p2p.commands.P2PNetworkMessage


    assertEquals(1, myDispatcher.getPendingMessages(myUser).length);
  }

  public void testPersistency() throws Exception {
    Message failedMessage = new P2PNetworkMessage("foo", "foo2", new String[]{"test"});
    myDispatcher.performDispatch(myUser, failedMessage);
    myDispatcher.save();

    AbstractMessageDispatcher dispatcher = createDispatcher();
    assertEquals("queue should persist", 1, dispatcher.getPendingMessages(myUser).length);
View Full Code Here

TOP

Related Classes of jetbrains.communicator.p2p.commands.P2PNetworkMessage

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.