Package org.waveprotocol.wave.model.document.util

Examples of org.waveprotocol.wave.model.document.util.ListenerRegistration.detach()


    ListenerRegistration secondReg = router.addAttributeListener(new DummyElm(),
        mock(AttributeListener.class));
    assertEquals(1, docListeners.size());
    firstReg.detach();
    assertEquals(1, docListeners.size());
    secondReg.detach();
    assertEquals(0, docListeners.size());
  }

  /**
   * Test that removing a node removes all associated listeners and, if possible,
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.