From d3ce7a5728102257e9f353b48cb2e37e671c2e2d Mon Sep 17 00:00:00 2001 From: Damian Minkov Date: Mon, 29 May 2006 14:33:49 +0000 Subject: [PATCH] Added sending offline message through tester agent --- .../protocol/icq/IcqProtocolProviderSlick.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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 3ee5f5c5b..6a6f02b5f 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.