[sc1.0-cvs] CVS update: /sip-communicator-1-0-draft/test/net/java/sip/communicator/slick/contactlist/mockprovider/

emcho at dev.java.net emcho at dev.java.net
Mon Feb 20 16:44:37 CET 2006


User: emcho   
Date: 2006/02/20 07:44:37

Log:
 Augmented time between changes of states in unit testing

File Changes:

Directory: /sip-communicator-1-0-draft/test/net/java/sip/communicator/slick/contactlist/mockprovider/
=====================================================================================================

File [changed]: MockProvider.java
Url: https://sip-communicator-1-0-draft.dev.java.net/source/browse/sip-communicator-1-0-draft/test/net/java/sip/communicator/slick/contactlist/mockprovider/MockProvider.java?r1=1.1&r2=1.2
Delta lines:  +6 -25
--------------------
--- MockProvider.java	16 Feb 2006 13:55:22 -0000	1.1
+++ MockProvider.java	20 Feb 2006 15:44:35 -0000	1.2
@@ -25,14 +25,9 @@
     }
 
     /**
-     * Registers the specified listener with this provider so that it would
-     * receive notifications on changes of its state or other properties such
-     * as its local address and display name.
+     * Mock implementation of the corresponding ProtocolProviderService method.
      *
-     * @param listener the listener to register.
-     * @todo Implement this
-     *   net.java.sip.communicator.service.protocol.ProtocolProviderService
-     *   method
+     * @param listener a param.
      */
     public void addRegistrationStateChangeListener(
         RegistrationStateChangeListener listener)
@@ -40,16 +35,9 @@
     }
 
     /**
-     * Returns the short name of the protocol that the implementation of this
-     * provider is based upon (like SIP, Jabber, ICQ/AIM, or others for
-     * example).
+     * Mock implementation of the corresponding ProtocolProviderService method.
      *
-     * @return a String containing the short name of the protocol this
-     *   service is implementing (most often that would be a name in
-     *   ProtocolNames).
-     * @todo Implement this
-     *   net.java.sip.communicator.service.protocol.ProtocolProviderService
-     *   method
+     * @return an empty.
      */
     public String getProtocolName()
     {
@@ -57,13 +45,9 @@
     }
 
     /**
-     * Returns the state of the registration of this protocol provider with
-     * the corresponding registration service.
+     * Mock implementation of the corresponding ProtocolProviderService method.
      *
-     * @return ProviderRegistrationState
-     * @todo Implement this
-     *   net.java.sip.communicator.service.protocol.ProtocolProviderService
-     *   method
+     * @return a null ProviderRegistrationState
      */
     public RegistrationState getRegistrationState()
     {
@@ -77,9 +61,6 @@
      * @return a java.util.Map containing instance of all supported
      *   operation sets mapped against their class names (e.g.
      *   OperationSetPresence.class.getName()) .
-     * @todo Implement this
-     *   net.java.sip.communicator.service.protocol.ProtocolProviderService
-     *   method
      */
     public Map getSupportedOperationSets()
     {




---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe at sip-communicator-1-0-draft.dev.java.net
For additional commands, e-mail: cvs-help at sip-communicator-1-0-draft.dev.java.net





More information about the commits mailing list