Package org.waveprotocol.wave.model.conversation

Examples of org.waveprotocol.wave.model.conversation.ConversationThread.appendBlip()


   */
  public void testNestedThreadReading() throws Exception {
    ConversationBlip rb1 = rootThread.appendBlip();
    ConversationThread t1 = rb1.addReplyThread(0);
    t1.appendBlip();
    t1.appendBlip();

    ConversationBlip rb2 = rootThread.appendBlip();
    ConversationThread t2 = rb2.addReplyThread(0);
    t2.appendBlip();
    ConversationBlip t2b2 = t2.appendBlip();
View Full Code Here


    t1.appendBlip();
    t1.appendBlip();

    ConversationBlip rb2 = rootThread.appendBlip();
    ConversationThread t2 = rb2.addReplyThread(0);
    t2.appendBlip();
    ConversationBlip t2b2 = t2.appendBlip();

    ConversationThread t3 = t2b2.addReplyThread();
    ConversationBlip t3b1 = t3.appendBlip();
View Full Code Here

    t1.appendBlip();

    ConversationBlip rb2 = rootThread.appendBlip();
    ConversationThread t2 = rb2.addReplyThread(0);
    t2.appendBlip();
    ConversationBlip t2b2 = t2.appendBlip();

    ConversationThread t3 = t2b2.addReplyThread();
    ConversationBlip t3b1 = t3.appendBlip();

    supplementedWave.markAsRead(t3b1);
View Full Code Here

    ConversationThread t2 = rb2.addReplyThread(0);
    t2.appendBlip();
    ConversationBlip t2b2 = t2.appendBlip();

    ConversationThread t3 = t2b2.addReplyThread();
    ConversationBlip t3b1 = t3.appendBlip();

    supplementedWave.markAsRead(t3b1);

    assertEquals(0, monitor.getReadCount(t1));
    assertEquals(2, monitor.getUnreadCount(t1));
View Full Code Here

   * unread blips is deleted.
   */
  public void testNestedThreadWithDeleteReading() throws Exception {
    ConversationBlip rb1 = rootThread.appendBlip();
    ConversationThread t1 = rb1.addReplyThread(0);
    t1.appendBlip();
    ConversationBlip t1b2 = t1.appendBlip();

    ConversationBlip rb2 = rootThread.appendBlip();
    ConversationThread t2 = rb2.addReplyThread(0);
    t2.appendBlip();
View Full Code Here

   */
  public void testNestedThreadWithDeleteReading() throws Exception {
    ConversationBlip rb1 = rootThread.appendBlip();
    ConversationThread t1 = rb1.addReplyThread(0);
    t1.appendBlip();
    ConversationBlip t1b2 = t1.appendBlip();

    ConversationBlip rb2 = rootThread.appendBlip();
    ConversationThread t2 = rb2.addReplyThread(0);
    t2.appendBlip();
    ConversationBlip t2b2 = t2.appendBlip();
View Full Code Here

    t1.appendBlip();
    ConversationBlip t1b2 = t1.appendBlip();

    ConversationBlip rb2 = rootThread.appendBlip();
    ConversationThread t2 = rb2.addReplyThread(0);
    t2.appendBlip();
    ConversationBlip t2b2 = t2.appendBlip();

    ConversationThread t3 = t2b2.addReplyThread();
    t3.appendBlip();
    ConversationBlip t3b1 = t3.appendBlip();
View Full Code Here

    ConversationBlip t1b2 = t1.appendBlip();

    ConversationBlip rb2 = rootThread.appendBlip();
    ConversationThread t2 = rb2.addReplyThread(0);
    t2.appendBlip();
    ConversationBlip t2b2 = t2.appendBlip();

    ConversationThread t3 = t2b2.addReplyThread();
    t3.appendBlip();
    ConversationBlip t3b1 = t3.appendBlip();
View Full Code Here

    ConversationThread t2 = rb2.addReplyThread(0);
    t2.appendBlip();
    ConversationBlip t2b2 = t2.appendBlip();

    ConversationThread t3 = t2b2.addReplyThread();
    t3.appendBlip();
    ConversationBlip t3b1 = t3.appendBlip();

    supplementedWave.markAsRead(t3b1);
    supplementedWave.markAsRead(t1b2);
    t2b2.delete();
View Full Code Here

    t2.appendBlip();
    ConversationBlip t2b2 = t2.appendBlip();

    ConversationThread t3 = t2b2.addReplyThread();
    t3.appendBlip();
    ConversationBlip t3b1 = t3.appendBlip();

    supplementedWave.markAsRead(t3b1);
    supplementedWave.markAsRead(t1b2);
    t2b2.delete();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.