diff --git a/test/net/java/sip/communicator/slick/protocol/icq/IcqProtocolProviderSlick.java b/test/net/java/sip/communicator/slick/protocol/icq/IcqProtocolProviderSlick.java index 6a6f02b5f..3ee5f5c5b 100644 --- a/test/net/java/sip/communicator/slick/protocol/icq/IcqProtocolProviderSlick.java +++ b/test/net/java/sip/communicator/slick/protocol/icq/IcqProtocolProviderSlick.java @@ -84,14 +84,14 @@ public void start(BundleContext bundleContext) throws Exception //As Tested account is not registered here we send him a message. //Message will be delivered offline //receive test is in TestOperationSetBasicInstantMessaging.testReceiveOfflineMessages() - String offlineMsgBody = "This is a Test Message. Supposed to be delivered as offline message!"; - IcqSlickFixture.offlineMsgCollector = - new IcqSlickFixture.OfflineMsgCollector(); - IcqSlickFixture.offlineMsgCollector.setMessageText(offlineMsgBody); - IcqSlickFixture.testerAgent.sendOfflineMessage( - System.getProperty(TESTED_IMPL_ACCOUNT_ID_PROP_NAME, null), - offlineMsgBody - ); +// String offlineMsgBody = "This is a Test Message. Supposed to be delivered as offline message!"; +// IcqSlickFixture.offlineMsgCollector = +// new IcqSlickFixture.OfflineMsgCollector(); +// IcqSlickFixture.offlineMsgCollector.setMessageText(offlineMsgBody); +// IcqSlickFixture.testerAgent.sendOfflineMessage( +// System.getProperty(TESTED_IMPL_ACCOUNT_ID_PROP_NAME, null), +// offlineMsgBody +// ); //First test account installation so that the service that has been //installed by it gets tested by the rest of the tests. diff --git a/test/net/java/sip/communicator/slick/protocol/icq/TestOperationSetBasicInstantMessaging.java b/test/net/java/sip/communicator/slick/protocol/icq/TestOperationSetBasicInstantMessaging.java index 2828de8d7..d9aae8881 100644 --- a/test/net/java/sip/communicator/slick/protocol/icq/TestOperationSetBasicInstantMessaging.java +++ b/test/net/java/sip/communicator/slick/protocol/icq/TestOperationSetBasicInstantMessaging.java @@ -478,7 +478,7 @@ public void testSendFunMessages() /** * Tests whether there is a offline message received * and whether is the one we have send - */ + public void testReceiveOfflineMessages() { String messageText = @@ -489,5 +489,5 @@ public void testReceiveOfflineMessages() assertNotNull("No Offline messages have been received", receiveMessage); assertEquals("message body", messageText, receiveMessage.getContent()); } - +*/ }