From da5a12c70fb7a9360dfadddc1628d80304e6e101 Mon Sep 17 00:00:00 2001 From: Emil Ivov Date: Mon, 21 Aug 2006 12:43:53 +0000 Subject: [PATCH] Working on SIP Support Removed unnecessary code --- .../TestProtocolProviderServiceSipImpl.java | 22 ------------------- 1 file changed, 22 deletions(-) diff --git a/test/net/java/sip/communicator/slick/protocol/sip/TestProtocolProviderServiceSipImpl.java b/test/net/java/sip/communicator/slick/protocol/sip/TestProtocolProviderServiceSipImpl.java index bcb795dcf..e8769027c 100644 --- a/test/net/java/sip/communicator/slick/protocol/sip/TestProtocolProviderServiceSipImpl.java +++ b/test/net/java/sip/communicator/slick/protocol/sip/TestProtocolProviderServiceSipImpl.java @@ -122,28 +122,6 @@ public void testRegister() logger.debug("We got thrown out while waiting for registration", t); } - // Here is registered the listener which will receive the first message - // This message is supposed to be offline message and as one is tested - // in TestOperationSetBasicInstantMessaging.testReceiveOfflineMessages() - Map supportedOperationSets = - fixture.provider1.getSupportedOperationSets(); - - //give time for the AIM server to notify everyone of our arrival - //simply waitinf is really not a reliable way of doing things but I - //can't think of anything better - Object lock = new Object(); - synchronized(lock) - { - try - { - logger.debug("Giving the aim server time to notify for " - +"our arrival!"); - lock.wait(5000); - } - catch (Exception ex) - {} - } - //make sure that the registration process trigerred the corresponding //events. assertTrue(